[Pacemaker] corosync-quorumtool configuration

Steven Dake sdake at redhat.com
Tue Jun 21 15:13:21 UTC 2011


On 06/20/2011 07:35 PM, Andrew Beekhof wrote:
> I don't think this is legal:
> 
> service {____
> 
>         name: corosync_quorum____
> 
>         ver: 0____
> 
>         name: pacemaker____
> 
>         use_mgmtd: yes____
> 
>         use_logd: yes____
> 
> }
> 
> 
> and even if it were, corosync's native quorum implementation (or our use
> of it) was a but buggy last time i checked. 
> 

Probably a little of both.  I suggest holding off on deploying quorum
integration until our upstreams have worked out a well integrated solution.

Regards
-steve
> 
> 
> On Sat, May 28, 2011 at 2:19 AM, Roman Schartlmüller
> <roman_schartlmueller at gmx.at <mailto:roman_schartlmueller at gmx.at>> wrote:
> 
>     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"____
> 
>     __ __
> 
>     __ __
> 
>     __ __
> 
> 
>     _______________________________________________
>     Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>     <mailto:Pacemaker at oss.clusterlabs.org>
>     http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
>     Project Home: http://www.clusterlabs.org
>     Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>     Bugs:
>     http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> 
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker





More information about the Pacemaker mailing list