> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of
> alex handle
> Sent: November 27, 2009 5:39 AM
> To: General Linux-HA mailing list
> Subject: Re: [Linux-HA] Heartbeat + DRBD + NFSv4 automatic failover problem
> 
> On Fri, Nov 20, 2009 at 5:47 PM, Jason Maur <[email protected]> wrote:
> >> I have used the exact same setup and i didn't find a solution to the
> >> problem and there was also
> >> a bug with nfsv4 locking
> >> https://bugzilla.redhat.com/show_bug.cgi?id=524520 so i switched to
> >> nfsv3
> >> and now the failover time is about 4 seconds :)
> >
> > Thanks for the reply Alex,
> >
> > I switched over to NFSv3, and it seems better for my needs, but there's 
> > still a good 30-seconds or
> more where the NFS share is inaccessible.  In /var/log/messages, I still get 
> this on the node taking
> over:
> >
> >>  kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery 
> >> directory
> >>  kernel: NFSD: starting 90-second grace period
> >
> > Looking at the output of 'rpcinfo -p', I think I need to disable version 4 
> > for 'nlockmgr' (I've
> already disabled it for 'nfs' in /etc/sysconfig/nfs by putting 
> 'RPCNFSDARGS="-N 4"').
> >
> > So I guess I'm asking how do I disable version 4 support for nlockmgr? Or 
> > am I wrong in thinking
> that doing this will get rid of the kernel messages above?
> 
> I didn't disable v4 for nlockmgr.
> 
> For other configuration i used this manual http://www.linux-ha.org/HaNFS.
> 
> I hope i could help you!
> 
> Alex

Thanks, it turns that that I'm using the NFS share for a Moodle installation. I 
changed it so that session data gets stored locally, and now everything 
(failover, etc.) is running great.
_______________________________________________
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