[Pacemaker] using op_defaults to change default operation failure action?

Andrew Beekhof andrew at beekhof.net
Tue Sep 11 03:55:13 EDT 2012


On Mon, Sep 10, 2012 at 4:55 AM, Nenad Opsenica <nenad at vtkom.com> wrote:
> Hi everybody,
>
> Is it possible to use "op_defaults" to specify default failure action for
> specific operation?

No. The values are used as the default for all operations.

>
> I'm particulary interested in specifying action if "stop" fails, it should
> not get node fenced but further actions blocked. I was googling for hours,
> and didn't manage to find any 100% useful & working example how to specify
> this using crm shell.
>
> crm shell seems to accept "op_defaults $id="op_defaults-options"
> on-fail="block", but then I have one question more - what operation(s) this
> refers to? All? Only "stop" ? Can someone explain this?

All

>
> I'm using Scientific Linux 6 with pacemaker-1.1.7-6.el6.x86_64 which,
> somehow, refuses to recognize "rsc_template" from the crm shell which was my
> second idea to change opeartions failure default action.
>
> Best regards,
>
>     Nenad Opsenica
>
> _______________________________________________
> 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