Am Dienstag, 31. März 2009 15:44:38 schrieb Michael Schwartzkopff:
> 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"/>
>       </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"/>
>       </instance_attributes>
>     </primitive>
>   </clone>
>
> When I tcpdump on the interface I see an ICMP echo request all 10 seconds
> on the line.

I found it out myself:
<primitive class="ocf" id="clone_ping-primitive" provider="pacemaker" 
type="pingd">
      <instance_attributes id="clone_ping-primitive-instance_attributes">
        (...)
        <nvpair id="nvpair-a29703f5-7ced-4192-86b1-6cc7480baf47" 
name="options" value="-i 3"/>
      </instance_attributes>
    </primitive>

Could be improved!

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

Reply via email to