3.2. Packages supplied by distribution vendors

A number of distributions include DRBD, including pre-built binary packages. Support for these builds, if any, is being provided by the associated distribution vendor. Their release cycle may lag behind DRBD source releases.

3.2.1. SUSE Linux Enterprise Server

SUSE Linux Enterprise Server (SLES), includes DRBD 0.7 in versions 9 and 10. DRBD 8.3 is included in SLES 11 High Availability Extension (HAE) SP1.

On SLES, DRBD is normally installed via the software installation component of YaST2. It comes bundled with the High Availability package selection.

Users who prefer a command line install may simply issue:

yast -i drbd

or

zypper install drbd

3.2.2. Debian GNU/Linux

Debian GNU/Linux includes DRBD 8 from the 5.0 release (lenny) onwards. In 6.0 (squeeze), which is based on a 2.6.32 Linux kernel, Debian ships a backported version of DRBD.

On squeeze, since DRBD is already included with the stock kernel, all that is needed to install is the drbd8-utils package:

apt-get install drbd8-utils

On lenny (obsolete), you install DRBD by issuing:

apt-get install drbd8-utils drbd8-module

3.2.3. CentOS

CentOS has had DRBD 8 since release 5.

DRBD can be installed using yum (note that you will need the extras repository enabled for this to work):

yum install drbd kmod-drbd

3.2.4. Ubuntu Linux

To install DRBD on Ubuntu, you issue these commands:

apt-get update
apt-get install drbd8-utils

On (very) old Ubuntu versions you might need to explicitly install drbd8-module, too; in newer versions the default kernel already includes the upstream DRBD version.