I don't think this is legal:<div><br></div><div><span class="Apple-style-span" style="font-size: medium; border-collapse: collapse; "><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<span lang="EN-GB" style="font-size: 10pt; ">service {<u></u><u></u></span></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span lang="EN-GB" style="font-size: 10pt; "> name: corosync_quorum<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span lang="EN-GB" style="font-size: 10pt; "> ver: 0<u></u><u></u></span></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<span lang="EN-GB" style="font-size: 10pt; "> name: pacemaker<u></u><u></u></span></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span lang="EN-GB" style="font-size: 10pt; "> use_mgmtd: yes<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span lang="EN-GB" style="font-size: 10pt; "> use_logd: yes<u></u><u></u></span></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<span lang="EN-GB" style="font-size: 10pt; ">}</span></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br>
</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px;">and even if it were, corosync's native quorum implementation (or our use of it) was a but buggy last time i checked.</span></font><span class="Apple-style-span" style="font-size: 13px; "> </span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></p>
</span><br><div class="gmail_quote">On Sat, May 28, 2011 at 2:19 AM, Roman Schartlmüller <span dir="ltr"><<a href="mailto:roman_schartlmueller@gmx.at">roman_schartlmueller@gmx.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="DE-AT" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-GB">Hi, <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">I have Problems with corosync-quorumtool. I have set up a cluster with 2 nodes which uses corosync. <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">For testing purposes, I am trying to establish a quorum to the cluster, because I want to understand the quorum-corosync tool. <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">I want to tag a node with 2 votes so that it can continue on failure and doesn't stop to run all resources. <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Unfortunately, the node with 2 out of 3 votes loses yet always the quorum. <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal">
<span lang="EN-GB">Can anybody please help me with configuration? Maybe there is something wrong.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Thanks!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Best regards,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Roman<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><table border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none">
<tbody><tr><td width="318" valign="top" style="width:238.65pt;border:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt"><p class="MsoNormal"><span lang="EN-GB">Node1:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"># less /etc/corosync/corosync.conf<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">...<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">service {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> name: corosync_quorum<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> ver: 0<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> name: pacemaker<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-GB" style="font-size:10.0pt"> use_mgmtd: yes<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> use_logd: yes<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-GB" style="font-size:10.0pt">}...<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">quorum {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> provider: corosync_votequorum<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> expected_votes: 3<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> votes: 2<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">}<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">#corosync-quorumtool -s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Version: 1.3.1<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Nodes: 2<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Ring ID: 19936<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Quorum type: corosync_votequorum<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Quorate: Yes<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Node votes: 2<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Expected votes: 3<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Highest expected: 3<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Total votes: 3<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Quorum: 2 <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Flags: Quorate<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">#corosync-quorumtool -l<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Nodeid Votes Name<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">553756864 2 192.168.200.33<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">570534080 2 192.168.200.34<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p></td><td width="318" valign="top" style="width:238.65pt;border:solid windowtext 1.0pt;border-left:none;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal"><span lang="EN-GB">Node2:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"># less /etc/corosync/corosync.conf<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">service {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> name: corosync_quorum<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-GB" style="font-size:10.0pt"> ver: 0<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> name: pacemaker<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> use_mgmtd: yes<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> use_logd: yes<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">}...<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-GB" style="font-size:10.0pt">quorum {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> provider: corosync_votequorum<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-GB" style="font-size:10.0pt"> expected_votes: 3<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"> votes: 1<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-GB" style="font-size:10.0pt">}<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">#corosync-quorumtool -s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Version: 1.3.1<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Nodes: 2<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Ring ID: 19936<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Quorum type: corosync_votequorum<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Quorate: Yes<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Node votes: 1<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Expected votes: 3<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Highest expected: 3<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Total votes: 3<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Quorum: 2 <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Flags: Quorate<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">#corosync-quorumtool -l<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Nodeid Votes Name<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">553756864 1 192.168.200.33<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">570534080 1 192.168.200.34<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p></td></tr></tbody></table><p class="MsoNormal">
<span lang="EN-GB">#crm configure show<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">expected-quorum-votes="2" \<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">dc-version="1.1.5-1.fc14-01e86afaaa6d4a8c4836f68df80ababd6ca3902f" \<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">cluster-infrastructure="openais" \<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">last-lrm-refresh="1306499083" \<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">stonith-enabled="false" \<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">no-quorum-policy="ignore"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p></div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
<br></blockquote></div><br></div>