On 7/16/07, matilda matilda <[EMAIL PROTECTED]> wrote:
>>>> "Andrew Beekhof" <[EMAIL PROTECTED]> 16.07.2007 08:19 >>> >On 7/16/07, Maxim Veksler <[EMAIL PROTECTED]> wrote: >> to 15 times before it migrates to a second node. I would to have a >> fixed "stickiness" value for each resource - that is I would like each >> of them to a maxim fail count of 5. How should I be configuring my cib >> ? > > > > if the current setup will fail 15 times before moving to the other node and > you want it to fail only 5 times... try multiplying > default_resource_failure_stickiness > by 3 :-) Hi Andrew, I'm sure that this hint will enlighten Maxim and help him to understand why it is how it is. ;-)) Yeah, we know, that it is Monday.
The failover stuff isn't always the easiest to figure out, trial-and-error can be a valid form of exploration too :-) But thankyou for providing Maxim with a more thorough explanation :) Maxim,
I read somewhere in the list that the score of a total group is the score multiplied by the count of the members in that group. (Can't find an information about that in the docu and why it is like that), as far as I can remember. So, in your case you have default_resource_stickiness =500 and default_resource_failure_stickiness=-100. That means: 500*3 =1500, 1500/abs(-100)=15. Hopefully someone can validate this information.
Looks pretty right. I'm not sure if the group variant made it into documentation - perhaps only in email. One day we'll get the group multiplication removed... it really does make things more complex than they need to be. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
