[Pacemaker] error installing CentOS clvm after using clusterlabs repository

Martijn Sprengers mjtsprengers at weltevree.org
Tue Aug 3 04:26:03 EDT 2010


Hi,

The clvm resource agent is upcoming in Fedora 13 as part of an updated
heartbeat/pacemaker package. FC 13 has already moved to
Corosync/OpenAIS/Pacemaker/DRBD and FC 13 should be familiar to you
regarding CentOS.

Regards,
Martijn Sprengers



Disclaimer:
Dit bericht is alleen bestemd voor de geadresseerden. Aan dit bericht kunnen
geen rechten worden ontleend.

-----Oorspronkelijk bericht-----
Van: Brett Delle Grazie [mailto:brett.dellegrazie at intact-is.com] 
Verzonden: dinsdag 3 augustus 2010 9:30
Aan: mike at 3open.org; pacemaker at oss.clusterlabs.org
Onderwerp: Re: [Pacemaker] error installing CentOS clvm after using
clusterlabs repository

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 
______________________________________________________________________

_______________________________________________
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker







More information about the Pacemaker mailing list