LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Load balancing for NFS server?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Load balancing for NFS server?
From: Kjetil Torgrim Homme <kjetilho@xxxxxxxxx>
Date: 27 Aug 2001 01:53:47 +0200
"Dinesh" <dksiwal@xxxxxxxxxx> writes:

>  Is there any facility available for load-balancing and failover for
>  NFS file server ??

This is hard.  Generally, the device and inode number are used as keys
for selecting the right file on the server.  It is awkward to keep
_exact_ copies of the filesystem on two different servers.  You'd also
be limited to read only access.

Anything more advanced needs explicit NFS support in LVS (i.e. send
writes to all realservers, but load balance reads), and probably
kernel support on the realservers to keep the cookies in sync.

Failover NFS usually entails two servers sharing a SCSI bus, but only
one server using it at a time (== custom hardware).  When a server
fails, the other assumes its IP address and starts using the disks.


Kjetil T.


<Prev in Thread] Current Thread [Next in Thread>