Thank you Dejan. The RPMS appear to be designed to install both heartbeat and openais, so I wasn't able to install pacemaker without heartbeat. I was able to complete the installation by using "rpm -ivh --replacefiles <local copies of RPMS>". Both heartbeat and resource-agents claim ownership of /etc/ha.d/shellfuncs, based on the output of "rpm -qif /etc/ha.d/shellfuncs". Everything appears to be working, but I'll install the source RPMS on a scratch system to confirm that I've got the resource-agents version fo shellfuncs.
I encountered one other RPM-related issue. Ldirectord from server_ha-clustering conflicts with heartbeat-ldirectord from CentOS Extras. Both claim ownership of /usr/sbin/ldirectord. I was able to install ldirectord by installing its dependancies, ipvsadm and perl-MailTools, normally, then installing ldirectord with --nodeps, "rpm -ivh --nodeps http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_5/i386/ldirectord-1.0.2-1.1.i386.rpm" Thanks, John > -----Original Message----- > From: [email protected] [mailto:linux-ha- > [email protected]] On Behalf Of Dejan Muhamedagic > Sent: Friday, January 15, 2010 3:51 AM > To: General Linux-HA mailing list > Subject: Re: [Linux-HA] RPM conflict for /etc/ha.d/shellfuncts in > server_ha-clustering > > Hi, > > On Thu, Jan 14, 2010 at 03:06:07PM -0500, Simpson, John R wrote: > > Greetings All, > > > > I am running into a conflict between heartbeat and resource-agents > when I install Pacemaker and OpenAIS from the server_ha-clustering > repository. The error is "Transaction Check Error: file > /etc/ha.d/shellfuncs conflicts between attempted installs of resource- > agents-1.0.2-1.1.i386 and heartbeat-3.0.0-33.8.i386". > > Hmm, I updated the resource-agents there, but not heartbeat. > Sorry about that. It will be updated. > > > What is the best way to resolve the conflict? Should I just > install the RPMS manually and force /etc/ha.d/shellfuncts to be > overridden? > > The one from resource-agents should survive. > > > The server in question is running a fresh, up to date install of > CentOS 5.4 (32-bit). The server_ha-clustering repository is set to > http://download.opensuse.org/repositories/server:/ha- > clustering/RHEL_5/server:ha-clustering.repo, and I have version-locked yum > for openais 0.80.5. > > > > The only deviation from the install procedures in Andrew Beekhof's > excellent "Cluster from Scratch" document is that I installed OpenAIS > using rpm to ensure that I got the version from server_ha-clustering. > CentOS has an openais package with a higher version number in their > "updates" repository > (http://mirror.stanford.edu/yum/pub/centos/5.4/updates/i386/RPMS/openais- > 0.80.6-8.el5_4.1.i386.rpm) which is installed if openais is installed > using yum. > > If you want to run openais, then you don't need heartbeat. > > Thanks, > > Dejan > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems John Simpson Senior Software Engineer, I. T. Engineering and Operations _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
