[Linux-cluster] Quorum disk votes not used when starting node?
Lon Hohberger
lhh at redhat.com
Mon Oct 15 15:37:32 UTC 2007
On Wed, 2007-10-10 at 20:56 +0200, Jos Vos wrote:
> Hi,
>
> On (RHEL4 U5) 3-node test cluster I have defined a quorum disk with a
> test heuristic as follows:
>
> <cman expected_votes="6"/>
> ....
> <quorumd interval="1" label="/dev/sda1" min_score="1" tko="10" votes="3">
> <heuristic interval="2" program="test -f /tmp/qdisk" score="1"/>
> </quorumd>
>
> The idea is (when replacing the heuristic with one or more "real"
> heuristics) that when the heuristic score is not high enough, the
> node considers itself not sane enough to join the cluster.
>
> Now, this all works fine, cman_tool shows what I expected and when I
> remove the file /tmp/qdisk on a node, that node reboots instantaneously.
>
> However, after the reboot, while the file tested in the heuristic does
> still not exist, the node is joining the cluster again and starts some
> cluster services!
Yup.
Add stop_cman="1" to <quorumd>
-- Lon
More information about the Linux-cluster
mailing list