<div dir="ltr">Even after giving FQDN in my /etc/hosts and /etc/sysconf/network also updated in cluster.conf, propogated to other node as well, but still its showing only one node. And muticast also enabled in my switch. <div>

<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 16, 2013 at 11:52 PM, Gopalakrishnan N <span dir="ltr">&lt;<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">My /etc/hosts is like this,<div><div>cat /etc/hosts</div><div>127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4</div>

<div>::1         localhost localhost.localdomain localhost6 localhost6.localdomain6</div>
<div>10.30.2.98  <a href="http://test01.iopextech.com" target="_blank">test01.iopextech.com</a> test01</div><div>10.30.2.99  <a href="http://test02.iopextech.com" target="_blank">test02.iopextech.com</a> test02</div><div>

<br></div></div><div><br></div><div>
and in my cluster.conf i have given the short name. So what you are saying better to use FQDN...!</div><div><br></div><div>I will try to give FQDN in all my configuration files. </div><div><br></div><div>And will try. Let&#39;s see. </div>


<div><br></div><div>Thanks for your comments. </div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 16, 2013 at 11:41 PM, Florian Crouzat <span dir="ltr">&lt;<a href="mailto:gentoo@floriancrouzat.net" target="_blank">gentoo@floriancrouzat.net</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 16/09/2013 17:30, Gopalakrishnan N a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Hey Guys,<br>
<br>
The OS am running is CentOS 6.4 (64bit) and I have disabled IPtables and<br>
SeLinux.<br>
<br>
My goal is to make Apache Tomcat as HA. As a first step thought of<br>
testing with Apache.<br>
<br>
My network setup is like this,<br>
Node1 is connected to switch<br>
Note2 is connected to switch.<br>
<br>
My cluster.conf file is as follows,<br>
[root@test01 ~]# cat /etc/cluster/cluster.conf<br>
&lt;?xml version=&quot;1.0&quot;?&gt;<br>
&lt;cluster config_version=&quot;1&quot; name=&quot;mycluster1&quot;&gt;<br>
   &lt;logging debug=&quot;off&quot;/&gt;<br>
   &lt;clusternodes&gt;<br>
     &lt;clusternode name=&quot;test01&quot; nodeid=&quot;1&quot;&gt;<br>
       &lt;fence&gt;<br>
         &lt;method name=&quot;pcmk-redirect&quot;&gt;<br>
           &lt;device name=&quot;pcmk&quot; port=&quot;test01&quot;/&gt;<br>
         &lt;/method&gt;<br>
       &lt;/fence&gt;<br>
     &lt;/clusternode&gt;<br>
     &lt;clusternode name=&quot;test02&quot; nodeid=&quot;2&quot;&gt;<br>
       &lt;fence&gt;<br>
         &lt;method name=&quot;pcmk-redirect&quot;&gt;<br>
           &lt;device name=&quot;pcmk&quot; port=&quot;test02&quot;/&gt;<br>
         &lt;/method&gt;<br>
       &lt;/fence&gt;<br>
     &lt;/clusternode&gt;<br>
   &lt;/clusternodes&gt;<br>
   &lt;fencedevices&gt;<br>
     &lt;fencedevice name=&quot;pcmk&quot; agent=&quot;fence_pcmk&quot;/&gt;<br>
   &lt;/fencedevices&gt;<br>
&lt;/cluster&gt;<br>
<br>
<br>
And @some point of time am able to see both nodes are registered,<br>
[root@test01 ~]# cman_tool nodes<br>
Node  Sts   Inc   Joined               Name<br>
    1   M    104   2013-09-17 02:01:11  test01<br>
    2   M    108   2013-09-17 02:15:07  test02<br>
<br>
And @sometimes with crm_mon -1, I get the following<br>
<br>
[root@test01 ~]# crm_mon -1<br>
Last updated: Tue Sep 17 02:47:27 2013<br>
Last change: Tue Sep 17 00:42:43 2013 via crmd on test01<br>
Stack: cman<br>
Current DC: NONE<br>
4 Nodes configured, 2 expected votes<br>
0 Resources configured.<br>
<br>
<br>
Node test01: UNCLEAN (offline)<br></div></div>
Node <a href="http://test01.iopextech.com" target="_blank">test01.iopextech.com</a> &lt;<a href="http://test01.iopextech.com" target="_blank">http://test01.iopextech.com</a>&gt;: UNCLEAN (offline)<br>
Node test02: UNCLEAN (offline)<br>
Node <a href="http://test02.iopextech.com" target="_blank">test02.iopextech.com</a> &lt;<a href="http://test02.iopextech.com" target="_blank">http://test02.iopextech.com</a>&gt;: UNCLEAN (offline)<br>
<br>
Thanks.<br>
<br>
</blockquote>
<br>
Ok, if you are still unhappy with CMAN check your switch for multicast.<br>
<br>