[Pacemaker] pacemaker with CMAN on RHEL 6.5

Thanachit Wichianchai thanachit.w at googlemail.com
Mon Jun 16 07:13:37 EDT 2014


Hello Pacemaker guys,

I am doing a proof of concept of active/passive HA cluster on RHEL 6.5
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.
as stated in several places that on RHEL 6.5 - pacemaker is now supported
with CMAN stack.

I started configuring things by following steps describe in
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
document. This document provides configuration steps by using pcs command.
no ccs or crmsh commands at all.

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

 pcs cluster start
Starting Cluster...
Starting cluster:
   Checking if cluster has been disabled at boot...        [  OK  ]
   Checking Network Manager...                             [  OK  ]
   Global setup...                                         [  OK  ]
   Loading kernel modules...                               [  OK  ]
   Mounting configfs...                                    [  OK  ]
   Starting cman... xmlconfig cannot find /etc/cluster/cluster.conf
                                                           [FAILED]
Stopping cluster:
   Leaving fence domain...                                 [  OK  ]
   Stopping gfs_controld...                                [  OK  ]
   Stopping dlm_controld...                                [  OK  ]
   Stopping fenced...                                      [  OK  ]
   Stopping cman...                                        [  OK  ]
   Unloading kernel modules...                             [  OK  ]
   Unmounting configfs...                                  [  OK  ]

Error: unable to start cman

pcs cluster status command output on node1 shows "cman" stack

 pcs cluster status
Cluster Status:
 Last updated: Mon Jun 16 15:31:53 2014
 Last change: Mon Jun 16 14:23:04 2014 via crmd on rhcs1.localdomain
 Stack: cman
 Current DC: rhcs1.localdomain - partition with quorum
 Version: 1.1.10-14.el6-368c726
 2 Nodes configured
 0 Resources configured

PCSD Status:
Error: no nodes found in corosync.conf


but from the aforementioned document from Red Hat. the stack is corosync.

[root at z1 ~]# *pcs cluster status*
Cluster Status:
 Last updated: Thu Jul 25 13:01:26 2013
 Last change: Thu Jul 25 13:04:45 2013 via crmd on z2.example.com
 Stack: corosync
 Current DC: z2.example.com (2) - partition with quorum
 Version: 1.1.10-5.el7-9abe687
 2 Nodes configured
 0 Resources configured


from the 2 incidents above, I am not sure whether I am on the right path.

My PoC objectives are to

1. configure Active/Passive HA cluster on RHEL 6.5

2. Get Full Support from Red Hat on both OS and High Availability Add-on

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.

I found this quick start guide for redhat on cluster labs
http://clusterlabs.org/quickstart-redhat.html

I am not sure whether I should use ccs command to create cluster first
and use pcs to manage resource.

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 ?

Could you guys please help advise?  Thanks a lot.



-- 

Thanachit Wichianchai / IT Specialist - RHCSA, RHCE
+66 87 696 5522/ thanachit [at] acm.org

http://hi.im/thanachit

[image: Google Plus]
<https://plus.google.com/u/0/102459307371925233265/posts> [image: Linkedin]
<http://th.linkedin.com/in/thanachit>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140616/3377a881/attachment-0002.html>


More information about the Pacemaker mailing list