[DRBD-user] Fault Tolerant NFS

Yount, William D Yount.William at menloworldwide.com
Tue Jun 5 23:59:53 CEST 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I am looking for a fault tolerant solution. By this, I mean I want there to be an automatic switch over if one of the two storage servers goes down with no human intervention. 

Initially, I followed this guide: https://help.ubuntu.com/community/HighlyAvailableNFS
That works fine, but there are several steps that require human intervention in case of a server failure:
	Promote secondary server to primary
	Mount drbd partition to export path
	Restart nfs-kernel-server (if necessary)

I was trying to get dual primaries setup, thinking that if one goes out the other will take over automatically. There just seems to be so many moving pieces that don't always work they way they are supposed to. I have been reading all the material I can get my hands on but a lot of it seems contradictory or only applicable on certain OS versions with certain versions of OCFS2, DRBD and Pacemaker. 

It doesn't matter to me if it is master/slave or dual primaries. I am just trying to find something that actually works.



-----Original Message-----
From: Felix Frank [mailto:ff at mpexnet.de] 
Sent: Tuesday, June 05, 2012 2:42 AM
To: Yount, William D
Cc: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] Fault Tolerant NFS

On 06/05/2012 07:41 AM, Yount, William D wrote:
> Does anyone have a good resource for setting up a fault tolerant NFS 
> cluster using DRBD? I am currently using DRBD, Pacemaker, Corosync and
> OCFS2 on Ubuntu 12.04.

Those are all right, but I don't really see how OCFS2 is required.
Dual-primary? Not needed for HA NFS.

But it should still work.

> High availability doesn't meet my needs. I have spent quite a while 
> reading and trying out every combination of settings, but nothing 
> seems to work properly.

What are the exact limitations you're facing? Stale mounts after failover?



More information about the drbd-user mailing list