[Linux-HA] A question about "the combined score"
dk at in-telegence.net
Tue Dec 11 06:26:54 MST 2007
> Score settings for ResourceFoo
> Node1 regular preference : 10
> Node2 regular preference : 9
> default-resource-stickiness : 22
> default-resource-failure-stickiness : -10
Initial start on Node1 because 10 > 9.
Node1 then gets 22 stickiness added. So 32 > 9.
> Under this configuration, ResourceFoo firstly starts on Node1.
> And if an error occurs, it should restart on Node1.
If the error occurs on the resource, then resouce-failure-stickiness
will come to play and make your scores:
Node1: 10 - 10 = 0
As 9 > 0, the resource will be started on Node2, and 22 stickiness will
be added. So you have 31 > 0.
> I took a test to confirm the hypothesis,
> But in fact, ResourceFoo failed over.
Which is intended. I think you misunderstood
resource-failure-stickiness. It is per-node.
ps. I wonder how readable this email will be as my mailclient horribly
screwed up while typing this.
More information about the Linux-HA