[Linux-HA] resource_stickiness and groups - how it is calculated?

Tobias Appel tappel at eso.org
Mon Jan 26 04:10:19 MST 2009


Well I've got a lot of questions today as you can see :)

I have a group of resources which is ordered and colocated (due to drbd
master / slave constraint). I added a monitor operation to nearly all
members of this group with a on_fail restart setting. 
Now I'm wondering do I have to add resource_stickiness for each resource
or just for the group?
And how is it calculated if I add it to the group. Right now I have a
resource_stickiness with a value of 100 and a failure_stickiness with a
value of -30 for the whole group. But if one resource fails I'm not sure
if only this particular resource is restarted or all members of the
group (thus multiplying the failure_stickiness by the amount of members
in the group).

Thanks in advance for any input.

Regards,
Tobi



More information about the Linux-HA mailing list