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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pacemaker mailing list
[email protected]
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to