[Pacemaker] ping resource
emmanuel segura
emi2fast at gmail.com
Fri May 11 13:10:57 UTC 2012
You are missing di location rule
2012/5/11 <fatcharly at gmx.de>
> Hi,
>
> I´m using a pacemaker-1.1.6-3.el6.x86_64/corosync-1.4.1-4.el6_2.1.x86_64
> combo on an CentOS 6.2. I´m trying to use a ping-resource to check the
> connectivity to the default gateway. When I deactivate the interface card
> which is connected with default gateway on one node, nothing happens.
>
> this is my configuration:
>
>
> node pilotpound \
> attributes standby="off"
> node powerpound \
> attributes standby="off"
> primitive HA_IP_1 ocf:heartbeat:IPaddr2 \
> params ip="192.168.xxx.11" cidr_netmask="24" \
> op monitor interval="30s"
> primitive HA_IP_2 ocf:heartbeat:IPaddr2 \
> params ip="192.168.xxx.16" cidr_netmask="24" \
> op monitor interval="30s"
> primitive HA_IP_3 ocf:heartbeat:IPaddr2 \
> params ip="192.168.xxx.66" cidr_netmask="24" \
> op monitor interval="30s"
> primitive HA_IP_4 ocf:heartbeat:IPaddr2 \
> params ip="192.168.xxx.76" cidr_netmask="24" \
> op monitor interval="30s"
> primitive HA_IP_5 ocf:heartbeat:IPaddr2 \
> params ip="192.168.xxx.86" cidr_netmask="24" \
> op monitor interval="30s"
> primitive ping-gateway ocf:pacemaker:ping \
> params host_list="192.168.xxx.1" multiplier="100"
> clone pingclone ping-gateway \
> meta interleave="true"
> colocation one-with-five inf: HA_IP_5 HA_IP_1
> colocation one-with-four inf: HA_IP_4 HA_IP_1
> colocation one-with-three inf: HA_IP_3 HA_IP_1
> colocation one-with-two inf: HA_IP_2 HA_IP_1
> property $id="cib-bootstrap-options" \
> dc-version="1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558" \
> cluster-infrastructure="openais" \
> expected-quorum-votes="2" \
> stonith-enabled="false" \
> no-quorum-policy="ignore"
> rsc_defaults $id="rsc-options" \
> resource-stickiness="100"
>
> Any Suggestions are welcome
>
> kind regards
>
> fatcharly
>
> --
> NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
> Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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
>
--
esta es mi vida e me la vivo hasta que dios quiera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120511/f0fce097/attachment.htm>
More information about the Pacemaker
mailing list