[Pacemaker] How to build Pacemaker with Cman support?

Богомолов Дмитрий Викторович beatseed at mail.ru
Wed Nov 30 09:27:08 UTC 2011


Hello.
29 ноября 2011, 02:24 от Andrew Beekhof <andrew at beekhof.net>:
> 2011/11/28 Богомолов Дмитрий Викторович <beatseed at mail.ru>:
> > Thanks for your reply!
> >
> >
> > 28 ноября 2011, 03:54 от Andrew Beekhof <andrew at beekhof.net>:
> >> 2011/11/28 Богомолов Дмитрий Викторович <beatseed at mail.ru>:
> >> > Hello.
> >> > Addition. OS - Ubuntu 11.10
> >> > I have  installed libcman-dev, and know in config.log I can see
> >>
> >> I'm pretty sure the builds of pacemaker that come with ubuntu support
> >> cman already.
> > No it's not.
> > I have tried to upgrade from distributives: oneiric-proposed, ppa.launchpad.net/ubuntu-ha,
> > ppa.launchpad.net/ubuntu-ha-maintainers
> > There is no luck.
> > I post about it on ubuntu communiti forum, there is no answer.
> > http://ubuntuforums.org/showthread.php?t=1885340
> > And i found bug report log without answer
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639548
> >
> > That's why i trying now to build pacemaker from sources.
> >
> > I selected ubuntu because of simplicity and oneiric distr because of most recent.
> >
> > I want to get Xen VM on cluster, I have tried active/passive configuration, but it's not exactly what i need. So know i try to get active active configuration.
> >>
> >> >
> >> > configure:16634: checking for cman
> >> >
> >> > configure:16638: result: yes
>
> Ok, but you originally posted:
>
> configure:16634: checking for cman
>
> configure:16638: result: no
>
> So maybe something changed?
Yes. And i wrote about it.
First i tried to build this way:
aptitude build-dep pacemaker
apt-get source pacemaker
./autogen.sh
./configure --enable-fatal-warnings=no --with-cman --with-lcrso-dir=/usr/libexec/lcrso --prefix=/usr
./make
./make install
this way i get in config.log:
configure:16634: checking for cman
configure:16638: result: no

then i install libcman-dev,
./make clean
./autogen.sh
./configure --enable-fatal-warnings=no --with-cman --with-lcrso-dir=/usr/libexec/lcrso --prefix=/usr
./make
./make install
And now i get
configure:16634: checking for cman
configure:16638: result: yes

But, when i succesfully start cman, then start pacemaker, which failed to start, i get:
ERROR: read_config: Corosync configured for CMAN but this build of Pacemaker doesn't support it

>
> >> >
> >> > But, after :
> >> > make && make install
> >> > service pacemaker start
> >> > I still get this log event:
> >> > ERROR: read_config: Corosync configured for CMAN but this build of Pacemaker
> >> > doesn't support it
> >> > Please, help!
> >> >
> >> > Hello.
> >> >
> >> > I try to configure Active/Active cluster Cman+Pacemaker, that described
> >> > there:
> >> > http://www.clusterlabs.org/doc/en-US..._from_Scratch/
> >> > I set Cman, but when I start Pacemaker with this command:
> >> > $sudo service pacemaker start
> >> > I get this log event:
> >> > ERROR: read_config: Corosync configured for CMAN but this build of Pacemaker
> >> > doesn't support it
> >> >
> >> > Now I try to build Pacemaker with Cman.
> >> >
> >> > I follow instructions there http://www.clusterlabs.org/wiki/Install
> >> >
> >> > only difference for configuring Pacemaker:
> >> >
> >> > ./autogen.sh && ./configure --prefix=$PREFIX --with-lcrso-dir=$LCRSODIR
> >> > -with-cman=yes
> >> >
> >> > But after installing pacemaker, I have the same error.
> >> >
> >> > When I look on config.log, I can see this:
> >> >
> >> > configure:16634: checking for cman
> >> >
> >> > configure:16638: result: no
> >> >
> >> > So, help please, how to build pacemaker with cman support?
> >> >
> >> > _______________________________________________
> >> > 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