All of lore.kernel.org
 help / color / mirror / Atom feed
* Replicated hosts in autofs v4.
@ 2004-10-10 16:18 Jeremy Rosengren
  2004-10-10 21:53 ` Denis Vlasenko
  2004-10-11 13:11 ` Ian Kent
  0 siblings, 2 replies; 9+ messages in thread
From: Jeremy Rosengren @ 2004-10-10 16:18 UTC (permalink / raw)
  To: autofs

I've previously posted about this problem, but I still haven't found
an answer, although I think I better understand what's happening.

We have an automount map called "auto_group" that looks like this:

icdes     ausfiler,minnfiler:/vol/vol0/data/group/&

ausfiler lives in Texas, minnfiler lives in Minnesota.  Between
ausfiler and minnfiler lies a T1 line.

On the MInnesota office network, from a RedHat Enterprise 3.0 Update 3
client (using autofs-4.1.3-12), cd'ing into /group/icdes mounts
ausfiler:/vol/vol0/data/group/icdes.  No matter what...it always
mounts ausfiler.  The problem is that ausfiler is on the other end of
a T1 from the client, whereas minnfiler is on the same subnet, on the
same network switch.

I filed a support ticket with RedHat Global support, and an engineer
there confirmed that the client does an RPC call with a  .1 second
timeout.  However, the client's behavior indicates to me that the
comparison being made in the reponse times between the replicated
mount servers isn't fine-grained enough to make the correct choice.  A
coworker made the comment that our T1 line could be "too robust",
making the server farther away appear to be good enough for the
client's purposes.

Solaris doesn't seem to have any issues with doing this properly.  A
Solaris client in Minnesota will always mount the "closest" server in
a replicated host map, which is important because we're trying to use
RHEL3 to replace some of our Solaris infrastructure.  The RH Global
support engineer suggested reversing the order of the servers in the
map, however that would cause clients in Texas to exhibit the same
behavior that clients in Minneapolis are.

Can somebody explain to me whether I'm not the right track in
understanding the problem, with regards to the comparison not being
fine-grained enough for the client to make the correct choice?  Or,
might there be something else going on?  I previously had assumed that
the behavior I was seeing was related to the bug that caused the
client to always mount the first-listed server, but I no longer think
that's the case.

Thanks,

-- jeremy

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

end of thread, other threads:[~2004-10-12 12:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-10 16:18 Replicated hosts in autofs v4 Jeremy Rosengren
2004-10-10 21:53 ` Denis Vlasenko
2004-10-11 15:19   ` Jeff Moyer
2004-10-12  1:37     ` Ian Kent
2004-10-12  4:45       ` Jim Carter
2004-10-12  9:06         ` Mike Waychison
2004-10-12 12:22           ` raven
2004-10-12 12:44         ` raven
2004-10-11 13:11 ` Ian Kent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.