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