Apparently, Heartbeat is the name of an old project that, while still around, has been depreciated in favor of OpenAIS. Also, CoroSync means something, as does Pacemaker. See, no one seems to have any clear explanation as to what these all are, and the instructions that tell us to install Pacemaker and use CoroSync in favor of Heartbeat, still install Heartbeat as well in their setup commands.
What's worse, these are external-to-Redhat repos, meaning they're guaranteed to fail because that's just how these things seem to work. And guess what? Fail they do.
This being a 64bit machine (x86_64), we needed to add the external repos:
We can resolve a part of this:
http://pkgs.org/download/centos-5-rhel-5/epel-x86_64/libesmtp-1.0.4-5.el5.x86_64.rpm.html
The remainder of this post WAS how I got this installed but it didn't really work out until I installed the package, above
The work around is to install yum-utils, then download the packages that we need, then install what we can and skip what we cannot install, and then force the install of what we have left and skip its missing dependencies. Really.
I cannot believe that Redhat, which is THE enterprise GNU/Linux distro, doesn't provide the needed tools for clustering, or that the needed tools that are provided by a 3rd party, are broken. For what its worth, Debian 5 Lenny installed just fine from the lenny-backport repos.
=-=-=-=-=
Powered by Blogilo
What's worse, these are external-to-Redhat repos, meaning they're guaranteed to fail because that's just how these things seem to work. And guess what? Fail they do.
This being a 64bit machine (x86_64), we needed to add the external repos:
# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
# wget -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm/epel-5/clusterlabs.repoAnd attempting the install fails:
# yum install -y pacemaker corosync heartbeat
Error: Missing Dependency: libperl.so is needed by package pacemaker-1.0.11-1.2.el5.i386 (clusterlabs)
Error: Missing Dependency: libesmtp.so.5()(64bit) is needed by package pacemaker-1.0.11-1.2.el5.x86_64 (clusterlabs)
Error: Missing Dependency: libesmtp.so.5 is needed by package pacemaker-1.0.11-1.2.el5.i386 (clusterlabs)
We can resolve a part of this:
# yum provides */libperl.so
(bunch of output)
# yum install perlBut the libesmtp isn't so lucky:
# yum provides */libesmtp.so.5
Loaded plugins: rhnplugin, security
No Matches foundEDIT: package found that fulfills this dependency, at
http://pkgs.org/download/centos-5-rhel-5/epel-x86_64/libesmtp-1.0.4-5.el5.x86_64.rpm.html
The remainder of this post WAS how I got this installed but it didn't really work out until I installed the package, above
The work around is to install yum-utils, then download the packages that we need, then install what we can and skip what we cannot install, and then force the install of what we have left and skip its missing dependencies. Really.
# yum install yum-utils
# yum install pacemaker.x86_64 corosync.x86_64 heartbeat.x86_64 --skip-broken
# yumdownloader pacemaker.x86_64 pacemaker-libs.x86_64 lm_sensors.x86_64
# rpm -ihv pacemaker-1.0.11-1.2.el5.x86_64.rpm pacemaker-libs-1.0.11-1.2.el5.x86_64.rpm lm_sensors-2.10.7-9.el5.x86_64.rpm --nodepsI don't yet know what it will require to maintain this system; the High-Availability aspect of this may be provided by other systems more than this RHEL5 system.
I cannot believe that Redhat, which is THE enterprise GNU/Linux distro, doesn't provide the needed tools for clustering, or that the needed tools that are provided by a 3rd party, are broken. For what its worth, Debian 5 Lenny installed just fine from the lenny-backport repos.
=-=-=-=-=
Powered by Blogilo
