Linux NFS development
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Saurabh Sehgal <saurabh.r.s@gmail.com>
Cc: nfs@lists.sourceforge.net
Subject: Re: Nfs Failover
Date: Tue, 9 Oct 2007 15:51:28 -0400	[thread overview]
Message-ID: <20071009195128.GQ22750@fieldses.org> (raw)
In-Reply-To: <2a46ebd60710091240k37369e15rbc99b57d26579e8a@mail.gmail.com>

On Tue, Oct 09, 2007 at 03:40:22PM -0400, Saurabh Sehgal wrote:
> Hi all,
> 
> I am trying to do an nfs failover from one server to another in a 4 node
> cluster . During this failover, I have a link from /var/lib/nfs directory to
> a mount that resides on a shared disk. When i want to move the "resources"
> from one node to the other ... this is how I go about initiating the move :
> 
> 1) /etc/init.d/nfsserver stop
> 2) mount /var/lib/nfs on the failover node
> 3) move IP address to failover node
> 3) /etc/init.d/nfsserver start
> 4) /sbin/sm-notify -v <failover ip address>
> 
> Are these the correct steps ? What I end up getting is a Stale NFS File
> handle on all client nodes, until I unmount and remount them again. For the
> purpose of my application this mount/unmount of clients is undesirable .
> What should I do ? Any help would be appreciated.

What filesystem are you exporting?

--b.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2007-10-09 19:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-09 19:40 Nfs Failover Saurabh Sehgal
2007-10-09 19:51 ` J. Bruce Fields [this message]
2007-10-09 20:08   ` Jordi Prats
2007-10-10 13:38     ` Saurabh Sehgal
2007-10-10 13:40       ` J. Bruce Fields
  -- strict thread matches above, loose matches on Subject: below --
2004-01-11  3:02 nfs failover Eric Ford
2004-01-11  4:55 ` Brian Tinsley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071009195128.GQ22750@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=nfs@lists.sourceforge.net \
    --cc=saurabh.r.s@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox