Table of Contents
For Heartbeat 2.1 clusters not using the CRM (i.e., clusters
configured with the haresources file, an upgrade to 3.0 involves
converting the current configuration to one that is suitable for
Pacemaker.
![]() | Note |
|---|---|
This upgrade procedure does incur application down time. However, when the upgrade is properly planned, tested, and executed, this down time amounts to minutes, possibly even seconds (depending on configuration). |
You should commence the upgrade procedure on your current standby node, that is, the cluster node currently not running any resources. If your cluster is using an active-active configuration (both nodes running resources), select one and issue the following command to transfer all resources to the peer node:
# hb_standby
Then, and on that node only, stop Heartbeat services:
# /etc/init.d/heartbeat stop
While upgrading, it is important to recall that the monolithic Heartbeat 2.1 tree has been split up into modular parts. Thus you will replace Heartbeat with three individual pieces of software: Cluster Glue, Pacemaker, and Heartbeat 3 which comprises just the cluster messaging layer.
make uninstall. Then, install Cluster
Glue and Heartbeat.
heartbeat package first. Then install
cluster-glue, the version 3 heartbeat package,
resource-agents, and pacemaker.
Do not restart Heartbeat services at this point.
The cluster messaging layer must now be instructed to start Pacemaker on cluster start-up. To do so, add
crm respawn
to your ha.cf configuration file.
![]() | Important |
|---|---|
At this point, you should also check your ha.cf file
against the |
When your ha.cf modifications are complete, copy the file to the peer
node.
Your cluster is now ready to be restarted in Pacemaker-enabled mode. To do so:
/etc/init.d/heartbeat stop on your still-active node. This will
shutdown your cluster resources.
/etc/init.d/heartbeat start on your standby node (the one where
you created your CIB). This will start the local Heartbeat instance
and Pacemaker, and wait for other cluster nodes to check in.
/etc/init.d/heartbeat start on your the other node. This will
start the local Heartbeat instance and Pacemaker, fetch the CIB
automatically, and start applications.