Re: NFS server fail-over - how do you do it?

From: adp (dap99_at_i-55.com)
Date: 05/31/04

  • Next message: Paulo Roberto: "pcmcia linksys wpc11 version 4"
    To: <questions@freebsd.org>
    Date: Sun, 30 May 2004 20:25:50 -0500
    
    

    One of my big problems right now is that if our primary NFS server goes down
    then everything using that NFS mount locks up. If I change to the mounted
    filesystem on the client then it stalls:

    # pwd
    /root
    # cd /nfs-mount-dir
    [locks]

    If I try to reboot the reboot fails as well since FreeBSD can't unmount the
    filesystem!?

    How do I stop this from happening?

    I am using this to mount NFS filesystems:

    # mount -o bg,intr,soft ...

    ----- Original Message -----
    From: "adp" <dap99@i-55.com>
    To: <questions@freebsd.org>
    Sent: Sunday, May 30, 2004 2:43 AM
    Subject: NFS server fail-over - how do you do it?

    > I am running a FreeBSD 4.9-REL NFS server. Once every several hours our
    main
    > NFS server replicates everything to a backup FreeBSD NFS server. We are
    okay
    > with the gap in time between replication. What we aren't sure about is how
    > to automate the fail-over between the primary to the secondary NFS server.
    > This is for a web cluster. Each client mounts several directories from the
    > NFS server.
    >
    > Let's say that our primary NFS server dies and just goes away. What then?
    > Are you periodically doing a mount or a file look-up of a mounted
    filesystem
    > to check if your NFS server died? If so are you just unmounting and
    > remounting everything using the backup NFS server?
    >
    > Just curious how this problem is being solved.
    >
    >

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Paulo Roberto: "pcmcia linksys wpc11 version 4"

    Relevant Pages

    • Monitor progress of exported filesystem via nfs
      ... I am writing an app that runs on a nfs server that allows a remote ... clientto mount a local filesystem via nfs. ... to the client other than network connectivity so I don't want to ...
      (comp.os.linux.misc)
    • Re: Some clients cant see NFS after re-boot
      ... Peter Smithson wrote: ... I suspect that the mounts that aren't working are not set to automount. ... > They can all ping the server and they can all see another nfs server. ... mount server:/remotmountpoint /localmountpoint ...
      (comp.unix.admin)
    • Re: Tracing down 250ms open/chdir calls
      ... On our large cluster we sometimes encounter the problem that our main ... What are the mount options for the mount points? ... are when compared to other head nodes with different tasks/loads: ... From my laptop running a Ubuntu 8.10 variant over gigabit to a known very slow NFS server ... ...
      (Linux-Kernel)
    • Re: 2003 R2, Services For Unix, NFS Server
      ... I have the NFS server up and running and can mount NFS ... When I mount home directories from another linux box, ... I have had no luck with the GID. ...
      (microsoft.public.windows.server.scripting)
    • Re: Help needed with server setup at work
      ... Most of the employees mount their home dirs manually, ... and emplyoee Britney knows she belongs to NFS server 3 and so on. ... About the union thing I first thought of somehow union mouting all the ...
      (Debian-User)