<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.8.5">
</HEAD>
<BODY>
I have a need to use the &quot;adjust_master_score&quot; 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=&quot;0 10 1000 10000&quot;', 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=&quot;5 10 1000 10000&quot; to OCF_RESKEY_adjust_master_score_default=&quot;0 10 1000 10000&quot;, 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?<BR>
<BR>
OS: CentOS 6.6 x86_64<BR>
DRBD: 8.4.5 (from elrepo.org)<BR>
Pacemaker: 1.1.12<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Cheers,<BR>
<BR>
Joel Burleson-Davis<BR>
tel: 512-637-8700<BR>
mob: 503-707-2065<BR>
<A HREF="http://www.securelink.com/people/joel">www.securelink.com/people/joel</A><BR>
<BR>
<IMG SRC="https://ci3.googleusercontent.com/proxy/E9Zg7aEqpSaZ-KpKJe-9Q3WGmH3Y7AoDoQ0mEaHp6Ri9EKTiK5e8k7WGHOqaQaITPc9uJ-6iH7H9CGpraHJglpxBcr9YlEo7d8M1UTLo6Kc5sANF=s0-d-e1-ft#http://www.securelink.com/skins/_master/images/header-logo.png" ALIGN="bottom" BORDER="0"><BR>
<B>secure networks for remote support</B>&nbsp; <BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>