Configuring the DRBD Environment


To set up DRBD, MySQL, and Heartbeat, you follow a number of steps that affect the operating system, DRBD and your MariaDB installation.

Before starting the installation process, be aware of the following information, terms and requirements on using DRBD:

The overview for the installation and configuration sequence is as follows:

  1. First, set up your operating system and environment. This includes setting the correct host name, updating the system and preparing the available packages and software required by DRBD, and configuring a physical block device to be used with the DRBD block device. See , "Setting Up Your Operating System for DRBD".
  2. Installing DRBD requires installing or compiling the DRBD source code and then configuring the DRBD service to set up the block devices to be shared. See , "Installing and Configuring DRBD".
  3. After configuring DRBD, alter the configuration and storage location of the MariaDB data, as explained in , "Configuring MariaDB for DRBD".

Optionally, configure high availability using the Linux Heartbeat service. See , "Using Linux HA Heartbeat", for more information.

Retornar