[Linux-HA] Resource stickiness count is incremental ?
Andrew Beekhof
beekhof at gmail.com
Mon Jul 16 14:02:49 MDT 2007
On 7/16/07, Serge Dubrouski <sergeyfd at gmail.com> wrote:
>
> On 7/16/07, Andrew Beekhof <beekhof at gmail.com> wrote:
> > On 7/16/07, Maxim Veksler <hq4ever at gmail.com> wrote:
> > >
> > > Hello list,
> > >
> > > I'm configuring a cib, such as the once provided below.
> > > I see that when I make one of the resources fail, the count reaches to
> > > the sum of all resources. In the provided cib a resource can fail up
> > > 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 :-)
>
> Does it work like that for groups? As far as I remember standard
> algorithm for failcount wasn't applicable for groups. Did it get
> fixed?
>
Regardless of what the algorithm is, if the observed is 3x more than what is
desired, then multiplying the failure stickiness by 3 will always give the
desired result.
More information about the Linux-HA
mailing list