This isn't the officially preferred method but it works for us.  Instead of
using Pacemaker, Corosync and OCFS2 we just use ucarp.  All of your
switching is handled via /etc/network/interfaces.  You'll want to disable
NFS from starting automatically at boot.  I also disable DRBD from starting
at boot.  Under my normal interface I post-up / pre-down commands to start
/ stop DRBD and bring my resources up / down.  You'll also have your ucarp
config in there which sets up your shared IP.  Then on the ucarp virtual
interface you use post-up / pre-down commands to promote / demote your
server, mount / unmount the filesystem and start / stop the NFS service.
 Using this setup I can reboot one of my DRBD nodes and my ESXi hosts don't
even notice the downtime.

On Tue, Jun 5, 2012 at 12:41 AM, Yount, William D <
[email protected]> 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. ****
>
> ** **
>
> 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.****
>
> ** **
>
> ** **
>
> ** **
>
> Thanks,****
>
> *William Yount |* Systems Analyst | Menlo Worldwide | Cell: 901-654-9933**
> **
>
> Safety | Leadership | Integrity | Commitment | Excellence****
>
> *Please consider the environment before printing this e-mail*****
>
> ** **
>
> _______________________________________________
> drbd-user mailing list
> [email protected]
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>


-- 
J.R. Lillard
System / Network Admin
Web Programmer
Golden Heritage Foods
120 Santa Fe St.
Hillsboro, KS  67063
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to