[Pacemaker] error installing CentOS clvm after using clusterlabs repository

Brett Delle Grazie brett.dellegrazie at intact-is.com
Tue Aug 3 03:29:40 EDT 2010


Hi Mike,

In RHEL 5.x and CentOS 5.x you must use CMAN and the RedHat Cluster
Suite (RHCS) if you are going to used clustered LVM.

This is because clvmd currently uses the CMAN interface to the cluster.
In later versions, RedHat is moving towards Corosync / OpenAIS /
(Pacemaker | RgManager) solution but this will take a long time.

Christine Caufield (from RedHat) wrote an excellent document describing
the change process here:
http://people.redhat.com/ccaulfie/docs/Whither%20cman.pdf

I guess your options are:
(a) Switch to RHCS based cluster, at least for those nodes with
clustered LVM requirements (and GFS, GFS2 etc)
(b) Switch to RHEL 6.x Beta
(c) Try recompiling RHEL 6.x Beta packages - no guarantees here but it
should be possible, maybe.
(d) Try compiling current source of lvm2-cluster packages from Fedora or
Rawhide as they can use current versions of OpenAIS. The RHEL 5.x
versions of lvm2-cluster are fixed at using CMAN interface, not OpenAIS
(e) Switch to Debian based distro - Lenny is production ready and has
CLVM / Pacemaker / Corosync in backports ;)
(f) Something someone else on the list with more experience comes up
with :)

Good luck, please let us know how you get on.

Best Regards,

Brett


On Tue, 2010-08-03 at 10:29 +0800, Michael Fung wrote:
> Hi all,
> 
> 
> I am using the following repository to install pacemaker and corosync:
> 
>   [clusterlabs]
>   name=High Availability/Clustering server technologies (epel-5)
>   baseurl=http://www.clusterlabs.org/rpm/epel-5
>   ...
> 
> The cluster is working good.
> 
> Later, I want to use clvm, that is the lvm2-cluster package. yum get it
> from the CentOS repository, but the dependencies are broken. It seems
> the openais package from clusterlabs is different from the CentOS.
> 
> I skipped the dependencies and force installed related library files.
> Finally I got clvmd to run but it complains:
> 
>   Starting clvmd: clvmd could not connect to cluster manager
>   Consult syslog for more information
> 
> 
> Any ideas please?
> 
> 
> Rgds,
> Michael
> 
> 
> 

-- 
Best Regards,

Brett Delle Grazie

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________




More information about the Pacemaker mailing list