This example from page 36 of "Configuration Explained 1.0" fails validation with several errors:
> <rsc_defaults> > <meta_attributes id=”core-hours” score=”2”> > <rule id="core-hour-rule"> > <date_expression id="9to5_Mon2Fri" operation="date_spec"> > <date_spec hours="9-17" days="1-5"/> > </date_expression> > </rule> > <nvpair id="core-stickiness" name="resource-stickiness" value="INFINITY"/> > </meta_attributes> > <meta_attributes id=”after-hours” score=”1” > > <nvpair id="after-stickiness" name="resource-stickiness" value="0"/> > </instance_attributes> > </primitive> This passes, though I haven't tested yet to see if it actually works. I'm not sure if the "core-hours" meta-attributes also needs to contain a score? > <rsc_defaults> > <meta_attributes id="core-hours"> > <rule id="core-hour-rule" score="2"> > <date_expression id="work-hours" operation="date_spec"> > <date_spec id="work-hours-spec" weekdays="1-5" hours="9-17" /> > </date_expression> > </rule> > <nvpair id="core-stickiness" name="resource-stickiness" > value="INFINITY" /> > </meta_attributes> > <meta_attributes id="after-hours" score="1"> > <nvpair id="after-stickiness" name="resource-stickiness" value="0" /> > </meta_attributes> > </rsc_defaults> -- Dan Urist dur...@ucar.edu 303-497-2459 (office) 303-961-2675 (cell) _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker