~ubuntu-branches/ubuntu/natty/autofs5/natty-proposed

« back to all changes in this revision

Viewing changes to README.replicated-server

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2008-04-28 15:55:37 UTC
  • Revision ID: james.westby@ubuntu.com-20080428155537-h6h457h1fwwzhvby
Tags: upstream-5.0.3
ImportĀ upstreamĀ versionĀ 5.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Supported forms for mount paths are:
 
2
 
 
3
Normal single-host (these are unchanged)
 
4
<path> host:/path/path
 
5
 
 
6
Multiple replicated hosts, same path:
 
7
<path> host1,host2,hostn:/path/path
 
8
 
 
9
This will do an initial RPC call with a .1 second timeout to all hosts to 
 
10
find best match.  If this fails, it will try a 10 second timeout, if this 
 
11
fails it takes the first host.
 
12
 
 
13
Multiple hosts, some with same path, some with another
 
14
<path> host1,host2:/blah host3:/some/other/path
 
15
 
 
16
Works as expected
 
17
 
 
18
Multiple replicated hosts, different (potentially) paths:
 
19
<path> host1:/path/pathA host2:/path/pathB
 
20
 
 
21
Same as above with RPC calls..
 
22
 
 
23
Mutliple weighted, replicated hosts same path:
 
24
 
 
25
<path> host1(5),host2(6),host3(1):/path/path
 
26
 
 
27
Will pick lowest weighted host that responds to RPC call.  
 
28
RPC time is not counted, only whether the call got a reply 
 
29
at all.  Initially does a .1 second timeout, if all hosts 
 
30
fail this, moves to 10 second timeout.  If one of the hosts
 
31
is localhost, the automounter will choose that regardless of
 
32
its weight.  (This has been done to remain compatible with
 
33
Sun's automounter)
 
34
 
 
35
Multiple weighted, replicated hosts different (potentially) 
 
36
paths:
 
37
<path> host1(3):/path/pathA host2(5):/path/pathB
 
38
 
 
39
Same as above with RPC calls/weighting.
 
40
 
 
41
Anything else is questionable and unsupported, but these 
 
42
variations will also work:
 
43
<path> host1(3),host:/blah
 
44
 
 
45
Unsupported and I don't know why you would use this, but will 
 
46
work.  Weighted host always gets precedence if it responds to RPC
 
47
 
 
48
Anything else, I ain't making no promises.
 
49
 
 
50
Jason