<div dir="ltr"><div>Hi,</div><div><br></div><div>I need a way to do a manual fail-back on demand.</div><div>To be clear, I don't want it to be ON/OFF; I want it to be more like "one shot".</div><div>So far I found that the most reasonable way to do it - is to set "resource stickiness" to a different value, and then set it back to what it was. </div><div>To do that I created a simple script with two lines:</div><div><div><br></div><div>    crm configure rsc_defaults resource-stickiness=50</div><div>    crm configure rsc_defaults resource-stickiness=150</div></div><div><br></div><div>There are no timeouts before setting the original value back.</div><div>If I call this script, I get what I want - Pacemaker moves resources to their preferred locations, and "resource stickiness" is set back to its original value. </div><div><br></div><div>Despite it works, I still have few concerns about this approach.</div><div>Will I get the same behavior under a big load with delays on systems in cluster (which is truly possible and a normal case in my environment)?<br></div><div>How Pacemaker treats fast change of this parameter?<br></div><div>I am worried that if "resource stickiness" is set back to its original value to fast, then no fail-back will happen. Is it possible, or I shouldn't worry about it?</div><div><br></div><div><div class="gmail-m_-5052508466060218472gmail_signature"><div dir="ltr"><div><div dir="ltr">Thank you,<div>Kostia</div></div></div></div></div></div>
</div>