developweekly / blog

Blog
https://developweekly.netlify.app/
0 stars 2 forks source link

One primitive returning an error on commit when setting up Pacemaker #3

Open ak2766 opened 4 years ago

ak2766 commented 4 years ago

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.

developweekly commented 4 years ago

Thanks for reporting, I will update the post once I assure which versions require this change.