[Pacemaker] WARNING: drbd0: default-action-timeout

Ken Dechick kend at medent.com
Fri Mar 19 09:24:16 EDT 2010


Hi all,

  Thanks for the responses. I actaully had it figured out a few minutes after
I posted - doh! I just added:
 'op start timeout="XXs op stop timeout="XXs"' for the 3 primitives that were
giving this warning - obviously using the suggested defaults for each. In the
case of DRBD I simply had to changeover to using:

 primitive drbd0 ocf:linbit:drbd params drbd_resource="drbd0" op \
 monitor interval="15s" op start timeout="240s" op stop timeout="100s"  

 I had to make similar changes to the IPPADR2 and Filesystem primitives as well.

 This isn't something I wanted to ignore though - every command you issue in
the crm would give you that WARNING again - so with 3 resources complaining
you get a LOT of warnings anytime you issue a verify, commit, ect. With a warn
for the start timeout and one for the stop, that's 6 warning flags! As a
cluster admin, I don't like to see WARNING!  :)


  Heads up for all though: there seem to be a lot of minor little syntax
changes, the    'crm resource migrate <rsc> <node>'  now needs an extra
argument of duration is anothert I ran into. tells you to reference:
http://en.wikipedia.org/wiki/ISO_8601#Durations
for proper syntax. I just used 1year duration as I planned on unmigrating
again almost immediately.

    'crm resource migrate <rsc> <node> -PY1




Kenneth M DeChick
Linux Systems Administrator
Community Computer Service, Inc.
(315)-255-1751 ext154
http://www.medent.com
kend at medent.com
Registered Linux User #497318
-- -- -- -- -- -- -- -- -- -- --
"You canna change the laws of physics, Captain; I've got to have thirtyminutes! "

.

---------- Original Message -----------
From: Glauber Cabral <glauber.sp at gmail.com>
To: pacemaker at clusterlabs.org, kend at medent.com
Sent: Thu, 18 Mar 2010 17:25:22 -0300
Subject: Re: [Pacemaker] WARNING: drbd0: default-action-timeout

> Hi Kenneth
> 
> I'm new to pacemaker, but I guess that your problem is that the
> timeout for start and stop action are set by default to 20s somewhere
> (it seems it's not defined in your file) and pacemaker is telling you
> there timeouts are shorter then the recomended ones.
> 
> So, my suggestion is to define these timeouts by yourself, assuming
> the suggested values are OK.
> 
> To do so, you should type the command below in shell to edit your
> configurations:
> # crm configure edit
> 
> And change the DRDB primitive to this:
> 
> primitive drbd0 ocf:linbit:drbd params drbd_resource="drbd0" \
> op monitor interval="15s" \
> op start timeout="240s" \
> op stop timeout="100s"
> 
> I hope this can help you =)
> 
> []s
> Glauber
> 
> On Thu, Mar 18, 2010 at 4:16 PM, Ken Dechick <kend at medent.com> wrote:
> > Hi all,
> >
> > Just updated my test cluster to latest 1.0.8 pacemaker (from 1.0.6)  and
> > 3.0.2-2 heartbeat (from 3.0.1-1). Was going through my usual configuration
> > steps, when I ran into a warning I have never seen before in setup. I start my
> > bare cluster and co cmd-line configuring within the crm shell from there.
> >
> > My first primitive device is my DRBD resource and the command I use:
> >  primitive drbd0 ocf:linbit:drbd params drbd_resource="drbd0" op monitor \
> >  interval="15s"
> >
> > Today I am suddenly getting a new warning when I use this
> >
> >  WARNING: drbd0: default-action-timeout 20s for start is smaller than the
> > advised 240
> > WARNING: drbd0: default-action-timeout 20s for stop is smaller than the
> > advised 100
> >
> > But I don't know the syntax to correct this. Searching around in the lists I
> > don't see anything - perhaps this is something new with pacemaker 1.0.8? Can
> > anyone shed some light?
> >
> > -Thanks
> >
> >
> > Kenneth M DeChick
> > Linux Systems Administrator
> > Community Computer Service, Inc.
> > (315)-255-1751 ext154
> > http://www.medent.com
> > kend at medent.com
> > Registered Linux User #497318
> > -- -- -- -- -- -- -- -- -- -- --
> > "You canna change the laws of physics, Captain; I've got to have
thirtyminutes! "
> >
> > .
> >
> > This message has been scanned for viruses and dangerous content by
MailScanner, SpamAssassin & ClamAV.
> >
> > This message and any attachments may contain information that is protected
by law as privileged and confidential, and
> > is transmitted for the sole use of the intended recipient(s). If you are
not the intended recipient, you are hereby notified
> > that any use, dissemination, copying or retention of this e-mail or the
information contained herein is strictly prohibited.
> > If you received this e-mail in error, please immediately notify the sender
by e-mail, and permanently delete this e-mail.
> >
> >
> > _______________________________________________
> > Pacemaker mailing list
> > Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
------- End of Original Message -------

This message has been scanned for viruses and dangerous content by MailScanner, SpamAssassin & ClamAV.

This message and any attachments may contain information that is protected by law as privileged and confidential, and
is transmitted for the sole use of the intended recipient(s). If you are not the intended recipient, you are hereby notified
that any use, dissemination, copying or retention of this e-mail or the information contained herein is strictly prohibited.
If you received this e-mail in error, please immediately notify the sender by e-mail, and permanently delete this e-mail.





More information about the Pacemaker mailing list