Instructions for using the LINBIT package repository

RHEL


This is the LINBIT package repository for Red Hat Enterprise Linux. To add LINBIT packages to your configuration, please add a file named linbit.repo to your /etc/yum.repos.d directory, with the following contents:

[linbit.repo]
name=LINBIT repo
baseurl=http://packages.linbit.com/<hash>/yum/<distro>/<component>/<arch>
gpgkey=https://packages.linbit.com/package-signing-pubkey.asc
gpgcheck=1

... where <hash> must be replaced with the 40-character access hash you received by email when your support contract was enabled, and <arch> is either

<distro> must be one of rhel5, rhel6, rhel6.1, rhel6.2, rhel6.3, rhel6.4, rhel6.5, rhel6.6, rhel6.7 or rhel7, rhel7.1, rhel7.2

<component> must be one of drbd-8.3, drbd-8.4 or drbd-proxy-3.1

i686 or x86_64 depending on your system architecture. You will not be able to gain access to the repository if you enter an invalid access hash, or one that is associated with a support contract that has expired.

[Tip]Tip

Your access hash should be visible in your browser's address bar at this time.
If not, try to log in via my.linbit.com or contact Linbit sales or technical support as appropriate.

Next, to avoid conflicts with existing packages in the CentOS extras repository, please add the following line to /etc/yum.repos.d/CentOS-Base.repo, in the section named [extras]:

exclude=drbd* kmod-drbd*

Now, you may install the drbd package, and a kmod-drbd package that matches your running kernel. To do so, issue these commands:

 yum install drbd kmod-drbd
 # on rhel5, replace kmod-drbd with drbd-km-<kernel version>

If you prefer, you may of course also use any other RPM package management front end to install these packages.

Once installed, when new DRBD packages become available, you may update them as any other managed package on your system. Simply run:

yum update

Just as with package installation, package updates may also be performed using your favorite package management utility.