On 2012-08-10 16:30, Josh wrote:
> location location_www1-vip www1-vip \
>         rule $id="location_www1-vip-rule" pingd: defined pingd

It will probably work better if you:
* Write the rule correctly ;-)
* Formulate it in the "negative" - to banish the service from nodes that
  can't reach the gw. I've had less luck with positive rules - but I
  can't yet tell if it's because I can't think or do simple arithmetic'
  or if something else is afoot.  I hope to discover that this week.

My not quite finished cluster has this rule for pingd:

location locProdvip prodvip \
    rule $id="locProdvip-rule" -100000: not_defined pingd or pingd lte 0
                               ^^^^^^^ value here, not "pingd"

Value can also be -INF.

Nicolai

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to