[Pacemaker] on fail standby with migration-threshold

Andrew Beekhof andrew at beekhof.net
Mon Feb 22 15:13:28 EST 2010

On Wed, Feb 17, 2010 at 10:16 AM,  <rvm at free.fr> wrote:
>> Yeah, that would be expected.
>> Good idea for an enhancement though... feel like creating a bugzilla
>> entry?
>> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> ok ;-)
>> Just what you have (without the on-fail setting) should be sufficient
>> for that.
> Oups sorry... In fact, I want :
> * After two failures on a resource, move the resource away and _never_ go back even if the new node fails. => ok with migration-threshold="2"
> * if my node crash, move my resource and set  infinite score on this fail node  to never return on this node (without manual intervention).

resource-stickiness = INFINITY is as close as you'll get to this.

More information about the Pacemaker mailing list