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

2012-09-11 Thread Nenad Opsenica
On 11/09/2012 10:37, Lars Marowsky-Bree wrote: On 2012-09-11T10:24:58, Nenad Opsenica wrote: That was my backup solution, but could not find any working example of how to do this using crm shell. Do you have some pointers or examples? The crm online help on rsc_template? http://hg.savannah.g

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

2012-09-11 Thread Lars Marowsky-Bree
On 2012-09-11T10:24:58, Nenad Opsenica wrote: > That was my backup solution, but could not find any working example > of how to do this using crm shell. > Do you have some pointers or examples? The crm online help on rsc_template? http://hg.savannah.gnu.org/hgweb/crmsh/file/bb3dabeb8274/doc/crm

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

2012-09-11 Thread Nenad Opsenica
On 11/09/2012 10:09, Lars Marowsky-Bree wrote: On 2012-09-11T10:02:21, Nenad Opsenica wrote: 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 ;) You can use

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

2012-09-11 Thread Lars Marowsky-Bree
On 2012-09-11T10:02:21, Nenad Opsenica wrote: > 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 ;) You can use the template resource feature and then inh

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

2012-09-11 Thread Nenad Opsenica
On 11/09/2012 09:55, Andrew Beekhof wrote: On Mon, Sep 10, 2012 at 4:55 AM, Nenad Opsenica 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

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

2012-09-11 Thread Andrew Beekhof
On Mon, Sep 10, 2012 at 4:55 AM, Nenad Opsenica 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" fail

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

2012-09-09 Thread Nenad Opsenica
Hi everybody, Is it possible to use "op_defaults" to specify default failure action for specific operation? 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%