[Linux-HA] colocation not respected?
rbpereira at critical-links.com
Wed Dec 26 09:00:55 MST 2007
I have a running cluster, with a couple of Xen VM's on top of DRBD.
I have colocation constraints for each Xen VM resource so they only start
where the DRBD fs is mounted. Something like:
<rsc_colocation id="vm1_on_fs0" from="vm1" to="fs0" score="INFINITY"/>
I created another Xen VM, and tried to add it to the cluster. I have all
resources on one xml file and all constraints on another. I then use
cib_admin to update each (i update constraints before resources).
I thought it would respect the colocation constraint, but what i've found is
that this resulted on this new VM trying to start on the second (DRBD
secondary) node, not the one where fs0 is mounted. So it fails startup and
Why would this happen, any hints?
More information about the Linux-HA