linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* server_scope v4.1 lock reclaim
@ 2015-04-27  6:07 Saso Slavicic
  2015-04-27 15:19 ` J. Bruce Fields
  0 siblings, 1 reply; 4+ messages in thread
From: Saso Slavicic @ 2015-04-27  6:07 UTC (permalink / raw)
  To: linux-nfs

Hi,

I'm doing a NFS HA setup for KVM and need lock reclaim to work. I've been
doing a lot of testing and reading in the past week and finally figured out
that for reclaims to work on a 4.1 mount (4.1 is preferable due to
RECLAIM_COMPLETE and thus faster failover), the server hostnames need to be
the same. RFC specifies that reclaim can succeed if server scope is the same
and in fact, the client will not even attempt a reclaim if the server scope
does not match.

But...there doesn't seem to be any way of setting server scope other than
changing server hostname? RFC states: "The purpose of the server scope is to
allow a group of servers to indicate to clients that a set of servers
sharing the same server scope value has arranged to use compatible values of
otherwise opaque identifiers." The nfsdcltrack directory is properly handed
over during failover so I'd need some way of configuring server scope on
this "set of servers"? From the code, the server scope is simply set to
utsname()->nodename in nfs4xdr.c.

What am I missing here, how can this work when Heartbeat needs different
names for nodes?

Thanks,
Saso Slavicic



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-28 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27  6:07 server_scope v4.1 lock reclaim Saso Slavicic
2015-04-27 15:19 ` J. Bruce Fields
2015-04-28 16:44   ` Saso Slavicic
2015-04-28 18:23     ` 'J. Bruce Fields'

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).