[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] Shutdown race condition with heartbeat/pacemaker
Hey guys, I run into a problem with my pacemaker managed VM power-off competing with the built-in domU shutdown script (/opt/xensource/libexec/shutdown). It's not a problem for power-on, as that's controlled by an other_config flag: auto_poweron
I'd like to suggest adding a similar auto_poweroff flag to allow controlling shutdown when desired. e.g. to set this on a VM: xe vm-param-set other-config:auto_poweroff=false uuid=$UUID
I did this myself and modified the shutdown script to look for this flag and ignore those VMs. See attached patch, also available here: http://download.locatrix.com/pacemaker/shutdown.patch
cd /opt/xensource/libexec cp shutdown shutdown.orig patch -p1 < shutdown.patch I was wondering if the xenserver/xcp maintainers would consider including this (or what they think about the idea)?
Cheers, Andrew Andrew Eross
CTO Locatrix Communications Attachment:
shutdown.patch _______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |