Hi all, I'm trying to define a constraint like this:
cibadmin -o constraints -U -p<<END <rsc_location id="drbd-master" rsc="ms-drbd"> <rule id="diskless_constraint_evaluator" score="-INFINITY" role="master" boolean-op="or"> <rule id="diskless_constraint_1" boolean-op="and"> <expression id="${node1}_expr_1" value="${node1}" attribute="#uname" operation="eq"/> <expression id="${node1}_expr_2" attribute="master-drbd0:0" operation="lt" value="1000"/> <expression id="${node1}_expr3" attribute="master-drbd0:0" operation="not_defined"/> </rule> <rule id="diskless_constraint_2" boolean-op="and"> <expression id="${node2}_expr_1" value="${node2}" attribute="#uname" operation="eq"/> <expression id="${node2}_expr_2" attribute="master-drbd0:1" operation="lt" value="1000"/> <expression id="${node2}_expr3" attribute="master-drbd0:1" operation="not_defined"/> </rule> </rsc_location> END I'm getting Call cib_create failed (-47): Update does not conform to the configured schema/DTD Is it not possible to define constraints like these ? Thanks Shravan
_______________________________________________ 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker