[Linux-HA] colocation not respected?

Rodrigo Pereira rbpereira at critical-links.com
Wed Dec 26 09:00:55 MST 2007


Hi,

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
stays unmanaged.

Why would this happen, any hints?

thank you,
rodrigo

 



More information about the Linux-HA mailing list