[ClusterLabs] Set "start-failure-is-fatal=false" on only one resource?
aspiers at suse.com
Thu Mar 24 19:22:37 EDT 2016
Sam Gardner <SGardner at trustwave.com> wrote:
> I'm having some trouble on a few of my clusters in which the DRBD Slave resource does not want to come up after a reboot until I manually run resource cleanup.
> Setting 'start-failure-is-fatal=false' as a global cluster property and a failure-timeout works to resolve the issue, but I don't really want the start failure set everywhere.
> While I work on figuring out why the slave resource isn't coming up, is it possible to set 'start-failure-is-fatal=false' only on the DRBDSlave resource, or does this need a patch?
No, start-failure-is-fatal is a cluster-wide setting. But IIUC you
could also set migration-threshold=1 cluster-wide (i.e. in
rsc_defaults), and then override it to either 0 or something higher
just for this resource. You may find this interesting reading:
More information about the Users