==> Regarding Re: [autofs] Replicated hosts in autofs v4.; Denis Vlasenko <[EMAIL 
PROTECTED]> adds:

vda> On Sunday 10 October 2004 19:18, Jeremy Rosengren wrote:
>> 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.

vda> Your config does not let the system know that you prefer minnfiler
vda> over ausfiler if both are available.

>> 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

vda> Prolly Solaris does not use first server from the set of those which
vda> answered, it uses server which _answers first_.  -- vda

Not true.  Solaris behaves quite as you would expect in these cases:

 Server proximity takes priority in the  selection  process.
     In  the  example  above,  if the server delta is on the same
     network segment as the client, but the others  are  on  dif-
     ferent  network  segments,  then delta will be selected; the
     weighting value is ignored.  The weighting has  effect  only
     when selecting between servers with the same network proxim-
     ity.

Above taken from the Solaris automount(1m) man page.

-Jeff

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to