I updated from heartbeat-2.1.4 to 3.0.3. There are multiple bugs, must be fixed. First - description. 1) symlink /usr/lib/heartbeat/ResourceManager not points more to /usr/share/heartbeat/ResourceManager. But at least called from /etc/init.d/heartbeat. Call may be changed in script or restored symlink. (also +3 symlinks removed, but I not verify it presence in code: as "/usr/lib/heartbeat/... - BasicSanityCheck, SNMPAgentSanityCheck TestHeartbeatComm) 2) Configs called as /var/ha.d, not /etc/ha.d. 3) Also found this report/patch, but not sure: http://www.mail-archive.com/linux-ha@lists.linux-ha.org/msg14974.html Fast migration over current build (1,2): ln -s /etc/ha.d /var/ha.d ln -s /usr/share/heartbeat/ResourceManager /usr/lib/heartbeat/ResourceManager # possible not required: ln -s /usr/share/heartbeat/BasicSanityCheck /usr/lib/heartbeat/BasicSanityCheck ln -s /usr/share/heartbeat/SNMPAgentSanityCheck /usr/lib/heartbeat/SNMPAgentSani tyCheckln -s /usr/share/heartbeat/TestHeartbeatComm /usr/lib/heartbeat/TestHeartbeatComm Or same in ebuild/install/dosym form. Next I will post 2 patches variant: ebuild-only (1,2) and ebuild+init (1,2,3 without /usr/lib). Reproducible: Always
Created attachment 240289 [details, diff] do symlinks over ebuild
Created attachment 240291 [details, diff] IMHO compatible at least with 2.1.4 I think, primary idea "fix1 vs. fix2" is bad. Better both or only first.
P.S. Also "<sys-cluster/heartbeat-3.0" must be uninstalled before "sys-cluster/resource-agents" (or after sys-cluster/cluster-glue), but current environment don't do it.
Created attachment 240295 [details, diff] compatible with bot bihaviours IMHO there are compatible with both bihaviours (I think, /var/ha.d may be conceptual in 3.0). If you cared about compatibility /etc/init.d/heartbeat with prior to 2.1.4 - you may varify it or clone heartbeat-init into heartbeat-init-3...
Created attachment 240299 [details, diff] better
the symlink /var/ha.d solved in bug http://bugs.gentoo.org/show_bug.cgi?id=337931
Created attachment 247849 [details, diff] heartbeat-3.0.3.ebuild.diff update deps for ipmi
+ 06 Oct 2010; Kacper Kowalik <xarthisius@gentoo.org> + -heartbeat-3.0.3-r1.ebuild, +heartbeat-3.0.3-r2.ebuild, metadata.xml: + Fix init script wrt 330035. Thanks to Denis Kaganovich + <mahatma@bspu.unibel.by>. Correct dependencies, add use flag for ipmi. + Thanks to Francisco Javier <ffelix@inode64.com>. Drop old. + ^^ That (and bug 337931) should address all the issues from comment #1. I've skipped BasicSanityCheck, SNMPAgentSanityCheck, TestHeartbeatComm since they don't seem to be used. @Denis, have you encountered any additional problems while migrating form 2.x ?