[Pacemaker] Stop failed resource instead of migrating

Andrew Beekhof andrew at beekhof.net
Mon Jan 7 23:26:31 UTC 2013


On Thu, Dec 20, 2012 at 7:34 AM, Jan Škoda <lefty at multihost.cz> wrote:
> Hi!
>
> Is it possible to set something like started-weight score for a
> resource? Or make resource stop instead of migrating elsewhere (and take
> all the resources it's colocated with)? (That would be the same as
> setting resource stickiness = started-weight.)
>
> I have a spam filter that sometimes fails and I don't want it to take
> DRBD filesystem and the reset of system with it.

Give on-fail=ignore|stop for the action you dont care about a try.

>
> Or is it possible to set a delay between subsequent tries to (re)start
> failed service? Then I would just disable start-failure-is-fatal and set
> migration-treshold high enough.
>
> Thanks!
> --
> Honza 'Lefty' Škoda                             http://www.jskoda.cz/
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org




More information about the Pacemaker mailing list