All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS High Availability Cluster
@ 2005-06-13  9:55 Oded Maimon
  2005-06-13 11:47 ` btinsley
  2005-06-13 18:10 ` Dan Stromberg
  0 siblings, 2 replies; 6+ messages in thread
From: Oded Maimon @ 2005-06-13  9:55 UTC (permalink / raw)
  To: nfs

Hi,

Is it possible to set an NFS HA cluster?

That means, that several servers will share the same disks in a SAN and 
will provide an NFS service for

all my other servers?


I need that when one NFS server will fail (or the network connection to 
it)  then no server using the NFS will be affected and will continue to

work with one of the other NFS servers.


Is it possible?


Thanks,

Oded.




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: NFS High Availability Cluster
  2005-06-13  9:55 NFS High Availability Cluster Oded Maimon
@ 2005-06-13 11:47 ` btinsley
  2005-06-13 18:10 ` Dan Stromberg
  1 sibling, 0 replies; 6+ messages in thread
From: btinsley @ 2005-06-13 11:47 UTC (permalink / raw)
  To: nfs

To get started, see:

http://wiki.linux-ha.org/HaNFS


On 6/13/05, Oded Maimon <oded.maimon@gmail.com> wrote:
> Hi,
>=20
> Is it possible to set an NFS HA cluster?
>=20
> That means, that several servers will share the same disks in a SAN and
> will provide an NFS service for
>=20
> all my other servers?
>=20
>=20
> I need that when one NFS server will fail (or the network connection to
> it)  then no server using the NFS will be affected and will continue to
>=20
> work with one of the other NFS servers.
>=20
>=20
> Is it possible?
>=20
>=20
> Thanks,
>=20
> Oded.
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you sho=
tput
> a projector? How fast can you ride your desk chair down the office luge t=
rack?
> If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
>


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: NFS High Availability Cluster
  2005-06-13  9:55 NFS High Availability Cluster Oded Maimon
  2005-06-13 11:47 ` btinsley
@ 2005-06-13 18:10 ` Dan Stromberg
  2005-06-13 20:13   ` Oded Maimon
  1 sibling, 1 reply; 6+ messages in thread
From: Dan Stromberg @ 2005-06-13 18:10 UTC (permalink / raw)
  To: Oded Maimon; +Cc: strombrg, nfs

[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]


I'm told that the current generation of automounter should be able to
failover readonly versions of the same data.

What we've been doing so far with linux, though, is to have a script
that, instead of using fstab, instead traceroute's each of the replica
servers and statically NFS mounts from the one that is up, and shows the
lowest number of router hops.

The autofs failover should obviate reboots, at least to some extent.

The script I've described, which I'd be happy to share, makes it so
endusers can just reboot to come up mounting from a different replica.

On Mon, 2005-06-13 at 11:55 +0200, Oded Maimon wrote:
> Hi,
> 
> Is it possible to set an NFS HA cluster?
> 
> That means, that several servers will share the same disks in a SAN and 
> will provide an NFS service for
> 
> all my other servers?
> 
> 
> I need that when one NFS server will fail (or the network connection to 
> it)  then no server using the NFS will be affected and will continue to
> 
> work with one of the other NFS servers.
> 
> 
> Is it possible?
> 
> 
> Thanks,
> 
> Oded.
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.  
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
> 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: NFS High Availability Cluster
  2005-06-13 18:10 ` Dan Stromberg
@ 2005-06-13 20:13   ` Oded Maimon
  2005-06-13 20:19     ` Dan Stromberg
  0 siblings, 1 reply; 6+ messages in thread
From: Oded Maimon @ 2005-06-13 20:13 UTC (permalink / raw)
  To: Dan Stromberg, nfs

Hi,

I'm looking for a solution that will not make me reboot or even remount 
the file system (unless the remount is autmatically)...


what the reason that the automounter will do this only for read only data?


Thanks,

Oded.


Dan Stromberg wrote:

>I'm told that the current generation of automounter should be able to
>failover readonly versions of the same data.
>
>What we've been doing so far with linux, though, is to have a script
>that, instead of using fstab, instead traceroute's each of the replica
>servers and statically NFS mounts from the one that is up, and shows the
>lowest number of router hops.
>
>The autofs failover should obviate reboots, at least to some extent.
>
>The script I've described, which I'd be happy to share, makes it so
>endusers can just reboot to come up mounting from a different replica.
>
>On Mon, 2005-06-13 at 11:55 +0200, Oded Maimon wrote:
>  
>
>>Hi,
>>
>>Is it possible to set an NFS HA cluster?
>>
>>That means, that several servers will share the same disks in a SAN and 
>>will provide an NFS service for
>>
>>all my other servers?
>>
>>
>>I need that when one NFS server will fail (or the network connection to 
>>it)  then no server using the NFS will be affected and will continue to
>>
>>work with one of the other NFS servers.
>>
>>
>>Is it possible?
>>
>>
>>Thanks,
>>
>>Oded.
>>
>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
>>a projector? How fast can you ride your desk chair down the office luge track?
>>If you want to score the big prize, get to know the little guy.  
>>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
>>_______________________________________________
>>NFS maillist  -  NFS@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nfs
>>
>>    
>>


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: NFS High Availability Cluster
  2005-06-13 20:13   ` Oded Maimon
@ 2005-06-13 20:19     ` Dan Stromberg
  2005-06-13 22:53       ` Oded Maimon
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Stromberg @ 2005-06-13 20:19 UTC (permalink / raw)
  To: Oded Maimon; +Cc: strombrg, nfs

[-- Attachment #1: Type: text/plain, Size: 3022 bytes --]


I've only heard of doing this with readonly data, but that's probably
because multiple systems with the same "local filesystem" (in the SAN
sense) is becoming more common recently.

If your SAN solution will resolve any concurrent-access problems you
might have otherwise with multiple systems accessing the same filesystem
blocks via the SAN, then you likely could have autofs do failover for
readwrite (unless the automounter were arbitrarily restricted).

But to get this, it's entirely possible that you would have to use a
special filesystem that is designed to handle multiple, "local",
concurrent writers and readers, since to the OS, SAN blocks look a lot
like local disk blocks, and you can't have two filesystems trying to
access the same disk blocks concurrently, normally - otherwise, without
automatic updates, you could end up with a corrupted filesystem.

On Mon, 2005-06-13 at 22:13 +0200, Oded Maimon wrote:
> Hi,
> 
> I'm looking for a solution that will not make me reboot or even remount 
> the file system (unless the remount is autmatically)...
> 
> 
> what the reason that the automounter will do this only for read only data?
> 
> 
> Thanks,
> 
> Oded.
> 
> 
> Dan Stromberg wrote:
> 
> >I'm told that the current generation of automounter should be able to
> >failover readonly versions of the same data.
> >
> >What we've been doing so far with linux, though, is to have a script
> >that, instead of using fstab, instead traceroute's each of the replica
> >servers and statically NFS mounts from the one that is up, and shows the
> >lowest number of router hops.
> >
> >The autofs failover should obviate reboots, at least to some extent.
> >
> >The script I've described, which I'd be happy to share, makes it so
> >endusers can just reboot to come up mounting from a different replica.
> >
> >On Mon, 2005-06-13 at 11:55 +0200, Oded Maimon wrote:
> >  
> >
> >>Hi,
> >>
> >>Is it possible to set an NFS HA cluster?
> >>
> >>That means, that several servers will share the same disks in a SAN and 
> >>will provide an NFS service for
> >>
> >>all my other servers?
> >>
> >>
> >>I need that when one NFS server will fail (or the network connection to 
> >>it)  then no server using the NFS will be affected and will continue to
> >>
> >>work with one of the other NFS servers.
> >>
> >>
> >>Is it possible?
> >>
> >>
> >>Thanks,
> >>
> >>Oded.
> >>
> >>
> >>
> >>
> >>-------------------------------------------------------
> >>This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
> >>a projector? How fast can you ride your desk chair down the office luge track?
> >>If you want to score the big prize, get to know the little guy.  
> >>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> >>_______________________________________________
> >>NFS maillist  -  NFS@lists.sourceforge.net
> >>https://lists.sourceforge.net/lists/listinfo/nfs
> >>
> >>    
> >>
> 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: NFS High Availability Cluster
  2005-06-13 20:19     ` Dan Stromberg
@ 2005-06-13 22:53       ` Oded Maimon
  0 siblings, 0 replies; 6+ messages in thread
From: Oded Maimon @ 2005-06-13 22:53 UTC (permalink / raw)
  To: Dan Stromberg; +Cc: nfs

Yes, you are right, i will have to use something like GFS on the NFS 
servers.


Dan Stromberg wrote:

>I've only heard of doing this with readonly data, but that's probably
>because multiple systems with the same "local filesystem" (in the SAN
>sense) is becoming more common recently.
>
>If your SAN solution will resolve any concurrent-access problems you
>might have otherwise with multiple systems accessing the same filesystem
>blocks via the SAN, then you likely could have autofs do failover for
>readwrite (unless the automounter were arbitrarily restricted).
>
>But to get this, it's entirely possible that you would have to use a
>special filesystem that is designed to handle multiple, "local",
>concurrent writers and readers, since to the OS, SAN blocks look a lot
>like local disk blocks, and you can't have two filesystems trying to
>access the same disk blocks concurrently, normally - otherwise, without
>automatic updates, you could end up with a corrupted filesystem.
>
>On Mon, 2005-06-13 at 22:13 +0200, Oded Maimon wrote:
>  
>
>>Hi,
>>
>>I'm looking for a solution that will not make me reboot or even remount 
>>the file system (unless the remount is autmatically)...
>>
>>
>>what the reason that the automounter will do this only for read only data?
>>
>>
>>Thanks,
>>
>>Oded.
>>
>>
>>Dan Stromberg wrote:
>>
>>    
>>
>>>I'm told that the current generation of automounter should be able to
>>>failover readonly versions of the same data.
>>>
>>>What we've been doing so far with linux, though, is to have a script
>>>that, instead of using fstab, instead traceroute's each of the replica
>>>servers and statically NFS mounts from the one that is up, and shows the
>>>lowest number of router hops.
>>>
>>>The autofs failover should obviate reboots, at least to some extent.
>>>
>>>The script I've described, which I'd be happy to share, makes it so
>>>endusers can just reboot to come up mounting from a different replica.
>>>
>>>On Mon, 2005-06-13 at 11:55 +0200, Oded Maimon wrote:
>>> 
>>>
>>>      
>>>
>>>>Hi,
>>>>
>>>>Is it possible to set an NFS HA cluster?
>>>>
>>>>That means, that several servers will share the same disks in a SAN and 
>>>>will provide an NFS service for
>>>>
>>>>all my other servers?
>>>>
>>>>
>>>>I need that when one NFS server will fail (or the network connection to 
>>>>it)  then no server using the NFS will be affected and will continue to
>>>>
>>>>work with one of the other NFS servers.
>>>>
>>>>
>>>>Is it possible?
>>>>
>>>>
>>>>Thanks,
>>>>
>>>>Oded.
>>>>
>>>>
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
>>>>a projector? How fast can you ride your desk chair down the office luge track?
>>>>If you want to score the big prize, get to know the little guy.  
>>>>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
>>>>_______________________________________________
>>>>NFS maillist  -  NFS@lists.sourceforge.net
>>>>https://lists.sourceforge.net/lists/listinfo/nfs
>>>>
>>>>   
>>>>
>>>>        
>>>>


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

end of thread, other threads:[~2005-06-13 21:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-13  9:55 NFS High Availability Cluster Oded Maimon
2005-06-13 11:47 ` btinsley
2005-06-13 18:10 ` Dan Stromberg
2005-06-13 20:13   ` Oded Maimon
2005-06-13 20:19     ` Dan Stromberg
2005-06-13 22:53       ` Oded Maimon

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.