[Pacemaker] collocating a set of resources with crmsh

Alexandre alxgomz at gmail.com
Mon Mar 24 15:01:25 EDT 2014


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
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

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

What is the way to proceed with crm?


More information about the Pacemaker mailing list