Running the commit command while setting up Pacemake, I got this error:
WARNING: drbd_nfs: action 'monitor' not found in Resource Agent meta-data
Googling that error, I found out that this:
primitive drbd_nfs ocf:linbit:drbd \
params drbd_resource=r0 \
op monitor interval=15s
Should be replaced with this:
primitive drbd_nfs ocf:linbit:drbd \
params drbd_resource=r0 \
op monitor interval=15s role="Master" \
op monitor interval=30s role="Slave
After making this change, running commit applied without further errors.