xm

list [--long --label] [domain-id, ...]

Displays information on all the running domains.

The --longoption displays full information on running domains.

Enter the domain-idas an option to the xm command to get information on only that domain, or a set of domains.

xm list --long mydomain

log

Displays logs similar in format to the equivalent for the Linux kernel. The log file is located at /var/log/xend.log.

xm log

migrate {domain-id} {host} [-l --live] [-r=MB --resource=MB]

Migrates a domain to another computer.

The domain-idparameter is the domain to migrate.

The host parameter is the target computer.

The --liveparameter migrates the domain without shutting down the domain. The --resourceparameter sets the maximum amount of Megabytes to be used. xm migrate mydomain example.com --live

new [config-file] [option ...] [name-=value ...]

Adds a domain to Oracle VM Server domain management.

You can set domain creation parameters with a number of command-line options, a Python script (with the --defconfigparameter), or an SXP configuration file (the --configparameter).

You can set configuration variables with name=value pairs, for example vmid=3 sets vmid to 3.

The config-fileparameter is the location of the domain configuration file.

The option parameter is one or more of the following:

[-h --help]

Displays help on the command.

[--help-config]

Prints the available configuration variables for the configuration script.

[-q --quiet] Quiet. [--path=path]

Searches the location given in path for configuration scripts. The value of path is a colon-separated directory list.

[-f=file --defconfig=file]

Uses the given Python configuration script. The script is loaded after arguments have been processed. Each command-line option sets a configuration variable named after its long option name, and these variables are placed in the environment of the script before it is loaded. Variables for options that may be repeated have list values. Other variables can be set using name=value on the command-line. After the script is

A-8Oracle VM Server User’s Guide

Page 60
Image 60
Oracle Audio Technologies E10898-02 manual List --long --label domain-id, Log, Help, =file --defconfig=file