>>> On 06/25/09 at 22:33, Jakob Curdes <[email protected]> wrote:
> I have constraints for the services in the group:
> <rsc_location id="squid_http_proxy:connected" rsc="squid_http_proxy">
> <rule id="prefered_squid_http_proxy:connected" score="100">
> <expression attribute="pingd"
> id="94611da2-a1eb-4bb2-a1e3-1c5a15d451f7" operation="gt" value="2000"/>
> </rule>
> </rsc_location>
Should you not set it to -INFINITY when the score drops below 2000? Then it
will never run on that node and always migrate to the node with a better
connectivity.
Also check with "ptest -L s" to see the actual scores. I do not know if the
score for a group is equal to the multiplier, or if the score is made up of the
individual nodes (so 5000 in your case)
<rsc_location id="squid_http_proxy:connected" rsc="squid_http_proxy">
<rule id="prefered_squid_http_proxy:connected" score="-INFINITY">
<expression attribute="pingd"
id="94611da2-a1eb-4bb2-a1e3-1c5a15d451f7" operation="lt" value="2000"/>
</rule>
</rsc_location>
HRV
Hans-Robert Vermeulen
Consultant
[email protected]
Phone: +31 (0)6 224 06 424
Novell
Novell. Making IT Work As One
http://www.novell.com
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems