[Pacemaker] ping resources does not test anything

Michał Purzyński michal at rsbac.org
Wed Sep 15 04:26:12 EDT 2010


hey,

i've configured ping resource (the never ocf:ping, not the older pingd)
to monitor node connectivity.

after removing a network cable from a node "pingd" score does not change
- it's still 1000. i can't see any ping tries, fails or anything in the
logs. it's like the ping decided it's alive and never tested it.

configuration of my cluster:

node udalia3 \
        attributes standby="off"
node udalia4 \
        attributes standby="off"
primitive ClusterIP ocf:heartbeat:IPaddr2 \
        params ip="172.16.6.93" cidr_netmask="24"
clusterip_hash="sourceip-sourceport" \
        op monitor interval="0" timeout="60s" start stop
primitive LDAP lsb:slapd \
        op monitor interval="0" timeout="60s" start stop
primitive resPing ocf:pacemaker:ping \
        params host_list="172.16.4.7" dampen="5s" multiplier="1000"
debug="true" \
        op start interval="0" timeout="60s" \
        op stop interval="0" timeout="60s" \
        op monitor interval="0" timeout="60s"
clone ClusterIPclone ClusterIP \
        meta globally-unique="true" clone-max="2" clone-node-max="2"
target-role="Started"
clone LDAPclone LDAP \
        meta globally-unique="false" clone-max="2" clone-node-max="1"
target-role="Started"
clone clonePing resPing
location ip-no-convectivity ClusterIPclone \
        rule $id="ping-exclude-rule2" -inf: not_defined pingd or pingd
number:lte 0
location ldap-no-convectivity LDAPclone \
        rule $id="ping-exclude-rule" -inf: not_defined pingd or pingd
number:lte 0
colocation ldap-with-ip inf: LDAPclone ClusterIPclone
order ldap-after-ip inf: ClusterIPclone LDAPclone
property $id="cib-bootstrap-options" \
        dc-version="1.1.2-53b05d88305c603b83b6dbdd799f8e3bca9b7efd" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        stonith-enabled="false" \
        no-quorum-policy="ignore" \
        last-lrm-refresh="1284502285"
rsc_defaults $id="rsc-options" \
        resource-stickiness="0"

if anything from logs (as i supose, just don't want to flood the list)
will be necesary, i will send it.

output of crm_mon

============
Last updated: Wed Sep 15 10:25:26 2010
Stack: openais
Current DC: udalia4 - partition with quorum
Version: 1.1.2-53b05d88305c603b83b6dbdd799f8e3bca9b7efd
2 Nodes configured, 2 expected votes
3 Resources configured.
============

Online: [ udalia3 udalia4 ]

 Clone Set: LDAPclone [LDAP]
     Started: [ udalia3 udalia4 ]
 Clone Set: ClusterIPclone [ClusterIP] (unique)
     ClusterIP:0        (ocf::heartbeat:IPaddr2):       Started udalia3
     ClusterIP:1        (ocf::heartbeat:IPaddr2):       Started udalia4
 Clone Set: clonePing [resPing]
     Started: [ udalia3 udalia4 ]

see? clonePing resource is running - but it does not ping anything anyway.

i've double checked with tcpdump that indeed - no icmp packets get send.




More information about the Pacemaker mailing list