WHAT'S HOT
Prev | Current Page 56 | Next

Prabhakar Chaganti

"Xen Virtualization: A Practical Handbook"


1. Print a list of the running domains in the current Xen environment.
# xm list
2. Print detailed information about the dom0 in the current Xen environment.
# xm list Domain-0 ??“long
Managing Xen
[ 58 ]
3. Print detailed information about a domain in the current Xen environment.
The listing is quite long and is therefore broken up into the following
two screenshots.
# xm list ??“-long centos-domU
Chapter 4
[ 59 ]
4. Pause a running domU in the current Xen environment.
# xm pause ubuntu_feisty_domU
List the domains to make sure it has paused:
# xm list
5. Unpause the previously paused domU:
# xm unpause ubuntu_feisty_domU
List the domains to make sure the domain has been unpaused.
# xm list
6. Save the state of a running domU in the current Xen environment to the
specified file. The following will save the state to the disk file and remove it
from the list of running domains.
# xm save ubuntu_feisty_domU feisty.save


Managing Xen
[ 60 ]
List the domains to make sure the saved domain is no longer
displayed in the list of running domains:
# xm list
7. Restore a domain from the saved state. This will restore the domain from the
file with the state information and put the domain back in a running state.
# xm restore feisty.save
List the domains to make sure the domain is once again displayed
in the list of running domains:
# xm list
8. Check the Xen kernel buffer messages. The following screenshot shows a
partial listing from my machine.


Pages:
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68