WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

<Prev in Thread] Current Thread [Next in Thread>