<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I am currently using a n nodes configuration with a qdiskd process to sustain a n-1 node failure.<div><br></div><div>The simplest case is a two node :</div><div><br></div><div><div><cluster config_version="79" name="xxx"></div><div>        <totem token="42000"/></div><div>        <clusternodes></div><div>        <cman expected_votes="3" two_node="0"/></div><div><div>                <clusternode name="n1" nodeid="1" votes="1"></div><div>                        <fence></div><div>...</div><div>                        </fence></div><div>                </clusternode></div><div>                <clusternode name="n2" nodeid="2" votes="1"></div><div>                        <fence></div><div>...</div><div>                        </fence></div><div>                </clusternode></div><div><div>        </clusternodes></div><div><div>        <quorumd cman_label="qdisk1" device="/dev/yyy" interval="2" tko="10" votes="1" reboot="0" allow_kill="0" status_file="/qdiskstat"></div><div>        </quorumd></div><div><div>        <rm></div><div>...</div><div>        </rm></div><div><div></cluster></div><div><br></div></div></div></div></div></div></div><div>I am experiencing some times a loss of quorum on the over node when I shutdown gracefully a node using the following :</div><div><!--StartFragment--><p class="MsoNormal"># service rgmanager stop<br># service gfs2 stop<br># service clvmd stop<br># service qdiskd stop<br># service cman stop</p><div><br></div><div>After looking more precisely to the problem, I just discover that the problem is that the node I shutdown is the master qdisk node, so when I shutdown qdiskd and cman on the first node, the second node experience a loss of qdisk vote (because the second node sees that qdisk master is not avail and start the election of the new master) and almost simultaneouly a loss of the first node vote because it has leaved the cluster.</div><div><br></div><div>The effect is that the second node experience a loss of quorum during about 20 seconds, the time to elect himself as qdisk master. The problem is that rgmanager sees the loss of quorum and shutdowns all the virtual machines that are under its control !!!</div><div><br></div><div>If I wait 20 seconds between the "service qdiskd stop" and "service cman stop", I don't get the problem because the second node get the time to elect himself master.</div><div><br></div><div>I was thinking qdiskd is supposed to be a process to maintain the quorum independently of the cman communication. </div><div><br></div><div>Either I make a mistake or misuse of qdiskd, or there is something to change in the handling of qdiskd votes.</div><div><br></div><div>One solution may be for a node that was not qdiskd master, and was issuing votes to cman to maintain this vote until a new master election succeeds instead of removing its vote until the master reelection succeeds ?</div><div><br></div><div>Regards,</div><div><br></div></div><div><div>
<span class="Apple-style-span" style="font-size: 12px; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">--<span class="Apple-converted-space"> </span></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Alain RICHARD <<a href="mailto:alain.richard@equation.fr">mailto:alain.richard@equation.fr</a>></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">EQUATION SA <<a href="http://www.equation.fr/">http://www.equation.fr/</a>></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Tel : +33 477 79 48 00<span class="Apple-converted-space"><span class="Apple-converted-tab"><span class="Apple-converted-space"> </span>   </span><span class="Apple-converted-space"> </span></span>Fax : +33 477 79 48 01</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px">E-Liance, Opérateur des entreprises et collectivités,</p><p style="margin: 0.0px 0.0px 0.0px 0.0px">Liaisons Fibre optique, SDSL et ADSL <<a href="http://www.e-liance.fr">http://www.e-liance.fr</a>></p><br class="Apple-interchange-newline"></span>
</div>
<br></div></body></html>