On 13 July 2012 01:07, Dejan Muhamedagic <[email protected]> wrote:
>
> Hi,
>
> On Thu, Jul 12, 2012 at 12:10:28PM +0200, EXTERNAL Konold Martin
> (erfrakon, RtP2/TEF72) wrote:
> >
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of EXTERNAL Konold
> > Martin (erfrakon, RtP2/TEF72)
> > Sent: Donnerstag, 12. Juli 2012 10:08
> > To: 'General Linux-HA mailing list'
> > Subject: Re: [Linux-HA] ocf:heartbeat:exportfs fails tests
> >
> > Hi,
> >
> > > > I am wondering why migrating a simple nfs resource leads to fencing
> > > > of the cluster node.
> >
> > > Still trying to resolve this.
> >
> > For readers oft the archive: This can be caused by insufficient
> > timeouts.
> >
> > ocf:heartbeat:exportfs needs at least 100s timeout for stopping in order
> > to work properly
>
> stop timeout is advertised as 10s for exportfs. That's probably
> too short. But, do you know why does it take so long to stop?
> 100s sounds excessive.
>

I believe 100s will be needed only if you have the
"wait_for_leasetime_on_stop" parameter set to "true".
It's needed only if you use NFSv4. It causes the RA to wait  NFS grace
period, which is usually 90 seconds, when stopping.

If you don't use NFSv4, they set this parameter to false and you will
save NFS grace period amount of time.
If you do use NFSv4, you can try configure your NFS server to use
lower grace period - see chapter "6.1. NFSv4 lease time" of this very
good document:
www.linbit.com/fileadmin/tech-guides/ha-nfs.pdf

Kind regards,
Marji


> Thanks,
>
> Dejan
>
> > Best regards
> >
> > Martin Konold
> >
> > Robert Bosch GmbH
> > Automotive Electronics
> > Postfach 13 42
> > 72703 Reutlingen
> > GERMANY
> > www.bosch.com<http://www.bosch.com>
> >
> > Tel. +49 7121 35 3322
> >
> > Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
> > Aufsichtsratsvorsitzender: Franz Fehrenbach; Geschäftsführung: Volkmar
> > Denner, Siegfried Dais; Stefan Asenkerschbaumer, Bernd Bohr, Rudolf Colm,
> > Dirk Hoheisel, Christoph Kübel, Uwe Raschke, Wolf-Henning Scheider, Werner
> > Struth, Peter Tyroller
> > _______________________________________________
> > Linux-HA mailing list
> > [email protected]
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
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