All of lore.kernel.org
 help / color / mirror / Atom feed
* High Availability NFS Proposal
@ 2002-08-24 22:16 James Bottomley
  2002-08-25  5:28 ` Bill Rugolsky Jr.
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: James Bottomley @ 2002-08-24 22:16 UTC (permalink / raw)
  To: nfs; +Cc: James.Bottomley, lmb

Hi All,

My company, SteelEye Technology, already has a HA-NFS offering (using 
filehandle aliasing and kernel authentication add ons).  However, We'd like to 
enhance the existing open source solution (actually, our current patches are 
open source, I just got tired of merging them to each revision of whatever 
distributions kernel).  The new fsid option already performs the same task as 
our kernel filehandle aliasing patches, so the only remaining issues are 
authentication and locking.

Unfortunately, our product, LifeKeeper, is more complex than just a simple two 
node active passive cluster, so the usual just share /var/lib/nfs solution 
won't work for us.  What I'd like to propose instead is to place hooks inside 
mountd and statd that would allow them to propagate the necessary state 
information into a cluster.  The best way I can think of is to designate two 
executable hooks (say /var/lib/nfs/mountd-hook and /var/lib/nfs/statd-hook).  
If mountd and statd don't find these on start up, they proceed normally.  
However, if they exist, mountd and statd will execute them with certain 
arguments to allow the clustering software to keep track of the client 
machines correctly.

These modifications should be enough to allow HA-NFS.  However, to preserve 
locks on failover, I need to introduce statd to the concept of virtual hosts, 
so it can be told to stop tracking a virtual host, or behave as though a 
virtual host had crashed.  There are already the beginnings of IP aliasing 
support in statd.c, so it shouldn't be too hard to progress to the full blown 
solution.

I'll proceed in two phases: mountd first to give a HA solution and statd next 
to give the complete HA-NFS solution.  The hooks should be useable by any HA 
clustering software on Linux.

Any feedback anyone might have on this proposal would be more than welcome.

James Bottomley




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-09-26 16:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-24 22:16 High Availability NFS Proposal James Bottomley
2002-08-25  5:28 ` Bill Rugolsky Jr.
2002-08-26  4:46   ` James Bottomley
2002-08-26 17:54     ` Spencer Shepler
2002-08-26 19:04       ` James Bottomley
2002-08-26 22:01         ` Spencer Shepler
2002-09-15 10:18           ` Neil Brown
2002-08-26  4:36 ` Bryan O'Sullivan
2002-08-26  4:51   ` James Bottomley
2002-08-26 19:41     ` Bryan O'Sullivan
2002-09-15 10:12 ` Neil Brown
2002-09-23 13:53   ` James Bottomley
2002-09-24  4:17     ` Neil Brown
2002-09-26 16:13       ` James Bottomley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.