This is what we did.
have /var/lib/nfs dir on shared storage.
i.e host1's /var/lib/nfs should be available on second node when it fails over.
if that is possible then you just use pkill and rpc.statd to inform clients to 
reclaim their lock



> From: [email protected]
> To: [email protected]
> Date: Fri, 24 Jul 2009 11:19:06 +0200
> Subject: [Linux-HA] NFS locks
> 
> Hi,
> 
> we have a NFSv3 server and the clients using this server are clusterd. When 
> the clients failover there still remain the locks from the old client on the 
> server so the new client cannot access the files. This is especially painful 
> for Oracle databases.
> 
> Mounting the NFS with "nolock" is, according to Oracle, no option. This can 
> lead to database corruption.
> 
> Anybody has a good idea how to handle the left over locks on a NFSv3 server 
> when the client faild over? Thanks for any hints.
> 
> -- 
> 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

_________________________________________________________________
Windows Live™ SkyDrive™: Store, access, and share your photos. See how.
http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009
_______________________________________________
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