[Linux-cluster] Qdisk in initial quorum

Bevan Broun Bevan.Broun at ardec.com.au
Thu Jan 8 22:32:53 UTC 2009


Hi Jeff

I set up a 2 node cluster with qdisk and had the behavior you are expecting. At least I get a running cluster with 2 votes when only 1 node is booted up. So it should work.

I have

<cman expected_votes="3" two_node="0"/>

And
        <quorumd interval="3" label="SOMENAME" min_score="1" tko="10" votes="1">
                <heuristic interval="2" program="ping -c3 -t2 SOMEIPADDR" score="1"/>
        </quorumd>

This is on RH-5.1.

Bevan Broun
Solutions Architect
Ardec International

http://www.ardec.com.au
http://www.lisasoft.com
http://www.terrapages.com
Sydney
-----------------------
Suite 112,The Lower Deck
19-21 Jones Bay Wharf
Pirrama Road, Pyrmont 2009
Ph:  +61 2 8570 5000
Fax: +61 2 8570 5099
-----Original Message-----
From: linux-cluster-bounces at redhat.com [mailto:linux-cluster-bounces at redhat.com] On Behalf Of Jeff Jansen
Sent: Friday, 9 January 2009 12:23 AM
To: linux clustering
Subject: [Linux-cluster] Qdisk in initial quorum

Is it possible to use a qdisk to ATTAIN quorum or does it only SUSTAIN quorum?

I have a STABLE2 version 2 node cluster that is set up with
'expected_votes="3"'.  There are two physical nodes and a qdisk, which at the
moment is simply a ping heuristic.

But on start-up qdiskd can't run unless the cluster already has a quorum.  I see
this in the logs when qdiskd is started:

qdiskd[2624]: <crit> Connection to CCSD failed; cannot start
qdiskd[2624]: <crit> Configuration failed
ccsd[3258]: Cluster is not quorate.  Refusing connection.
ccsd[3258]: Error while processing connect: Connection refused

Once the two nodes join together and form a quorum, then qdiskd (if it's
restarted) will start correctly on both nodes and becomes part of the quorum.
>From then everything happens as expected and one node can maintain quorum as
long as it can "see" the qdisk.

But I'd like the qdisk to be used to ATTAIN quorum at start up if necessary.  If
the whole cluster gets shut down (which actually happened a while ago when our
data center had a "power incident") :-) and only one node boots back up for some
reason, then I'd like it to form a quorum with the qdisk.  But at the moment it
doesn't seem possible since qdiskd refuses to start without a pre-existing quorum.

TIA

Jeff Jansen

--
Linux-cluster mailing list
Linux-cluster at redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster

The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.




More information about the Linux-cluster mailing list