[Pacemaker] [PING] ping, pingd and CIB updates, pick your poison :)
Andrew Beekhof
andrew at beekhof.net
Fri Aug 27 14:28:24 UTC 2010
On Fri, Jul 30, 2010 at 8:38 AM, Thomas Guthmann <tguthmann at iseek.com.au> wrote:
> 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.
Thanks, I'll hopefully get to this next week (vacations, etc).
Don't worry, its not forgotten :-)
>
> 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
>
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>
More information about the Pacemaker
mailing list