.... > > > Now I want that the two DRBD resources are always master on the same node? > How do I create such a constraint the cib/crm file? > > > > <rsc_colocation id="master_on_master" to="ms-drbd3" to_role="master" > from="ms-drbd1" from_role="master" score="infinity"/>
I think it's worth to mention that such a constraint with score="infinity" ... please correct me if I'm wrong .... prevents "ms-drbd1" from running if "ms-drbd3" cannot run anywhere. If this behaviour is not desired a positive but not "infinity" score for the colocation constraint should be used. Regards, Andreas > > Regards > Dominik > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
