Hello Rene, thanks for your answer. Yours is a "general consideration" anyway, right?
In the Pacemaker installation log below "heartbeat" is not mentioned. So the failed dependancies are related to Pacemaker. Even if in the future I'll use corosync I'll face the same errors, or not? Sorry in case I didn't understand your answer.. Stefano. -----Messaggio originale----- Da: Rene Hellmann [mailto:m...@rehe.me] Inviato: martedì 22 maggio 2012 11.45 A: The Pacemaker cluster resource manager Oggetto: Re: [Pacemaker] Pacemaker installation - Failed dependencies Hey, simple and short answer: Pacemaker for CentOS is build without heartbeat support. You have two choices: - build your own pacemaker from source - use corosync instead of heartbeat cheers Rene Am 22.05.2012 um 11:35 schrieb Chiesa Stefano: > Hello all. > I'm new to the list and hope not to bother you with a silly question. > > I have a two CentOS 6.2 installation with NGINX and I'd like to set up a > cluster. > So I'm trying to install Pacemaker (and Heartbeat...). > > I'm following the suggestions contained in this article: > http://www.mail-archive.com/pacemaker@oss.clusterlabs.org/msg03948.html > > When I try to install Pacemaker (yum install -y pacemaker.x86_64) this > is the result: > > ------------------------------------------------------------------------ > --------------------------------------- > [root@s-dr-nginx02 ~]# yum install -y pacemaker.x86_64 > Loaded plugins: fastestmirror, security > Loading mirror speeds from cached hostfile > * base: it.centos.contactlab.it > * epel: mirror.switch.ch > * extras: it.centos.contactlab.it > * updates: it.centos.contactlab.it > Setting up Install Process > Resolving Dependencies > --> Running transaction check > ---> Package pacemaker.x86_64 0:1.1.6-3.el6 will be installed > --> Processing Dependency: pacemaker-cli = 1.1.6-3.el6 for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: pacemaker-libs = 1.1.6-3.el6 for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: pacemaker-cluster-libs = 1.1.6-3.el6 for > package: pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: resource-agents for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: corosync for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libcpg.so.4(COROSYNC_CPG_1.0)(64bit) for > package: pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit) > for package: pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libcfg.so.4(COROSYNC_CFG_0.82)(64bit) for > package: pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: cluster-glue for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libcrmcluster.so.1()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libcib.so.1()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: liblrm.so.2()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libplumb.so.2()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libstonithd.so.1()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libcrmcommon.so.2()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libpe_status.so.3()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libcpg.so.4()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libfenced.so.3()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libquorum.so.4()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libcman.so.3()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libconfdb.so.4()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libcfg.so.4()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libpengine.so.3()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libstonith.so.1()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libcoroipcc.so.4()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libpe_rules.so.2()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libpils.so.2()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Processing Dependency: libtransitioner.so.1()(64bit) for package: > pacemaker-1.1.6-3.el6.x86_64 > --> Running transaction check > ---> Package cluster-glue.x86_64 0:1.0.6-1.6.el5 will be installed > --> Processing Dependency: perl-TimeDate for package: > cluster-glue-1.0.6-1.6.el5.x86_64 > --> Processing Dependency: libnetsnmp.so.10()(64bit) for package: > cluster-glue-1.0.6-1.6.el5.x86_64 > --> Processing Dependency: libopenhpi.so.2()(64bit) for package: > cluster-glue-1.0.6-1.6.el5.x86_64 > --> Processing Dependency: libOpenIPMIposix.so.0()(64bit) for package: > cluster-glue-1.0.6-1.6.el5.x86_64 > --> Processing Dependency: libltdl.so.3()(64bit) for package: > cluster-glue-1.0.6-1.6.el5.x86_64 > --> Processing Dependency: libOpenIPMI.so.0()(64bit) for package: > cluster-glue-1.0.6-1.6.el5.x86_64 > --> Processing Dependency: libcrypto.so.6()(64bit) for package: > cluster-glue-1.0.6-1.6.el5.x86_64 > --> Processing Dependency: libOpenIPMIutils.so.0()(64bit) for package: > cluster-glue-1.0.6-1.6.el5.x86_64 > ---> Package cluster-glue-libs.x86_64 0:1.0.6-1.6.el5 will be installed > --> Processing Dependency: libltdl.so.3()(64bit) for package: > cluster-glue-libs-1.0.6-1.6.el5.x86_64 > ---> Package clusterlib.x86_64 0:3.0.12.1-23.el6_2.1 will be installed > ---> Package corosync.x86_64 0:1.4.1-4.el6_2.2 will be installed > ---> Package corosynclib.x86_64 0:1.4.1-4.el6_2.2 will be installed > --> Processing Dependency: librdmacm.so.1(RDMACM_1.0)(64bit) for > package: corosynclib-1.4.1-4.el6_2.2.x86_64 > --> Processing Dependency: libibverbs.so.1(IBVERBS_1.1)(64bit) for > package: corosynclib-1.4.1-4.el6_2.2.x86_64 > --> Processing Dependency: libibverbs.so.1(IBVERBS_1.0)(64bit) for > package: corosynclib-1.4.1-4.el6_2.2.x86_64 > --> Processing Dependency: librdmacm.so.1()(64bit) for package: > corosynclib-1.4.1-4.el6_2.2.x86_64 > --> Processing Dependency: libibverbs.so.1()(64bit) for package: > corosynclib-1.4.1-4.el6_2.2.x86_64 > ---> Package pacemaker-cli.x86_64 0:1.1.6-3.el6 will be installed > ---> Package pacemaker-cluster-libs.x86_64 0:1.1.6-3.el6 will be > installed > ---> Package pacemaker-libs.x86_64 0:1.1.6-3.el6 will be installed > ---> Package resource-agents.x86_64 0:3.9.2-7.el6 will be installed > --> Running transaction check > ---> Package OpenIPMI-libs.x86_64 0:2.0.16-12.el6 will be installed > ---> Package cluster-glue.x86_64 0:1.0.6-1.6.el5 will be installed > --> Processing Dependency: libnetsnmp.so.10()(64bit) for package: > cluster-glue-1.0.6-1.6.el5.x86_64 > --> Processing Dependency: libltdl.so.3()(64bit) for package: > cluster-glue-1.0.6-1.6.el5.x86_64 > ---> Package cluster-glue-libs.x86_64 0:1.0.6-1.6.el5 will be installed > --> Processing Dependency: libltdl.so.3()(64bit) for package: > cluster-glue-libs-1.0.6-1.6.el5.x86_64 > ---> Package libibverbs.x86_64 0:1.1.5-3.el6 will be installed > ---> Package librdmacm.x86_64 0:1.0.14.1-3.el6 will be installed > ---> Package openhpi-libs.x86_64 0:2.14.1-3.el6 will be installed > ---> Package openssl098e.x86_64 0:0.9.8e-17.el6.centos.2 will be > installed > ---> Package perl-TimeDate.noarch 1:1.16-11.1.el6 will be installed > --> Finished Dependency Resolution > Error: Package: cluster-glue-libs-1.0.6-1.6.el5.x86_64 (clusterlabs) > Requires: libltdl.so.3()(64bit) > Error: Package: cluster-glue-1.0.6-1.6.el5.x86_64 (clusterlabs) > Requires: libltdl.so.3()(64bit) > Error: Package: cluster-glue-1.0.6-1.6.el5.x86_64 (clusterlabs) > Requires: libnetsnmp.so.10()(64bit) > You could try using --skip-broken to work around the problem > You could try running: rpm -Va --nofiles --nodigest > ------------------------------------------------------------------------ > --------------------------------------- > > These are the enabled repositories: > > [root@s-dr-nginx02 ~]# yum repolist > Loaded plugins: fastestmirror, security > Loading mirror speeds from cached hostfile > * base: it.centos.contactlab.it > * epel: mirror.switch.ch > * extras: it.centos.contactlab.it > * updates: it.centos.contactlab.it > repo id repo name > status > base CentOS-6 - Base > 6,294 > clusterlabs High Availability/Clustering > server technologies (epel-5) 422 > epel Extra Packages for Enterprise > Linux 5 - x86_64 7,030 > extras CentOS-6 - Extras > 4 > nginx nginx repo > 21 > updates CentOS-6 - Updates > 911 > repolist: 14,682 > [root@s-dr-nginx02 ~]# > > ------------------------------------------------------------------------ > --------------------------------------- > [root@s-dr-nginx02 ~]# uname -a > Linux s-dr-nginx02 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT > 2011 x86_64 x86_64 x86_64 GNU/Linux > > ------------------------------------------------------------------------ > --------------------------------------- > > > I'm not a Linux expert so it is very likely that I have made mistakes... > Could someone of you help me and take me on the correct path? > > Thanks in advance. > > Stefano. > > > ---------------------------------------- > Stefano Chiesa > Wolters Kluwer Italia > Strada 1, Palazzo F6 > 20090 Milanofiori Assago (Mi) - Italia > Phone +39 0282476279 (20279 Voip) > Fax +39 0282476815 > > > > > _______________________________________________ > Pacemaker mailing list: Pacemaker@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@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@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