Hi,<br><br>I am trying to make a rule to control the failback on the resources. I want during working days from 06:00 to 23:00 and on weekend from 08:00 to 16:00 to have <br>resource-stickiness 1000 and on the left hours zero, so cluster can perform failback any resource which failed over during the working hours.<br>
I wrote the following but I also get error [1]. I am not xml guru so I must have done some stupid mistake here. Any hints?<br><br><br><rsc_defaults><br> <meta_attributes id="working-hours"><br> <rule id="working-hours-rule" boolean_op="or" score="2"><br>
<date_expression id="six-to-eleven" operation="date_spec"><br> <date_spec id="six-to-elevene-Mon-Fri-spec" hours="6-23" weekdays="1-5"/><br> </date_expression><br>
<date_expression id="eight-six" operation="date_spec"><br> <date_spec id="eight-six-Sat-Sun-spec" hours="8-16" weekdays="6-7"/><br> </date_expression><br>
</rule><br> <nvpair id="working-hours-stickiness" name="resource-stickiness" value="INFINITY"/><br> </meta_attributes><br> <meta_attributes id="after-hours" score="1"><br>
<nvpair id="after-hours-stickiness" name="resource-stickiness" value="0"/><br> </meta_attributes><br></rsc_defaults><br><br>[1]<br>cibadmin -V --replace --obj_type rsc_defaults --xml-file tmp.xml<br>
Call cib_replace failed (-47): Update does not conform to the configured schema/DTD<br><br><br>