[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] proper shutdown of domUs




On May 21, 2006, at 12:18 PM, Anand Gupta wrote:

You don't need to do that. As Wilmer already mentioned, xendomains freezes the domU state and saves it in a file. When the dom0 boots back up, xendomains will restore the state in which the domU was when dom0 was shutting down. In other words it does the job for you already.

If you still want to shutdown the domains and NOT save their states you could disable xendomains and place a script which just issue a shutdown to each xen domain running.

wouldn't you just edit /etc/sysconfig/xendomains [ that's the centOS location, not sure where it ends up on debian. ]

## Type: string
## Default: /var/lib/xen/save
#
# Directory to save running domains to when the system (dom0) is
# shut down. Will also be used to restore domains from if # XENDOMAINS_RESTORE
# is set (see below). Leave empty to disable domain saving on shutdown
# (e.g. because you rather shut domains down).
# If domain saving does succeed, SHUTDOWN will not be executed.
#
XENDOMAINS_SAVE=/var/lib/xen/save

--fess


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.