On Thu, Oct 30, 2008 at 18:54, Andrew Beekhof <[EMAIL PROTECTED]> wrote: > > On Oct 30, 2008, at 6:24 PM, Adrian Chapela wrote: > >> Hello again guys! >> >> After a hard tests, Hearbeat + Pacemaker seem to work very well now. All >> of rules are running OK. Tomorrow I will do more complex test. >> >> This mail is related to documentation (Pacemaker Configuration Explained, >> from 15/10/2008), to page 40. In this page there is this rule: >> <rsc_location id="WebServer-connectivity" rsc="Webserver"> >> <rule id="pingd-exclude-rule" score="-INFINITY" > >> <expression id="pingd-exclude" attribute="pingd" operation="lt" >> value="3000"/> >> </rule> >> <rule id="pingd-prefer-rule" score_attribute="pingd" > >> <expression id="pingd-prefer" attribute="pingd" operation="defined"/> >> </rule> >> </rsc_location> >> >> DTD validation fails at rule id "pingd-prefer-rule". It shows me the >> error: >> element rule: Relax-NG validity error : Element rsc_location has extra >> content: rule >> >> I don't know if it is a documentation error, if rule is ok... I send to >> you to have a look. > > i think you can only have one rule (but multiple rules inside that rule)
no - multiple rules are ok. did the resource referenced by the constraint exist when you tried to create the constraint? can you send the rest of your config? _______________________________________________ Pacemaker mailing list [email protected] http://list.clusterlabs.org/mailman/listinfo/pacemaker
