[Pacemaker] [PING] ping, pingd and CIB updates, pick your poison :)

Thomas Guthmann tguthmann at iseek.com.au
Fri Jul 30 06:38:40 UTC 2010


Re,

 > [..] I can provide a hb_report if necessary.
See in attachment a report for the simple config below. Note that I 
dumbly erased the conf before doing the report but I paste it below.

I've done a very simple cluster. 2 nodes running a dummy resource with 2 
cloned pings testing a virtual IP that I activated or deactivated for 
the test.

11:20AM : cluster is up and running
11:25AM : shutdown the IP
11:30AM : force a refresh with attrd_updater (because pingd=1 still)
           It doesn't change anything still seen as up...
11:37AM : change a value in the CIB dampen from 120 to 121 for instance
           Now db2 pingd is null but db1 is still 1. crm changes have
           been done on db2 - dunno if it's linked.
11:40AM : start the IP again
12:00AM : IP is still seen as down...

primitive dummy ocf:pacemaker:Dummy
primitive ping ocf:pacemaker:ping \
     params host_list="IP.TO.TE.ST" dampen="121" attempts="3" debug="1"
clone CONNECTIVITY ping
location rule-connectivity dummy \
     rule $id="rule-ping" -inf: not_defined pingd or pingd number:lte 0
property $id="cib-bootstrap-options" \
          dc-version="1.0.9-89bd754939df5150de7cd76835f98fe90851b677" \
          cluster-infrastructure="openais" \
          expected-quorum-votes="2" \
          no-quorum-policy="ignore" \
          pe-warn-series-max="2880" \
          stonith-enabled="false"
rsc_defaults $id="rsc_defaults-options" \
          resource-stickiness="1"

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: report.tar.bz2
Type: application/x-bzip
Size: 36993 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100730/4081ca21/attachment-0004.bin>


More information about the Pacemaker mailing list