Greetings,<br><br><div class="gmail_quote">On Sun, Jan 24, 2010 at 1:48 PM, Muhammad Ammad Shah <span dir="ltr"><<a href="mailto:mammadshah@hotmail.com">mammadshah@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
<br><br>
When i execute "clustat" on single-alive node. it have the following <br>
<br>
 root# clustat<br>
Cluster Status for DB_Clust @ Sun Jan 24 08:28:54 2010<br>
Member Status: Inquorate<br>
<br>
 Member Name                                    ID   Status<br>
 ------ ----                                    ---- ------<br>
 <a href="http://node1.example.com" target="_blank">node1.example.com</a>                       1 Online, Local<br>
 <a href="http://node2.example.com" target="_blank">node2.example.com</a>                       2 Offline<br>
 /dev/disk/by-id/scsi-3600c0ff000d7ba264cac4d4b0    0 Offline<br><br></div></blockquote><div><br></div><div>Some silly questions:</div><div><br></div><div>Q1. is it a two node cluster? if so, have you configured is as such using two_nodes</div>
<div>---- <a href="http://sources.redhat.com/cluster/wiki/FAQ/CMAN">http://sources.redhat.com/cluster/wiki/FAQ/CMAN</a> says</div><div><br></div><div>[quote]</div><div><span class="Apple-style-span" style="font-family: Arial, 'Lucida Grande', sans-serif; font-size: 16px; font-weight: bold; ">How can I define a two-node cluster if a majority is needed to reach quorum?</span></div>
<div><span class="Apple-style-span" style="font-family: Arial, 'Lucida Grande', sans-serif; font-size: 16px; "><span class="anchor" id="line-75"></span><p class="line874">We had to allow two-node clusters, so we made a special exception to the quorum rules. There is a special setting "two_node" in the /etc/cluster.conf file that looks like this:<span class="anchor" id="line-76"></span><span class="anchor" id="line-77"></span></p>
<p class="line867"><span class="anchor" id="line-78"></span><span class="anchor" id="line-79"></span></p><pre style="border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: 1pt; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(174, 189, 204); border-right-color: rgb(174, 189, 204); border-bottom-color: rgb(174, 189, 204); border-left-color: rgb(174, 189, 204); background-color: rgb(243, 245, 247); padding-top: 5pt; padding-right: 5pt; padding-bottom: 5pt; padding-left: 5pt; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; ">
<cman expected_votes="1" two_node="1"/></pre><span class="anchor" id="line-80"></span><p class="line874">This will allow one node to be considered enough to establish a quorum. Note that if you configure a quorum disk/partition, you don't want two_node="1". </p>
<p class="line874"><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">[/quote]</span></font></p></span></div><div>Q2. Are the cluster member nodes able to resolve each others names? (either through DNS or /etc/hosts file)</div>
<div>Q3. have you used cman_tool join command to join the nodes to the cluster?</div><div><br></div><div><br></div><div>Regards,</div><div><br></div><div>Rajagopal</div></div>