[Pacemaker] Centos 6.2 and cman + corosync (pacemaker cluster) for GFS2

Maurits van de Lande M.vandeLande at VDL-Fittings.com
Thu Jun 28 09:23:15 UTC 2012


Hello Andrew,

>>
>> At step 8.2.4 the cluster is brought online.
>>
>> The cman_tool status and nodes commands are working fine.
>>
>> But crm_mon cannot connect to the cluster.
>
>Are the pacemaker processes running?
>Did you run 'service pacemaker start' ?

Ahh, I missed that part... Yes after starting pacemaker I can connect to the CRM!

I'll configure cman to start pacemaker on each cluster node and then pacemaker can manage the cluster.

Thanks!

Maurits

-----Oorspronkelijk bericht-----
Van: Andrew Beekhof [mailto:andrew at beekhof.net] 
Verzonden: donderdag 28 juni 2012 4:55
Aan: The Pacemaker cluster resource manager
Onderwerp: Re: [Pacemaker] Centos 6.2 and cman + corosync (pacemaker cluster) for GFS2

On Tue, Jun 26, 2012 at 10:24 PM, Maurits van de Lande <M.vandeLande at vdl-fittings.com> wrote:
> Hello,
>
>
>
> I have been testing a classic pacemaker+corosync cluster for 
> virtualization but it was lacking a cluster filesystem to host the 
> virtual  machine config files. (I was using the guidelines I found at 
> Linbit to setup a virtualization cluster).
>
>
>
> Therefore I would  like to add a GFS2 filesystem hosted on an iSCSI lun.
>
> I also found "Adding CMAN support" at the clusterlabs website 
> http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_
> Scratch/_adding_cman_support.html
>
> But that example does not work on Centos 6.2 (at least in my case)
>
>
>
> At step 8.2 the package gfs2-cluster is specified but there is no 
> gfs2-cluster package for Centos 6.2 (it might not be needed?)

Possible.  The package layout may have deviated from fedora.
Or it could be in a Centos repository that you haven't enabled yet.

>
> At step 8.2.4 the cluster is brought online.
>
> The cman_tool status and nodes commands are working fine.
>
> But crm_mon cannot connect to the cluster.

Are the pacemaker processes running?
Did you run 'service pacemaker start' ?

>
>
>
> How can I use cman as the control Daemon in a pacemaker cluster? I 
> would be nice If I can use the CRM shell to configure the cluster.
>
>
>
> Best regards,
>
>
>
> Maurits van de Lande
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org 
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org Getting started: 
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>

_______________________________________________
Pacemaker mailing list: Pacemaker at oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org






More information about the Pacemaker mailing list