[Linux-cluster] Qdisk in initial quorum

Matthew Kent matt at bravenet.com
Fri Jan 16 17:49:50 UTC 2009


On Fri, 2009-01-16 at 15:38 +0800, Jeff Jansen wrote:
> Matthew Kent <matt at bravenet.com> wrote on 2009-Jan-16:
> > Funny - just encountered this exact issue this morning during some
> > testing and have been trying to solve it.
> > 
> > Found a bug report that contains a patch that fixes this
> > https://bugzilla.redhat.com/show_bug.cgi?id=436381 see the last comment.
> > Guessing by the bug status it's coming in RHEL 5.3, but for now the
> > patch applies cleanly to the cman rpm from 5.2.
> > 
> > It does solve the issue, starting qdisk shortly after cman, getting its
> > vote and achieving a quorum, 
> 
> Thanks Matt.  But my problem is that qdiskd can't ever start UNLESS there's
> already a quorum.   ccsd simply won't talk to it until after there's quorum.  So
> the qdisk keeps quorum once both nodes are up if one later dies.  But a single
> node and can never get quorum alone because qdisk can't start and add its vote.

Hmm.. well I am using the RHEL52 branch versus your STABLE2 branch, but
looking at the qdisk git history for both I don't see any massive
differences.

In my logs from a CentOS 5.2 server (with the patch I mentioned applied)
I get on startup with a single node:

ccsd[6551]: Cluster is not quorate.  Refusing connection.
ccsd[6551]: Error while processing connect: Connection refused
qdiskd[6606]: <info> Initial score 1/1
qdiskd[6606]: <info> Initialization complete
openais[6565]: [CMAN ] quorum device registered
qdiskd[6606]: <notice> Score sufficient for master operation (1/1;
required=1); upgrading
qdiskd[6606]: <info> Assuming master role
ccsd[6551]: Cluster is not quorate.  Refusing connection.
ccsd[6551]: Error while processing connect: Connection refused
ccsd[6551]: Cluster is not quorate.  Refusing connection.
ccsd[6551]: Error while processing connect: Connection refused
openais[6565]: [CMAN ] quorum regained, resuming activity

Looking at your original log messages are you certain ccsd is being
started prior to qdiskd?
-- 
Matthew Kent \ SA \ bravenet.com




More information about the Linux-cluster mailing list