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

Nenad Opsenica nenad at vtkom.com
Tue Sep 11 05:30:01 EDT 2012


On 11/09/2012 10:37, Lars Marowsky-Bree wrote:
> On 2012-09-11T10:24:58, Nenad Opsenica<nenad at vtkom.com>  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.8.txt
> (line 1653ff)

It seems that

# crm --version
1.1.7-6.el6 (Build 148fccfd5985c5590cc601123c6c16e966b85d14)
Written by Dejan Muhamedagic

is missing "rsc_template" support:

# crm configure rsc_template public_vm ocf:heartbeat:Xen op start 
timeout=300s op stop timeout=300s op monitor interval=30s timeout=60s op 
migrate_from timeout=600s op migrate_to timeout=600s
ERROR: syntax: rsc_template public_vm ocf:heartbeat:Xen op start 
timeout=300s op stop timeout=300s op monitor interval=30s timeout=60s op 
migrate_from timeout=600s op migrate_to timeout=600s


There is no "rsc_template" section in crm man page on the server.

Regards,

     Nenad





More information about the Pacemaker mailing list