On 11/09/2012 10:37, Lars Marowsky-Bree wrote:
On 2012-09-11T10:24:58, Nenad Opsenica<ne...@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


_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to