Am Dienstag, 31. März 2009 16:03:28 schrieb Dominik Klein: > 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
I know. But this attrbiut does not exist in my setup. pacemaker verison 1.0.1-1. Is this a feature of 1.0.2? Greetings, -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: [email protected] web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
