<div dir="ltr">While verifying I got this error, crm_verify -L -V<div><div> error: unpack_resources: Resource start-up disabled since no STONITH resources have been defined</div><div> error: unpack_resources: Either configure some or disable STONITH with the stonith-enabled option</div>
<div> error: unpack_resources: NOTE: Clusters with shared data need STONITH to ensure data integrity</div></div><div><br></div><div>Looks like stonith has to be configured. Also to do that I don't have CRM application. </div>
<div><br></div><div>I think I have to install from here "<span style="background-color:rgb(238,238,238);color:rgb(0,0,0);font-family:Consolas;font-size:15px;white-space:pre-wrap">wget -P /etc/yum.repos.d/ <a href="http://download.opensuse.org/repositories/network:/ha-clustering/CentOS_CentOS-6/network:ha-clustering.repo">http://download.opensuse.org/repositories/network:/ha-clustering/CentOS_CentOS-6/network:ha-clustering.repo</a>" and then </span><span style="background-color:rgb(238,238,238);color:rgb(0,0,0);font-family:Consolas;font-size:15px;white-space:pre-wrap">#yum install crmsh.x86_64</span></div>
<div><span style="background-color:rgb(238,238,238);color:rgb(0,0,0);font-family:Consolas;font-size:15px;white-space:pre-wrap"><br></span></div>But it didn't worked for me. I stuck in here with this stonith. <br><div>
<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 5:29 PM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">But now pacemaker not able to connect with cib, connection refused,<div><div class="im"><div>[root@test01 ~]# crm_mon -1</div>
</div><div>Could not establish cib_ro connection: Connection refused (111)</div><div><br></div><div>Connection to cluster failed: Transport endpoint is not connected</div>
</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 5:26 PM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Now am able to see both nodes are registered... <div><br></div><div><div><div>Node Sts Inc Joined Name</div>
</div><div> 1 M 124 2013-09-17 22:05:31 <a href="http://test01.iopextech.com" target="_blank">test01.iopextech.com</a></div>
<div> 2 M 132 2013-09-17 22:31:33 <a href="http://test02.iopextech.com" target="_blank">test02.iopextech.com</a></div></div><div><br></div><div>Is there any timeout option, where i can increase or decrease based on this?</div>
<div>
<br></div><div>Thanks.. </div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 4:53 PM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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><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"><<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@gmail.com</a>></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's see. </div>
<div><br></div><div>Thanks for your comments. </div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 16, 2013 at 11:41 PM, Florian Crouzat <span dir="ltr"><<a href="mailto:gentoo@floriancrouzat.net" target="_blank">gentoo@floriancrouzat.net</a>></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>
<?xml version="1.0"?><br>
<cluster config_version="1" name="mycluster1"><br>
<logging debug="off"/><br>
<clusternodes><br>
<clusternode name="test01" nodeid="1"><br>
<fence><br>
<method name="pcmk-redirect"><br>
<device name="pcmk" port="test01"/><br>
</method><br>
</fence><br>
</clusternode><br>
<clusternode name="test02" nodeid="2"><br>
<fence><br>
<method name="pcmk-redirect"><br>
<device name="pcmk" port="test02"/><br>
</method><br>
</fence><br>
</clusternode><br>
</clusternodes><br>
<fencedevices><br>
<fencedevice name="pcmk" agent="fence_pcmk"/><br>
</fencedevices><br>
</cluster><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> <<a href="http://test01.iopextech.com" target="_blank">http://test01.iopextech.com</a>>: UNCLEAN (offline)<br>
Node test02: UNCLEAN (offline)<br>
Node <a href="http://test02.iopextech.com" target="_blank">test02.iopextech.com</a> <<a href="http://test02.iopextech.com" target="_blank">http://test02.iopextech.com</a>>: UNCLEAN (offline)<br>
<br>
Thanks.<br>
<br>
</blockquote>
<br>
Ok, if you are still unhappy with CMAN check your switch for multicast.<br>
<br>