12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Managing VMs with the xm Utility 545The command returns to the prompt as soon as the reboot command is sent to the guestOS and VM. Return of the prompt does not mean the reboot has been completed.It is also possible to suspend the guest OS and VM. In the graphical console window, clickPause to suspend, and click it again to resume. Figure B.16 shows the paused state fromthe graphical console.FIGURE B.16Guest OS and VM PausedBFrom the command line, use the following two commands as root to pause and resume:virsh suspend virsh resume Managing VMs with the xm UtilityThe xm command can also be used to manage the VMs instead of virsh, or in addition tovirsh. Because virsh has already been discussed, this section just gives a brief list ofequivalent xm commands. It also includes a few additional commands not yet implementedfor virsh.Refer to the xm man page for a complete listing of command-line options. Table B.1summarizes the most commonly used commands. Replace with the guestdomain name configured during creation of the domain. All xm commands must be run asthe root user.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!