<div dir="ltr">If you are using redhat 7, you sould use corosync+pacemaker as cluster stack<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-16 13:13 GMT+02:00 Thanachit Wichianchai <span dir="ltr"><<a href="mailto:thanachit.w@googlemail.com" target="_blank">thanachit.w@googlemail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><font><span style="font-family:arial,helvetica,sans-serif">Hello Pacemaker guys, <br>
<br></span></font></div><font><span style="font-family:arial,helvetica,sans-serif">I am doing a proof of concept of active/passive HA cluster on RHEL 6.5<br>
</span></font>
</div><font><span style="font-family:arial,helvetica,sans-serif">Since
the customer who I am working for will finally get support from Red Hat.
Therefore, I am trying to comply with Red Hat Documentation.<br></span></font></div>
<font><span style="font-family:arial,helvetica,sans-serif">as stated in several places that on RHEL 6.5 - pacemaker is now supported with CMAN stack.<br><br></span></font></div><font><span style="font-family:arial,helvetica,sans-serif">I started configuring things by following steps describe in <a href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Configuring_the_Red_Hat_High_Availability_Add-On_with_Pacemaker/ap-configfile-HAAR.html" target="_blank">https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Configuring_the_Red_Hat_High_Availability_Add-On_with_Pacemaker/ap-configfile-HAAR.html</a> document. This document provides configuration steps by using pcs command. no ccs or crmsh commands at all.<br>
</span></font>
<font><span style="font-family:arial,helvetica,sans-serif"><br></span></font></div><font><span style="font-family:arial,helvetica,sans-serif">After
I have created cluster. I can start cluster services on node1 but
cannot start it on node2 - there error is /etc/cluster/cluster.conf is
not there on node2<br></span></font>
<font><span style="font-family:arial,helvetica,sans-serif"><br> pcs cluster start<br>Starting Cluster...<br>Starting cluster:<br> Checking if cluster has been disabled at boot... [ OK ]<br> Checking Network Manager... </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [ OK ]<br>
Global setup... </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [ OK ]<br>
Loading kernel modules... </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [ OK ]<br> Mounting configfs... </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [ OK ]<br>
Starting cman... xmlconfig cannot find /etc/cluster/cluster.conf<br> </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [FAILED]<br>
Stopping cluster:<br> Leaving fence domain... </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [ OK ]<br> Stopping gfs_controld... </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [ OK ]<br>
Stopping dlm_controld... </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [ OK ]<br>
Stopping fenced... </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [ OK ]<br> Stopping cman... </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [ OK ]<br>
Unloading kernel modules... </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [ OK ]<br> Unmounting configfs... </span></font><font><span style="font-family:arial,helvetica,sans-serif"> [ OK ]<br>
</span></font>
<font><span style="font-family:arial,helvetica,sans-serif"><br>Error: unable to start cman<br><br></span></font></div><font><span style="font-family:arial,helvetica,sans-serif">pcs cluster status command output on node1 shows "cman" stack<br>
<br> pcs cluster status<br>Cluster Status:<br>
Last updated: Mon Jun 16 15:31:53 2014<br> Last change: Mon Jun 16 14:23:04 2014 via crmd on rhcs1.localdomain<br> Stack: cman<br> Current DC: rhcs1.localdomain - partition with quorum<br> Version: 1.1.10-14.el6-368c726<br>
2 Nodes configured<br> 0 Resources configured<br><br>PCSD Status:<br>Error: no nodes found in corosync.conf<br><br><br></span></font></div><font><span style="font-family:arial,helvetica,sans-serif">but from the aforementioned document from Red Hat. the stack is corosync.<br>
<br></span></font><pre><font><span style="font-family:arial,helvetica,sans-serif">[root@z1 ~]# <strong><code>pcs cluster status</code></strong>
Cluster Status:
Last updated: Thu Jul 25 13:01:26 2013
Last change: Thu Jul 25 13:04:45 2013 via crmd on <a href="http://z2.example.com" target="_blank">z2.example.com</a>
Stack: corosync
Current DC: <a href="http://z2.example.com" target="_blank">z2.example.com</a> (2) - partition with quorum
Version: 1.1.10-5.el7-9abe687
2 Nodes configured
0 Resources configured<br><br><br></span></font></pre><pre><font><span style="font-family:arial,helvetica,sans-serif">from the 2 incidents above, I am not sure whether I am on the right path.<br></span></font></pre><pre>
<font><span style="font-family:arial,helvetica,sans-serif">My PoC objectives are to<br>
<br></span></font></pre><pre><font><span style="font-family:arial,helvetica,sans-serif">1. configure Active/Passive HA cluster on RHEL 6.5<br></span></font></pre><pre><font><span style="font-family:arial,helvetica,sans-serif">2. Get Full Support from Red Hat on both OS and High Availability Add-on<br>
</span></font></pre><pre><font><span style="font-family:arial,helvetica,sans-serif">3. choose HA Cluster software and stacks which has a future. I expect to have more than 5 years support from Red Hat and Community.<br><br>
</span></font></pre><font><span style="font-family:arial,helvetica,sans-serif">
</span></font><pre><font><span style="font-family:arial,helvetica,sans-serif">I found this quick start guide for redhat on cluster labs <a href="http://clusterlabs.org/quickstart-redhat.html" target="_blank">http://clusterlabs.org/quickstart-redhat.html</a><br>
</span></font></pre><pre><font><span style="font-family:arial,helvetica,sans-serif">I am not sure whether I should use ccs command to create cluster first and use pcs to manage resource. <br><br></span></font></pre><pre>
<font><span style="font-family:arial,helvetica,sans-serif">on more question, I see corosync will be supported in RHEL7. Can I use only corosync with pacemaker in RHEL 6.5? Will I get support from Red Hat ?<br>
<br>Could you guys please help advise? Thanks a lot.</span></font><span class="HOEnZb"><font color="#888888"><span><font color="#888888"><br></font></span></font></span></pre><span class="HOEnZb"><font color="#888888"><br clear="all">
<br>-- <br><div dir="ltr"><p style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:11px;color:rgb(153,153,153)">
<span style="font-weight:bold">Thanachit Wichianchai</span>
<span>/</span> <span>IT Specialist - RHCSA, RHCE</span><br>
<span><a href="tel:%2B66%2087%20696%205522" value="+66876965522" target="_blank">+66 87 696 5522</a></span><span>/</span> <a href="mailto:thanachit%20[at]%20acm.org" style="color:rgb(221,162,0)" target="_blank">thanachit [at] acm.org</a></p>
<p style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:11px;color:rgb(153,153,153)">
<a href="http://hi.im/thanachit" style="color:rgb(221,162,0)" target="_blank">http://hi.im/thanachit</a></p>
<p> <a href="https://plus.google.com/u/0/102459307371925233265/posts" target="_blank"><img src="http://3sparks.net/signature/images/social/google-plus.png" alt="Google Plus"></a> <a href="http://th.linkedin.com/in/thanachit" target="_blank"><img src="http://3sparks.net/signature/images/social/linkedin.png" alt="Linkedin"></a></p>
</div>
</font></span></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://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div>