• Some xm commands return no textual information even though the action is com-
pleted. 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 com-
mand.
5.5 Automatic Starting of Domains
If you need automatic starting of domains at boot time, or after a crash, the Xend must
be configured to execute the desired behavior. There are five different situations that
need to be handled.
After boot of the Hypervisor
Set the Xend variable on_xend_start to the desired value. For more details,
see the section called "on_xend_start" (page 129). Example:
(on_xend_start start)
When shutting down Xend
Xend can tell the VM Guest system to shut down. However, it does not to check
if the guest was stopped when doing a system shutdown of Domain0. Thus, it is
not recommended to rely on this feature. Example:
(on_xend_stop shutdown)
When rebooting the VM Guest
Xend has control about what to do when a VM Guest does a reboot. By default, it
is restart the guest:
(on_reboot restart)
During poweroff of a VM Guest
When a guest is shut off, the Xend by default destroys the guest without shutting
it down.
(on_poweroff destroy)
After a crash of the VM Guest
After a VM Guest crashes, the Xend can restart the guest. This is also the default:
(on_crash restart)
40
Virtualization with Xen
Need help?
Do you have a question about the SUSE LINUX ENTERPRISE DESKTOP 11 SP1 - 8-18-2010 VIRTUALIZATION WITH ZEN and is the answer not in the manual?
Questions and answers