[Linux-HA] rsc_location problem
Andrew Beekhof
beekhof at gmail.com
Thu Nov 9 05:18:56 MST 2006
On 11/9/06, Zachár Balázs <zachar at direkt-kfki.hu> wrote:
> Helo @list!
>
> I have a 2 nodes active/passive cluster with one resource group which
> works fine.
>
> I have a question for the rsc_location.
> The problem:
>
> I have a rule about add 100 score to node wich uname = cl-cluster-a.
>
> And I use pingd with one pinghost and 110 multiplier...
>
> So,
> 1. If I start the heartbeat both node, my resource group starts on
> cl-cluster-a. (Scores: A: 210 B: 110) It is OK!
> 2. I unplug the network cable from A node the cluster failovers.
> (Scores: A:100 B:110) It
> is OK!
> 3. I plug back the cable, the cluster migrate back the resource group.
> (Scores: A: 210 B: 110) This is what
> I don't want to!!!!!!!!!!!!!!
>
> If a node have a pingd fail, I don't want to migrate back the resource
> there.
>
> I tried the resource_failure_stickiness with -120 value but it didn't
> help for me. (I think, because CIB is only use this value on a resource
> fail.)
>
>
> Can I do this with scores or I must use stonith?
have you looked at the resource_stickiness? (its the opposite of
resource_failure_stickiness in that its a measure of how much you want
the resource to stay where it is)
More information about the Linux-HA
mailing list