[Linux-cluster] EL5.6/RHCS2; rgmanager doesn't migrate VM after too many crashes
Digimer
linux at alteeve.com
Wed Apr 20 15:55:03 UTC 2011
Hi all,
I've got a RHCS2 cluster on el5.6 using rgmanager to manage Xen domUs.
I've got the <vm ... /> service set to restart on failure with a a
maximum restart of 2 and a restart recovery time of 600 seconds.
<vm name="vm0001_lz1" domain="cc48_primary"
path="/xen_shared/definitions/" autostart="0" exclusive="0"
recovery="restart" max_restarts="2" restart_expire_time="600"/>
I test by killing the VM using 'echo c > /proc/sysrq-trigger' multiple
times well within 10 minutes, and the cluster does recover the VM every
time, but always on the node it was previously running in. The failover
domain is:
<failoverdomain name="cc48_primary" nofailback="0" ordered="1"
restricted="1">
<failoverdomainnode name="cc0048.iplink.net" priority="1"/>
<failoverdomainnode name="cc0049.iplink.net" priority="2"/>
</failoverdomain>
Any idea what I am doing wrong?
Thanks!
--
Digimer
E-Mail: digimer at alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin: http://nodeassassin.org
More information about the Linux-cluster
mailing list