[Pacemaker] Impossible rules ?

Adrian Chapela achapela.rexistros at gmail.com
Thu Feb 11 09:32:59 EST 2010


Hello,

I am testing a new configuration and have problems with two things.

First of them is, one clone, one master/slave and one group. The group
could run only in the node which has the master/slave in master role but
the group needs also a clone instance running.

I have the next but it is not enough:

  <rsc_order id="1" first="DRBD-Master" first-action="promote"
score="INFINITY" then="My-Group" then-action="start"/>
  <rsc_colocation id="My-Group-on-DRBD-Master" rsc="My-Group"
score="INFINITY" with-rsc="DRBD-Master" with-rsc-role="Master"/>
  <rsc_colocation id="My-Group-NO-Without-Clone" rsc="My-Group"
score="100" with-rsc="Clone-Instance" />

Maybe I need to put score="INFINITY" in the last rule ? I don't know...

Thank you!




More information about the Pacemaker mailing list