Linux NFS development
 help / color / mirror / Atom feed
From: Lukas Hejtmanek <xhejtman@ics.muni.cz>
To: Jeff Layton <jlayton@redhat.com>
Cc: linux-nfs@vger.kernel.org, jiri.horky@cesnet.cz
Subject: Re: NFSv4 high availability setups
Date: Tue, 17 Apr 2012 16:34:48 +0200	[thread overview]
Message-ID: <20120417143448.GU32132@ics.muni.cz> (raw)
In-Reply-To: <20120410091321.1be1a87e@tlielax.poochiereds.net>

Hi,

On Tue, Apr 10, 2012 at 09:13:21AM -0400, Jeff Layton wrote:
> Nope. It'll all work just great...until it doesn't. I don't have any
> specific failure scenarios, but most of the problems will be issues
> with state recovery when a server node is restarted.
> 
> That may manifest in different ways -- problems reclaiming locks for
> instance, or even silent data corruption depending on the application.

would it work if I relax active-active scenario to just active-passive in the
following way:

Server A actively exports  /export/A
Server B actively exports  /export/B

Server B is passive backup for Server A
Server A is passive backup for Server B

would it work to migrate the failed Server B to Server A so that Server A will
server both /export/A and /export/B?

There will be a problem with v4recovery dir. Would it be possible just to
merge v4recovery from Server B to Server A (nfs export would be stopped while
merging v4recovery).

It seems that cp -r B/v4recovery/* A/v4recovery/ would do all the things. Am
I right?

Do I need to copy recovery state if I delay migration of the failed Server B to
Server A for 91 secs? I.e., longer than lease expiry time.. Or do I still need
a record for the client in v4recovery dir in such a case?

-- 
Lukáš Hejtmánek

  parent reply	other threads:[~2012-04-17 14:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-05 10:31 NFSv4 high availability setups Lukas Hejtmanek
2012-04-05 11:39 ` Jeff Layton
2012-04-10 12:55   ` Lukas Hejtmanek
2012-04-10 13:13     ` Jeff Layton
2012-04-10 18:14       ` Michael Schwartzkopff
2012-04-17 14:34       ` Lukas Hejtmanek [this message]
2012-04-17 15:14         ` Jeff Layton
2012-04-24 14:01           ` Jeff Layton
2012-04-24 14:28             ` Chuck Lever
2012-04-24 15:19               ` Jeff Layton

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=20120417143448.GU32132@ics.muni.cz \
    --to=xhejtman@ics.muni.cz \
    --cc=jiri.horky@cesnet.cz \
    --cc=jlayton@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    /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