[Pacemaker] Switching a Resource based on connectivity (ping)

tariq fillah tariqfcb at gmail.com
Thu Mar 17 23:52:21 UTC 2011


I meen this:

crm configure primitive ping ocf:pacemaker:ping \


  op monitor depth="0" timeout="20s" interval="10"
**********
clone pingdClone ping \

        meta globally-unique="false" target-role="Started"

***********
crm configure location pingjb ClusterIP \

rule -inf: not_defined ping


2011/3/17 tariq fillah <tariqfcb at gmail.com>

> Hello the list,
>
> I want to add a switching condition for the resource ClusterIP based on
> connectivity, how can I do this. Will this work?
>
> crm configure primitive example_ping ocf:pacemaker:ping \
>
>   op monitor depth="0" timeout="20s" interval="10"
>
>
> crm configure location pingjb ClusterIP \
> rule -inf: not_defined ping
>
> Thanks in advance
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110317/f000ac5c/attachment.htm>


More information about the Pacemaker mailing list