From: James Yarbrough <jmy@sgi.com>
To: Greg Banks <gnb@melbourne.sgi.com>
Cc: cluster-devel@redhat.com, lhh@redhat.com,
Linux NFS Mailing List <nfs@lists.sourceforge.net>,
Wendy Cheng <wcheng@redhat.com>,
Trond Myklebust <trond.myklebust@fys.uio.no>
Subject: Re: [PATCH 0/3] NLM lock failover
Date: Mon, 07 Aug 2006 13:14:30 -0700 [thread overview]
Message-ID: <44D79F26.B93E5C00@sgi.com> (raw)
In-Reply-To: 1154923557.29877.106.camel@hole.melbourne.sgi.com
> > take-over server:
> > B-1. mount the subject filesystem
> > B-2. "echo 1234 > /proc/fs/nfsd/nlm_set_ip_grace"
> > B-3. "rpc.statd -n 10.10.1.1 -N -P /shared_storage/sm_10.10.1.1"
> > B-4. bring up 10.10.1.1
> > B-5. re-export the filesystem
>
> Umm, don't you want to do B-3 after B-4 and B-5 ? Otherwise
> clients might racily fail on the first try.
I don't think they will necessrily fail. It depends on whether the
server sends ICMP unreachable messages and how the client responds to
those. In any case, I think the ordering should be B-5, B-4, and B-3
last. One can argue about the ordering of B-3 and B-4, but if exporting
(B-5) does not happen before bringing up the IP address (B-4), clients
can get ESTALE replies. For better transparency, it's probably best
to avoid ESTALE.
It's probably OK to do step B-3 after bringing up the IP address since
that will mimic what happens during boot.
>
> Also, just curious here, when do you purge the clients' ARP caches?
I don't think you can actually do a purge from the server explicitly.
You should get the desired result when the IP address (10.10.1.1 in
the above example) is brought up. There's a gratuitous ARP that goes
with that step.
--
jmy@sgi.com
650 933 3124
Blow up the mailbox!
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2006-08-07 20:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-29 17:47 [RFC PATCH 0/3] NLM lock failover Wendy Cheng
2006-08-01 1:55 ` [PATCH " Wendy Cheng
2006-08-03 4:14 ` Neil Brown
2006-08-04 9:27 ` Greg Banks
2006-08-04 13:27 ` Wendy Cheng
2006-08-04 14:56 ` Wendy Cheng
2006-08-04 15:51 ` Trond Myklebust
2006-08-05 5:44 ` Wendy Cheng
2006-08-07 4:05 ` Greg Banks
2006-08-07 20:14 ` James Yarbrough [this message]
2006-08-07 4:05 ` Greg Banks
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=44D79F26.B93E5C00@sgi.com \
--to=jmy@sgi.com \
--cc=cluster-devel@redhat.com \
--cc=gnb@melbourne.sgi.com \
--cc=lhh@redhat.com \
--cc=nfs@lists.sourceforge.net \
--cc=trond.myklebust@fys.uio.no \
--cc=wcheng@redhat.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