[Pacemaker] corosync-quorumtool configuration

Roman Schartlmüller roman_schartlmueller at gmx.at
Fri May 27 16:19:42 UTC 2011


Hi, 

 

I have Problems with corosync-quorumtool. I have set up a cluster with 2
nodes which uses corosync. 

For testing purposes, I am trying to establish a quorum to the cluster,
because I want to understand the quorum-corosync tool. 

I want to tag a node with 2 votes so that it can continue on failure and
doesn't stop to run all resources. 

Unfortunately, the node with 2 out of 3 votes loses yet always the quorum. 

 

Can anybody please help me with configuration? Maybe there is something
wrong.

 

Thanks!

Best regards,

Roman

 


Node1:

# less /etc/corosync/corosync.conf

...

service {

        name: corosync_quorum

        ver: 0

        name: pacemaker

        use_mgmtd: yes

        use_logd: yes

}...

quorum {

        provider: corosync_votequorum

        expected_votes: 3

        votes: 2

}

 

#corosync-quorumtool -s

Version:                 1.3.1

Nodes:                  2

Ring ID:                 19936

Quorum type:          corosync_votequorum

Quorate:                Yes

Node votes:            2

Expected votes:       3

Highest expected:    3

Total votes:            3

Quorum:                2  

Flags:                    Quorate

 

#corosync-quorumtool -l

Nodeid     Votes  Name

553756864     2  192.168.200.33

570534080     2  192.168.200.34

 

Node2:

# less /etc/corosync/corosync.conf

...

service {

        name: corosync_quorum

        ver: 0

        name: pacemaker

        use_mgmtd: yes

        use_logd: yes

}...

quorum {

        provider: corosync_votequorum

        expected_votes: 3

        votes: 1

}

 

#corosync-quorumtool -s

Version:                 1.3.1

Nodes:                  2

Ring ID:                 19936

Quorum type:          corosync_votequorum

Quorate:                Yes

Node votes:            1

Expected votes:       3

Highest expected:    3

Total votes:            3

Quorum:                2  

Flags:                    Quorate

 

#corosync-quorumtool -l

Nodeid     Votes  Name

553756864     1  192.168.200.33

570534080     1  192.168.200.34

 

#crm configure show

expected-quorum-votes="2" \

dc-version="1.1.5-1.fc14-01e86afaaa6d4a8c4836f68df80ababd6ca3902f" \

cluster-infrastructure="openais" \

last-lrm-refresh="1306499083" \

stonith-enabled="false" \

no-quorum-policy="ignore"

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110527/184f9e68/attachment-0003.html>


More information about the Pacemaker mailing list