This post explains you about the DRBD (Distributed Replicated Block Device) to understand What is DRBD (Distributed Replicated Block. Distributed Replicated Block Device (DRBD) mirrors block devices between multiple hosts. The replication is transparent to other applications on the host. This step-by-step tutorial demonstrates how to install Distributed Replicated Block Device (DRBD) on CentOS Linux.

Author: Kikasa Tygoll
Country: Burma
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 15 January 2014
Pages: 333
PDF File Size: 11.94 Mb
ePub File Size: 20.66 Mb
ISBN: 137-9-35136-515-6
Downloads: 24588
Price: Free* [*Free Regsitration Required]
Uploader: Zululkis

The replication is transparent to other applications on the host systems. Any block device hard disks, partitions, RAID devices, logical volumes, etc can be mirrored.

Setting Up Network RAID1 With DRBD On Debian Squeeze

To get started using drbdfirst install the necessary packages. Gowto a terminal enter:. If you are using the virtual kernel as part of a virtual machine you will need to manually compile the drbd module.


It may be easier to install the linux-server package inside the virtual machine. The partition size is not particularly relevant, but both partitions need to be the same size.

How to setup DRBD

The two hosts in this example will be called drbd01 vrbd drbd Now using the drbdadm utility initialize the meta data storage. On each server execute:.

Next, on both hosts, start the drbd daemon:. On the drbd01or whichever host you wish to be the primary, enter the following:. After executing the dbrd command, the data will start syncing with the secondary host.

To watch the progress, on drbd02 enter the following:. Demote the primary server to the secondary role:.

Now on the secondary server promote it to the primary role:. Also, see the drbdadm man page. You can choose the displayed language by adding a language suffix to the web address so it ends with e. If the web address has no language suffix, the preferred language specified in your web browser’s settings is used. The material in this document is available under a free license, see Legal for details. Erbd information on contributing see the Ubuntu Documentation Team wiki page. To report errors in this serverguide documentation, file a bug report.


Partners Support Community Ubuntu. From a terminal enter: