[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Supported/normal way of creating domains at start-up?
On 2005-10-16 20:24, Tom Brown wrote: > that covers startup, but is there anything in xen to send a signal to init > in the domUs to request a shutdown? from /etc/init.d/xendomains: stop() { # NB. this shuts down ALL Xen domains (politely), not just the ones in # AUTODIR/* # This is because it's easier to do ;-) but arguably if this script is run # on system shutdown then it's also the right thing to do. echo -n $"Shutting down all Xen domains:" xm shutdown --all --wait --halt RETVAL=$? [ $RETVAL -eq 0 ] && rm -f $LOCKFILE on_fn_exit } So all domUs are shutdown when you call /etc/init.d/xendomains stop. Sure, you could change it to shutdown only domUs in /etc/xen/auto/. Matus _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |