[Linux-HA] Re: pingd problem
Achim Stumpf
hakim.news at googlemail.com
Thu Apr 3 01:02:32 MDT 2008
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
More information about the Linux-HA
mailing list