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

Nenad Opsenica nenad at vtkom.com
Tue Sep 11 08:02:21 UTC 2012


On 11/09/2012 09:55, Andrew Beekhof wrote:
> 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
>

Thank you Andrew. Now it is more clear to me.
Anyhow, it definitely would be nice to have a option to specify actions 
per-operation ... Please account one vote from me for this feature ;)

Regards,

     Nenad





More information about the Pacemaker mailing list