[DRBD-user] "adjust_master_score" attribute is ignored for pacemaker drbd resource

Joel N. Burleson-Davis joel at securelink.com
Wed Jan 28 22:27:29 CET 2015

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I have a need to use the "adjust_master_score" parameter in a pacemaker
cluster that uses DRBD. Interestingly, if I set the
adjust_master_property on the resource itself i.e 'pcs resource update
drbd adjust_master_score="0 10 1000 10000"', the attribute seems to be
ignored and it doesn;t produce the expected behavior. However, if I
modify the resource agent itself
under /usr/lib/ocf/resource.d/linbit/drbd and change the line
OCF_RESKEY_adjust_master_score_default="5 10 1000 10000" to
OCF_RESKEY_adjust_master_score_default="0 10 1000 10000", it works just
as you'd expect. Is this a known issue with the adjust_master_score
attribute? Anyone have any ideas why it is being ignored?

OS: CentOS 6.6 x86_64
DRBD: 8.4.5 (from elrepo.org)
Pacemaker: 1.1.12

-- 
Cheers,

Joel Burleson-Davis
tel: 512-637-8700
mob: 503-707-2065
www.securelink.com/people/joel


secure networks for remote support  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20150128/0da0f2f5/attachment.htm>


More information about the drbd-user mailing list