Hi,
Now it works. I have changed in cib.xml:
<rsc_location id="group_1:connected" rsc="group_1">
<rule id="group_1:connected:rule"
score_attribute="pingd" >
<expression
id="group_1:connected:expr:defined" attribute="pingd" operation="defined"/>
</rule>
</rsc_location>
to
<rsc_location id="group_1:connected" rsc="group_1">
<rule id="group_1:connected:rule"
score="-INFINITY" boolean_op="or">
<expression
id="group_1:connected:expr:undefined" attribute="pingd"
operation="not_defined"/>
<expression
id="group_1:connected:expr:zero" attribute="pingd" operation="lte"
value="0"/>
</rule>
</rsc_location>
Now it works as expected. Those two setups were described on:
http://www.linux-ha.org/pingd
But still it would be nice to get pingnodes working with scores as made
in my first example or described on taht page in "Quickstart - Run my
resource on the node with the best connectivity".
Does anyone have any hints how to get that stuff working?
Thanks,
Achim
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems