[SATLUG] Load balancing solution for NFS shares

Sean Carolan scarolan at gmail.com
Mon Oct 15 13:54:05 CDT 2007


> > Anyone know of a way to write to both directories simultaneously,
> > something akin to doing RAID1 over TCP/IP?
>
> drbd[1] and heartbeat[2]
>
> DRBD does RAID1 over TCP/IP. It operates in a primary/secondary fashion,
> perfect for failover. Note that it does not support any more than two nodes.

I'm resurrecting this thread because I need some help with a
configuration issue.  So far I have got drbd and heartbeat set up and
working, but I'm not able to configure heartbeat to control the
starting and stopping of nfs.  All of the tutorials I've read refer to
nfs-kernel-server which is Debian specific, but I'm on a Red Hat
system. Here is an example config from /etc/ha.d/haresources:

server1  IPaddr::192.168.0.10/24/eth0 drbddisk::drbd0
Filesystem::/dev/drbd/0::/mnt/disk::ext3 nfs-kernel-server

Correct me if I'm wrong, but my understanding is that the final
argument "nfs-kernel-server" allows heartbeat to control the nfs
daemon instead of it running from the normal SysV init script.

Any suggestions?


More information about the SATLUG mailing list