Michael Schwartzkopff wrote: > Am Dienstag, 31. März 2009 15:27:47 schrieb Dominik Klein: >> Michael Schwartzkopff wrote: >>> Hi, >>> >>> I am testing the pingd from the provider pacemaker. As Dominik told me, >>> there is no need to define ping nodes in the ha.cf any more. OK so far. >>> >>> As I see pingd tries to reach all pingnodes of the hostlist attribute >>> every 10 seconds. Is it possible to pass an attribute to the pingd deamon >>> to have it sending out ICMP echo request every second of every 3 seconds? >>> >>> Thanks. >> interval ;) >> >> Take a look at the metadata for available parameters. >> >> Regards >> Dominik > > Perhaps I am blind, but I also thought about that. Doesn't work for me. > Please > can anybody help me. My pingd clone is: > > <primitive class="ocf" id="clone_ping-primitive" provider="pacemaker" > type="pingd"> > <meta_attributes id="clone_ping-primitive-meta_attributes"/> > <operations id="clone_ping-primitive-operations"> > <op enabled="true" id="clone_ping-primitive-operations-op" > interval="3s" name="monitor" on-fail="ignore" requires="nothing" start- > delay="1m" timeout="20"/>
That's the interval of your monitor operation. > </operations> > <instance_attributes id="clone_ping-primitive-instance_attributes"> > <nvpair id="nvpair-48efdbbc-ee3f-4382-b8ac-10200bdc6ca1" > name="host_list" value="192.168.188.2 192.168.188.3"/> > <nvpair id="nvpair-edb09383-2f1c-4d1c-b671-23598109fbeb" > name="dampen" > value="3s"/> > <nvpair id="nvpair-ce8cb00a-9406-447f-8c08-af65fae26ff4" > name="multiplier" value="100"/> <nvpair id="pingd-interval" name="interval" value="3"/> > </instance_attributes> > </primitive> > </clone> > > When I tcpdump on the interface I see an ICMP echo request all 10 seconds on > the line. When I said look at the metadata, I meant: export OCF_ROOT=/usr/lib/ocf /usr/lib/ocf/resource.d/pacemaker/pingd meta-data Regards Dominik _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
