Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Wed, Jan 28, 2015 at 03:27:29PM -0600, Joel N. Burleson-Davis wrote: > 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? You likely simply had a typo in your cib. Did you check the cib, or the logs? Did you check what environment is actually passed to the agent? -- : Lars Ellenberg : http://www.LINBIT.com | Your Way to High Availability : DRBD, Linux-HA and Pacemaker support and consulting