>> If the error occurs on the resource, then resouce-failure-stickiness
>> will come to play and make your scores:
>> Node1: 10 - 10 = 0
>> Node2: 9
>> As 9 > 0,  the resource will be started on Node2, and 22 stickiness will
>> be added. So you have 31 > 0.
> 
> In your comments, you remarked a failover should occur if the following
> condition met.
> 
> Node1_preference + Node1_failcount * failure_stickness
> < Node2_preference + Node2_failcount * failure_stickness
> 
> Is my understanding correct?

Sounds good to me.
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to