[Pacemaker] Location rule troubles

Florian Haas florian.haas at linbit.com
Fri Sep 4 05:18:32 EDT 2009


Johan,

If you monitor the output 'ptest -LsVVVVV 2>&1 | grep -i "master
score"', you'll notice that the RA automatically sets a low master score
for a node that is SyncTarget. It updates the master score in other
clever ways, too.

So if you have two nodes available and one is a (DRBD) SyncTarget, it
will always pick the one that is the (DRBD) SyncSource to become
(Pacemaker) Master.

Check drbd_update_master_score() in the RA for details.

So to achieve what you want to achieve, do:

crm configure delete ms-drbd0-primary-never-on-synctarget

... and you'll be fine.

Cheers,
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090904/3db8030c/attachment-0003.sig>


More information about the Pacemaker mailing list