[Pacemaker] Dropping HeartBeat Stack?

Dennis J. dennisml at conversis.de
Thu Mar 4 13:54:42 UTC 2010


On 03/03/2010 08:09 PM, Andrew Beekhof wrote:
> On Wed, Mar 3, 2010 at 4:00 PM, Dennis J.<dennisml at conversis.de>  wrote:
>> On 03/03/2010 09:24 AM, Andrew Beekhof wrote:
>>>
>>> On Wed, Mar 3, 2010 at 1:16 AM, Angie T. Muhammad
>>> <angie.tawfik at gmail.com>    wrote:
>>>>
>>>> Hello list
>>>>
>>>> I have no technical questions at the moment, just a couple of
>>>> distribution-specific and backward compatibility questions..
>>>>
>>>> 1- I just wonder will Pacemaker at any time in the near future (the next
>>>> two
>>>> years) drop HeartBeat as a cluster stack?
>>>
>>> The overhead for supporting it is minimal, and as yet there are no
>>> core features that can't be implemented for Heartbeat as well.
>>> If either of those two things change, then we would have to
>>> re-evaluate how best support Heartbeat in the following release
>>> series.
>>>
>>> There are no plans to change anything for the upcoming 1.1 and 1.2
>>> release series (ie. the next 2-3 years).
>>>
>>>> 2- Andrew, when shall we see Pacemaker in RHEL instead of Redhat Cluster
>>>> Suite?
>>>
>>> Red Hat has a very strict policy about discussing what "may or may not
>>> be part of a current and/or future Red Hat products".
>>> Having said that, I got approval to include the following in an
>>> abstract I submitted for this years Red Hat Summit:
>>>
>>>    "Pacemaker is the scalable High-Availability cluster resource
>>> manager intended to be the successor to rgmanager."
>>>
>>> Although I doubt using it on top of Heartbeat would ever be an option.
>>
>> If corosync/openais is the preferred option nowadays why is heartbeat chosen
>> as default when installing the RPMs from clusterlabs.org?
>
> What do you mean by default?
> Neither cluster stack is installed by default if you just do:
>    yum install pacemaker
>
> you have to explicitly specify either corosync or heartbeat

Pacemaker pulls in hearbeat and corosync as dependency. This is what 
happens on a freshly install centos 5.4 VM:

Preparing the repos:

[root at test ~]# rpm -Uvh 
http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm
Retrieving 
http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm
warning: /var/tmp/rpm-xfer.CcSMEC: Header V3 DSA signature: NOKEY, key ID 
217521f6
Preparing...                ########################################### [100%]
    1:epel-release           ########################################### [100%]
[root at test ~]# wget -O /etc/yum.repos.d/pacemaker.repo 
http://clusterlabs.org/rpm/epel-5/clusterlabs.repo
--2010-03-04 14:34:34--  http://clusterlabs.org/rpm/epel-5/clusterlabs.repo
Resolving clusterlabs.org... 75.127.97.36
Connecting to clusterlabs.org|75.127.97.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 156 [text/plain]
Saving to: `/etc/yum.repos.d/pacemaker.repo'

100%[======================================>] 156         --.-K/s   in 0s

2010-03-04 14:34:34 (5.95 MB/s) - `/etc/yum.repos.d/pacemaker.repo' saved 
[156/156]



Installing Pacemaker:

[root at test ~]# yum install -y pacemaker.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
  * addons: ftp.uni-bayreuth.de
  * base: ftp.halifax.rwth-aachen.de
  * epel: ftp.uni-bayreuth.de
  * extras: ftp.halifax.rwth-aachen.de
  * updates: ftp.halifax.rwth-aachen.de
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package pacemaker.x86_64 0:1.0.7-4.el5 set to be updated
--> Processing Dependency: heartbeat >= 3.0.0 for package: pacemaker
--> Processing Dependency: resource-agents for package: pacemaker
--> Processing Dependency: corosync for package: pacemaker
--> Processing Dependency: cluster-glue for package: pacemaker
--> Processing Dependency: libpengine.so.3()(64bit) for package: pacemaker
--> Processing Dependency: libnetsnmp.so.10()(64bit) for package: pacemaker
--> Processing Dependency: libcrmcluster.so.1()(64bit) for package: pacemaker
--> Processing Dependency: libstonithd.so.0()(64bit) for package: pacemaker
--> Processing Dependency: libcib.so.1()(64bit) for package: pacemaker
--> Processing Dependency: libccmclient.so.1()(64bit) for package: pacemaker
--> Processing Dependency: libesmtp.so.5()(64bit) for package: pacemaker
--> Processing Dependency: libsensors.so.3()(64bit) for package: pacemaker
--> Processing Dependency: libxslt.so.1()(64bit) for package: pacemaker
--> Processing Dependency: libpils.so.2()(64bit) for package: pacemaker
--> Processing Dependency: libnetsnmphelpers.so.10()(64bit) for package: 
pacemaker
--> Processing Dependency: liblrm.so.2()(64bit) for package: pacemaker
--> Processing Dependency: libtransitioner.so.1()(64bit) for package: pacemaker
--> Processing Dependency: libcrmcommon.so.2()(64bit) for package: pacemaker
--> Processing Dependency: libpe_status.so.2()(64bit) for package: pacemaker
--> Processing Dependency: libnetsnmpmibs.so.10()(64bit) for package: pacemaker
--> Processing Dependency: libplumb.so.2()(64bit) for package: pacemaker
--> Processing Dependency: libltdl.so.3()(64bit) for package: pacemaker
--> Processing Dependency: libnetsnmpagent.so.10()(64bit) for package: 
pacemaker
--> Processing Dependency: libstonith.so.1()(64bit) for package: pacemaker
--> Processing Dependency: libcoroipcc.so.4()(64bit) for package: pacemaker
--> Processing Dependency: libpe_rules.so.2()(64bit) for package: pacemaker
--> Processing Dependency: libhbclient.so.1()(64bit) for package: pacemaker
--> Running transaction check
---> Package cluster-glue.x86_64 0:1.0.3-1.el5 set to be updated
--> Processing Dependency: perl-TimeDate for package: cluster-glue
--> Processing Dependency: libOpenIPMIutils.so.0()(64bit) for package: 
cluster-glue
--> Processing Dependency: libOpenIPMIposix.so.0()(64bit) for package: 
cluster-glue
--> Processing Dependency: libOpenIPMI.so.0()(64bit) for package: cluster-glue
--> Processing Dependency: libopenhpi.so.2()(64bit) for package: cluster-glue
---> Package cluster-glue-libs.x86_64 0:1.0.3-1.el5 set to be updated
---> Package corosync.x86_64 0:1.2.0-1.el5 set to be updated
---> Package corosynclib.x86_64 0:1.2.0-1.el5 set to be updated
--> Processing Dependency: librdmacm.so.1(RDMACM_1.0)(64bit) for package: 
corosynclib
--> Processing Dependency: libibverbs.so.1(IBVERBS_1.0)(64bit) for package: 
corosynclib
--> Processing Dependency: libibverbs.so.1(IBVERBS_1.1)(64bit) for package: 
corosynclib
--> Processing Dependency: libibverbs.so.1()(64bit) for package: corosynclib
--> Processing Dependency: librdmacm.so.1()(64bit) for package: corosynclib
---> Package heartbeat.x86_64 0:3.0.2-2.el5 set to be updated
--> Processing Dependency: PyXML for package: heartbeat
---> Package heartbeat-libs.x86_64 0:3.0.2-2.el5 set to be updated
---> Package libesmtp.x86_64 0:1.0.4-5.el5 set to be updated
---> Package libtool-ltdl.x86_64 0:1.5.22-7.el5_4 set to be updated
---> Package libxslt.x86_64 0:1.1.17-2.el5_2.2 set to be updated
---> Package lm_sensors.x86_64 0:2.10.7-4.el5 set to be updated
---> Package net-snmp-libs.x86_64 1:5.3.2.2-7.el5_4.2 set to be updated
---> Package pacemaker-libs.x86_64 0:1.0.7-4.el5 set to be updated
---> Package resource-agents.x86_64 0:1.0.1-1.el5 set to be updated
--> Running transaction check
---> Package OpenIPMI-libs.x86_64 0:2.0.16-5.el5_4.1 set to be updated
---> Package PyXML.x86_64 0:0.8.4-4.el5_4.2 set to be updated
---> Package libibverbs.x86_64 0:1.1.2-4.el5 set to be updated
--> Processing Dependency: openib >= 1.0 for package: libibverbs
---> Package librdmacm.x86_64 0:1.0.8-5.el5 set to be updated
---> Package openhpi-libs.x86_64 0:2.14.0-5.el5 set to be updated
---> Package perl-TimeDate.noarch 1:1.16-5.el5 set to be updated
--> Running transaction check
---> Package openib.noarch 0:1.4.1-3.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
  Package               Arch       Version                 Repository 
  Size
================================================================================
Installing:
  pacemaker             x86_64     1.0.7-4.el5             clusterlabs 
767 k
Installing for dependencies:
  OpenIPMI-libs         x86_64     2.0.16-5.el5_4.1        updates 
569 k
  PyXML                 x86_64     0.8.4-4.el5_4.2         updates 
1.0 M
  cluster-glue          x86_64     1.0.3-1.el5             clusterlabs 
277 k
  cluster-glue-libs     x86_64     1.0.3-1.el5             clusterlabs 
131 k
  corosync              x86_64     1.2.0-1.el5             clusterlabs 
144 k
  corosynclib           x86_64     1.2.0-1.el5             clusterlabs 
168 k
  heartbeat             x86_64     3.0.2-2.el5             clusterlabs 
161 k
  heartbeat-libs        x86_64     3.0.2-2.el5             clusterlabs 
292 k
  libesmtp              x86_64     1.0.4-5.el5             epel 
  60 k
  libibverbs            x86_64     1.1.2-4.el5             base 
  44 k
  librdmacm             x86_64     1.0.8-5.el5             base 
  22 k
  libtool-ltdl          x86_64     1.5.22-7.el5_4          updates 
  38 k
  libxslt               x86_64     1.1.17-2.el5_2.2        base 
488 k
  lm_sensors            x86_64     2.10.7-4.el5            base 
527 k
  net-snmp-libs         x86_64     1:5.3.2.2-7.el5_4.2     updates 
1.3 M
  openhpi-libs          x86_64     2.14.0-5.el5            base 
168 k
  openib                noarch     1.4.1-3.el5             base 
  20 k
  pacemaker-libs        x86_64     1.0.7-4.el5             clusterlabs 
379 k
  perl-TimeDate         noarch     1:1.16-5.el5            base 
  32 k
  resource-agents       x86_64     1.0.1-1.el5             clusterlabs 
179 k

Transaction Summary
================================================================================
Install     21 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total size: 6.7 M
Total download size: 6.5 M
Downloading Packages:
(1/15): cluster-glue-libs-1.0.3-1.el5.x86_64.rpm         | 131 kB     00:00 

(2/15): corosync-1.2.0-1.el5.x86_64.rpm                  | 144 kB     00:00 

(3/15): heartbeat-3.0.2-2.el5.x86_64.rpm                 | 161 kB     00:00 

(4/15): openhpi-libs-2.14.0-5.el5.x86_64.rpm             | 168 kB     00:00 

(5/15): corosynclib-1.2.0-1.el5.x86_64.rpm               | 168 kB     00:00 

(6/15): resource-agents-1.0.1-1.el5.x86_64.rpm           | 179 kB     00:00 

(7/15): cluster-glue-1.0.3-1.el5.x86_64.rpm              | 277 kB     00:01 

(8/15): heartbeat-libs-3.0.2-2.el5.x86_64.rpm            | 292 kB     00:00 

(9/15): pacemaker-libs-1.0.7-4.el5.x86_64.rpm            | 379 kB     00:00 

(10/15): libxslt-1.1.17-2.el5_2.2.x86_64.rpm             | 488 kB     00:00 

(11/15): lm_sensors-2.10.7-4.el5.x86_64.rpm              | 527 kB     00:00 

(12/15): OpenIPMI-libs-2.0.16-5.el5_4.1.x86_64.rpm       | 569 kB     00:00 

(13/15): pacemaker-1.0.7-4.el5.x86_64.rpm                | 767 kB     00:01 

(14/15): PyXML-0.8.4-4.el5_4.2.x86_64.rpm                | 1.0 MB     00:00 

(15/15): net-snmp-libs-5.3.2.2-7.el5_4.2.x86_64.rpm      | 1.3 MB     00:00 

--------------------------------------------------------------------------------
Total                                           579 kB/s | 6.5 MB     00:11 

warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
base/gpgkey                                              | 1.5 kB     00:00 

Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) 
<centos-5-key at centos.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
epel/gpgkey                                              | 1.7 kB     00:00 

Importing GPG key 0x217521F6 "Fedora EPEL <epel at fedoraproject.org>" from 
/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
   Installing     : libtool-ltdl 
  1/21
   Installing     : net-snmp-libs 
  2/21
   Installing     : libxslt 
  3/21
   Installing     : openhpi-libs 
  4/21
   Installing     : libesmtp 
  5/21
   Installing     : lm_sensors 
  6/21
   Installing     : OpenIPMI-libs 
  7/21
   Installing     : PyXML 
  8/21
   Installing     : openib 
  9/21
   Installing     : libibverbs 
10/21
   Installing     : librdmacm 
11/21
   Installing     : perl-TimeDate 
12/21
   Installing     : cluster-glue-libs 
13/21
   Installing     : cluster-glue 
14/21
   Installing     : corosynclib 
15/21
   Installing     : resource-agents 
16/21
   Installing     : corosync 
17/21
   Installing     : heartbeat-libs 
18/21
   Installing     : heartbeat 
19/21
   Installing     : pacemaker-libs 
20/21
   Installing     : pacemaker 
21/21

Installed:
   pacemaker.x86_64 0:1.0.7-4.el5 


Dependency Installed:
   OpenIPMI-libs.x86_64 0:2.0.16-5.el5_4.1 

   PyXML.x86_64 0:0.8.4-4.el5_4.2 

   cluster-glue.x86_64 0:1.0.3-1.el5 

   cluster-glue-libs.x86_64 0:1.0.3-1.el5 

   corosync.x86_64 0:1.2.0-1.el5 

   corosynclib.x86_64 0:1.2.0-1.el5 

   heartbeat.x86_64 0:3.0.2-2.el5 

   heartbeat-libs.x86_64 0:3.0.2-2.el5 

   libesmtp.x86_64 0:1.0.4-5.el5 

   libibverbs.x86_64 0:1.1.2-4.el5 

   librdmacm.x86_64 0:1.0.8-5.el5 

   libtool-ltdl.x86_64 0:1.5.22-7.el5_4 

   libxslt.x86_64 0:1.1.17-2.el5_2.2 

   lm_sensors.x86_64 0:2.10.7-4.el5 

   net-snmp-libs.x86_64 1:5.3.2.2-7.el5_4.2 

   openhpi-libs.x86_64 0:2.14.0-5.el5 

   openib.noarch 0:1.4.1-3.el5 

   pacemaker-libs.x86_64 0:1.0.7-4.el5 

   perl-TimeDate.noarch 1:1.16-5.el5 

   resource-agents.x86_64 0:1.0.1-1.el5 


Complete!



Result:

[root at test ~]# chkconfig --list heartbeat
heartbeat      	0:off	1:off	2:on	3:on	4:on	5:on	6:off

Regards,
   Dennis




More information about the Pacemaker mailing list