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.
SUSE Linux Enterprise Server (SLES), includes DRBD in versions 9 and 10, however as of SLES 10 SP1 supports only DRBD version 0.7.
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
rug install drbd
Debian GNU/Linux includes DRBD 8 from the forthcoming
release lenny onwards, and has included DRBD
0.7 since Debian 3.1 (sarge).
On lenny (which now includes pre-compiled
DRBD kernel modules and no longer requires the use of
module-assistant), you install DRBD by
issuing:
apt-get install drbd8-utils drbd8-module
On Debian 3.1 and 4.0, you must issue the following commands:
apt-get install drbd0.7-utils drbd0.7-module-source \
build-essential module-assistant
module-assistant auto-install drbd0.7
See the section called “Building a DRBD Debian package” for details on the installation process involving module-assistant.
CentOS has had DRBD 8 since release 5; DRBD 0.7 was included release 4.
DRBD can be installed using yum
(note that you will need the extras
repository enabled for this to work):
yum install drbd kmod-drbd
Ubuntu includes DRBD 8 since release 7.10 (Gutsy
Gibbon), and has had DRBD 0.7 since release 6.06 (Dapper
Drake). To get DRBD, you need to enable the
universe component for your preferred Ubuntu
mirror in /etc/apt/sources.list, and
then issue these commands:
apt-get update
apt-get install drbd8-utils drbd8-module-source \
build-essential module-assistant
module-assistant auto-install drbd8
![]() | Warning |
|---|---|
Ubuntu 6.10 (Edgy Eft) and 7.04 (Feisty Fawn) both contained pre-release versions of DRBD 8 that were never intended to be used on a production system. The DRBD 0.7 version also included in these Ubuntu releases, however, is fit for production use (albeit now outdated). |