[Linux-HA] rsc_location problem

Zachár Balázs zachar at direkt-kfki.hu
Thu Nov 9 04:56:47 MST 2006


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?


Thanks,
Balázs



More information about the Linux-HA mailing list