Name ID Mem VCPUs State Time(s)
Domain-0 0 457 2 r----- 2712.9
OES 7 512 1 -b---- 16.3
SLES10 512 1 12.9
The syntax of the
xm
command usually follows the format:
xm <subcommand> [domain-id] [OPTIONS]
where
subcommand
is the xm command to run,
domain-id
is the ID number assigned
to a domain or the name of the virtual machine, and
OPTIONS
indicates subcommand-
specific options.
Other useful
xm
commands include:
•
xm start
starts a virtual machine
•
xm reboot
reboots a virtual machine
•
xm destroy
immediately terminates a virtual machine
•
xm block-list
displays all virtual block devices attached to a virtual machine
• All
xm
operations require that the Xen control daemon, xend, be running. For this
reason, you should make sure xend starts whenever the host boots.
• Most
xm
commands require root privileges to allow interaction with the Xen hyper-
visor. Entering the
xm
command when you are not logged in as root returns an error.
• Some
xm
commands return no information even though the action is completed.
In some instances, for example, when shutting down a virtual machine, the action
can take several seconds to complete. To verify that the action has completed, you
might need to view its status another way, such as, using the
xm list
command.
For a complete list of
xm
command parameters, enter
xm help
at the command line
or read the manual page of
xm
.
32
Virtualization with Xen
Summary of Contents for SUSE Linux Enterprise Server
Page 1: ...SUSE Linux Enterprise Server www novell com 10 SP2 July 15 2008 Virtualization with Xen...
Page 12: ......
Page 32: ......
Page 66: ......