[Pacemaker] ping resource

fatcharly at gmx.de fatcharly at gmx.de
Fri May 11 12:56:23 UTC 2012


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




More information about the Pacemaker mailing list