Changed $HA_BIN variable breaks existing Heartbeat setups
Environment
- Red Hat Enterprise Linux Server 6 (with the High Availability and Resilient Storage Add Ons)
- Resource Agent package : resource-agents-3.9.2-21.el6_4.8
- heartbeat-3.0.4-1.el6.x86_64
Issue
- Changed $HA_BIN variable breaks existing Heartbeat Setups
- Use of %{_libexecdir} rather %{_libdir}.
- Bug 1028127
Resolution
- Update hearbeat package to heartbeat-3.0.4-2.el6 or later.
-
See the following links for more information:
Workaround
- Symlink /usr/lib64/heartbeat/heartbeat to /usr/libexec/heartbeat/heartbeat:
# ln -s /usr/lib64/heartbeat/heartbeat /usr/libexec/heartbeat/heartbeat
Root Cause
- The change that was made in the RHEL resource-agents package was to add multilib support in preparation for full Pacemaker support in RHEL6.4.z and RHEL6.5.
- The heartbeat package from the EPEL repository was updated to be compatible with resource-agents-3.9.2-21.el6_4.8 and later as of heartbeat-3.0.4-1.el6
Diagnostic Steps
Bugzilla Link : Bug 1028127
The HA_BIN variable is set in /usr/lib/ocf/resource.d/heartbeat/.ocf-directories.
In previous versions of the package, this was set to the following:
: ${HA_BIN:=/usr/lib64/heartbeat}
In resource-agents-3.9.2-21.el6_4.8, HA_BIN is set to the following:
: ${HA_BIN:=/usr/libexec/heartbeat}
Disclaimer : Heartbeat is an EPEL package and therefore not supported by Red Hat
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments