Configuring DRBD
After having successfully created and partitioned our DRBD disks on each node, the main configuration file for DRBD is located in /etc/drbd.conf
, which consists only of the following two lines:
include "drbd.d/global_common.conf"; include "drbd.d/*.res";
Both lines include relative paths, starting at /etc/
, of the actual configuration files. In the global_common.conf
file, you will find the global settings for your DRBD installation, along with the common section (which defines those settings that should be inherited by every resource) of the DRBD configuration. On the other hand, in the .res
files, you will find the specific configuration for each DRBD resource.
We will now rename the existing global_common.conf
file as global_common.conf.orig ...
Get CentOS High Performance now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.