Hi,

I am configuring a cluster on nodes that doesn't have pcs installed
(pacemaker 1.1.7 with crmsh).
I would like to configure collocated sets of resources (as show
here:http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html-single/Pacemaker_Explained/#s-resource-sets-collocation)
in that cluster but can't find the proper way to do it with crm.
I have tried the command bellow but it just failed:

sudo crm configure xml "<constraints><rsc_colocation id="coloc-1"
score="INFINITY"/><resource_set id="collocated-set-example"
sequential="true"><resource_ref id="pri_apache2"/><resource_ref
id="pri_iscsi"/></resource_set></rsc_colocation></constraints>"

ERROR: not well-formed (invalid token): line 1, column 32

What is the way to proceed with crm?

Regards.

_______________________________________________
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