[Linux-HA] about the resource stickiness

Andrew Beekhof beekhof at gmail.com
Thu Oct 5 07:11:35 MDT 2006


On 10/5/06, Luis Carlos Peinado Bravo
<lcarlos.peinado at juntadeandalucia.es> wrote:
> Hello, I have read the web page
> http://wiki.linux-ha.org/v2/faq/forced_failover and some post about the
> resource stickiness, resource failure stickiness, forced failover... but
> I couldn't find the way to get success.
>
>
>
> As you can see in my cib file I have 2 nodes and 4 resources in a group.
> The resource_stickiness=500, resource_failure_stickiness=-100, the score
> in the rsc_location for node iusslae02=1500 and for iusslae03=1000. When
> I force failover the resources change the node after 60 failures!!! All
> this configuration was made using the GUI in the 2.0.7 and I think that
> maybe it isn't complete at all.
>
>
>
> Could you tell the formula I have to use to get appropriate values for
> the different stickiness and scores? Could you tell me how are they
> combined to get a given numbers of failures? Do I have to define the
> resource stickiness for each resource? I'm very confused about this
> values.

the formula changes when groups are involved - the stickiness is
multiplied by the number of resources in a group.

there was also a bug where the score in rsc_location constraints was
often applied twice.

i'd suggest either grabbing a later version from hg.linux-ha.org or
increasing resource_failure_stickiness until it works the way you
want.


More information about the Linux-HA mailing list