2005-06-13 08:55:44

by Oded Maimon

[permalink] [raw]
Subject: NFS High Availability Cluster

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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2005-06-13 11:47:45

by btinsley

[permalink] [raw]
Subject: Re: NFS High Availability Cluster

To get started, see:

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


On 6/13/05, Oded Maimon <[email protected]> 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 - [email protected]
> 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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2005-06-13 18:10:29

by Dan Stromberg

[permalink] [raw]
Subject: Re: NFS High Availability Cluster


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 - [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfs
>


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2005-06-13 19:13:11

by Oded Maimon

[permalink] [raw]
Subject: Re: NFS High Availability Cluster

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 - [email protected]
>>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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2005-06-13 20:20:02

by Dan Stromberg

[permalink] [raw]
Subject: Re: NFS High Availability Cluster


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 - [email protected]
> >>https://lists.sourceforge.net/lists/listinfo/nfs
> >>
> >>
> >>
>


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2005-06-13 21:53:21

by Oded Maimon

[permalink] [raw]
Subject: Re: NFS High Availability Cluster

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 - [email protected]
>>>>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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs