[Pacemaker] Pacemaker in RHEL6.

Alex Forster alex at alexforster.com
Tue Aug 16 13:30:45 UTC 2011


Andrew Beekhof <andrew at ...> writes:

> I've written this up for the wiki:
>    http://clusterlabs.org/wiki/RHEL

For reference, I ran into a similar problem, except that I have the further
constraint that I can't use outside repositories.

As mentioned in this thread, the RHEL 6.x install media does come with
Pacemaker/Corosync - though you'll never receive updates without the 'High
Availability Add-On.'

Since I imagine that there are many other useful packages available on the
install media that aren't available online, I decided to copy all of the
packages from the media onto local storage and create a Yum repository out of
them.

Insert the RHEL 6.x CD and mount it-
> mkdir /cdrom
> mount -t cdfs /dev/cdrom /cdrom

Copy the Packages folder from the CD onto local storage-
> mkdir /install-media
> cp /cdrom/Packages/* /install-media

Compose a Yum repository file in the Yum reposdir-
> vi /etc/yum.repos.d/rhel-install-media.repo
> > [rhel-install-media]
> > name=RHEL Install Media
> > baseurl=file:///install-media
> > enabled=1
> > gpgcheck=0

Use the 'createrepo' tool to create your repository's repodata-
> yum install createrepo
> createrepo /install-media

Unmount your CD and update Yum to confirm that your new repository is active-
> umount /cdrom
> rm -rf /cdrom
> yum clean all && yum update






More information about the Pacemaker mailing list