"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.