<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=""><font color="#888888"><br></font></span></pre><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>+66 87 696 5522</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>
</div>