[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 3 of 4] make xendomains service save/migrate vms under /etc/xen/auto only
# HG changeset patch # User Zhigang Wang <zhigang.x.wang@xxxxxxxxxx> # Date 1307569509 14400 # Node ID b944852b97898ed11ea10eb9301efadc19ec50ca # Parent 4982815ee816edd44a85c27e885437cfcd227612 make xendomains service save/migrate vms under /etc/xen/auto only Currently, xendomains service will save or migrate all the running domains in the host on stop. Change XENDOMAINS_AUTO_ONLY=true. Then on service stop, it will only save or migrate all VMs under XENDOMAINS_AUTO (/etc/xen/auto), but always shutdown all the running VMs. It's a way to cleanly shutdown all the running VMs on system reboot. If you want to save/migrate a VM, create a link to /etc/xen/auto. Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx> diff -r 4982815ee816 -r b944852b9789 tools/hotplug/Linux/init.d/sysconfig.xendomains --- a/tools/hotplug/Linux/init.d/sysconfig.xendomains Wed Jun 08 17:45:09 2011 -0400 +++ b/tools/hotplug/Linux/init.d/sysconfig.xendomains Wed Jun 08 17:45:09 2011 -0400 @@ -103,7 +103,7 @@ XENDOMAINS_RESTORE=true XENDOMAINS_AUTO=/etc/xen/auto ## Type: boolean -## Default: false +## Default: true # # If this variable is set to "true", only the domains started via config # files in XENDOMAINS_AUTO will be treated according to XENDOMAINS_SYSRQ, @@ -111,7 +111,7 @@ XENDOMAINS_AUTO=/etc/xen/auto # all running domains will be. # Note that the name matching is somewhat fuzzy. # -XENDOMAINS_AUTO_ONLY=false +XENDOMAINS_AUTO_ONLY=true ## Type: integer ## Default: 300 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |