January 2016
Intermediate to advanced
146 pages
3h 8m
English
The last part of this chapter focuses on setting up a HA MariaDB database with replicated storage. To begin, we will have to set up another DRBD resource as we did earlier. We will review the necessary steps here for clarity:
/dev/sdc1, a Volume Group (VG, named drbd_db_vg), and finally a Logical Volume (LV, drbd_db_vol):parted /dev/sdc mklabel msdos parted /dev/sdc mkpart p 0% 100% pvcreate /dev/sdc1 vgcreate drbd_db_vg /dev/sdc1 lvcreate -n drbd_db_vol -l 100%FREE drbd_db_vg
Read now
Unlock full access