3

I've got it set cluster-wide currently, but I'd really like it to be set to 'true' by default and false for only my Slave DRBD resource.

Using Pacemaker 1.1.12 and Corosync 1.4.8.

javanix
  • 247
  • 3
  • 15

1 Answers1

1

start-failure-is-fatal is a cluster option, so unfortunately, you can only apply it cluster-wide.

Perhaps you could set start-failure-is-fatal=false cluster-wide, and then define meta migration-threshold=n for each primitive in cluster to achieve similar results.

n=1 for resources you want to move quickly and n=3 for resources you'd like to recover without moving.

Matt Kereczman
  • 1,887
  • 8
  • 12
  • I don't actually want the resource to move ; I just want Pacemaker to continue to try restarting until it works. – javanix Mar 25 '16 at 14:00
  • In that case, you'd set start-failure-is-fatal to false, and increase the migration threshold to some large number. It will then try to start the resource that many times before giving up. – Matt Kereczman Mar 25 '16 at 23:41