[Linux-HA] Resource stickiness count is incremental ?
Andrew Beekhof
beekhof at gmail.com
Mon Jul 16 10:09:08 MDT 2007
On 7/16/07, matilda matilda <matilda at grandel.de> wrote:
>
> >>>> "Andrew Beekhof" <beekhof at gmail.com> 16.07.2007 08:19 >>>
> >On 7/16/07, Maxim Veksler <hq4ever at gmail.com> 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.
More information about the Linux-HA
mailing list