Hello!<div><br></div><div>Does ping resource and stickiness may work together? </div><div><br></div><div>For example I have next resources:</div><div><br></div><div><div>primitive P_INTRANET ocf:pacemaker:ping \</div><div>
<span class="Apple-tab-span" style="white-space:pre"> </span>params host_list="192.168.56.1 192.168.56.100" multiplier="111" name="ping_intranet" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>op monitor interval="5s" timeout="20s"</div>
</div><div><div>clone CL_INTRANET P_INTRANET \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>meta target-role="Started" globally-unique="false"</div></div><div>location L_DRBD_MASTER_01 msDRBD \</div>
<div><div><span class="Apple-tab-span" style="white-space:pre"> </span>rule $id="L_DRBD_MASTER_01-rule" 100: #uname eq first.local</div><div>location L_DRBD_MASTER_02 msDRBD \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>rule $id="L_DRBD_MASTER_02-rule" 10: #uname eq second.local</div>
<div>location L_DRBD_MASTER_PING msDRBD \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>rule $id="L_DRBD_MASTER_03-rule" ping_intranet: defined ping_intranet</div><div><div>rsc_defaults $id="rsc-options" \</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>resource-stickiness="10000"</div></div><div><br></div><div>So when master node doesn't ping ip address -- resource moves to other node. But when ip will up -- resource moves back (cause it location rate: 100+111+111 > 10+111+111) How can I prevent this behavior?</div>
<div>Tnx.</div><br>-- <br>Viacheslav Sov1et Biriukov</div><div>BR<br><br>
</div>