February 2020
Intermediate to advanced
734 pages
38h 13m
English
In the previous chapter, we created a DRBD resource named pg. With this in mind, follow these steps as the root user to add DRBD to Pacemaker:
crm configure primitive drbd_pg ocf:linbit:drbd \
params drbd_resource="pg" \
op monitor interval="15" role="Master" \
op monitor interval="20" role="Slave" \
op start interval="0" timeout="240" \
op stop interval="0" timeout="120"
crm configure ms ms_drbd_pg drbd_pg \
meta master-max="1" master-node-max="1" \
clone-max="2" clone-node-max="1" notify="true"
crm resource cleanup drbd_pg
Read now
Unlock full access