Re: multihomed NFS automounts.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 20 Aug 2004 01:18:20 -0500
"Jeremy A. Rosengren" <jeremy@xxxxxxxxxxxxx> wrote:

> Sorry for the detail, I want to make sure my question is understood :)
> 
> At the office, we use NIS automounts extensively.  Quite often, we'll 
> have the same data mirrored in multiple offices, located in different 
> physical buildings.  The automounter in Solaris supports multihomed 
> automount maps, so that a client machine will try to mount the closest 
> server (ie, on its subnet) first before trying others.  For example:
> 
> #ypcat -k auto_project
> project1	fileserver1,fileserver2:/vol/vol0/data/project1
> 
It looks to me like this functionality is already contained in recent releases
of autofs. From /usr/share/doc/autofs-4.1.3/README.replicated-server

Supported forms for mount paths are:

Normal single-host (these are unchanged)
<path> host:/path/path

Multiple replicated hosts, same path:
<path> host1,host2,hostn:/path/path

This will do an initial RPC call with a .1 second timeout to all hosts to 
find best match.  If this fails, it will try a 10 second timeout, if this 
fails it takes the first host.

Multiple hosts, some with same path, some with another
<path> host1,host2:/blah host3:/some/other/path

Works as expected

Multiple replicated hosts, different (potentially) paths:
<path> host1:/path/pathA host2:/path/pathB

Same as above with RPC calls..


-- 
| Huw Lynes               | The Moving Picture Company  |
| System Administrator    | 127 Wardour Street          |
|.........................| London, W1F 0NL             | 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux