NFS Services Administrator's Guide
Configuring and Administering AutoFS
Configuring Replicated Servers for an AutoFS Directory
Chapter 3130
Configuring Replicated Servers for an AutoFS
Directory
This section describes how to configure multiple replicated servers for an
AutoFS directory.
To configure multiple replicated servers for a directory, follow these
steps:
1. Follow the instructions in “Automounting a Remote Directory Using
a Direct Map” on page 116 or “Automounting a Remote Directory
Using an Indirect Map” on page 120 to automount the direct or
indirect map.
2. In the direct or indirect map, modify the line that mounts the remote
directory so that it lists multiple servers.
• If the remote directory has the same name on every server, use a
syntax such as the following example from an indirect map:
man -ro broccoli,cabbage,cauliflower:/usr/share/man
• You can assign a weighting factor to the servers, by specifying a
number in parentheses after each server name. The lower the
weighting number, the more likely the server is to be selected.
man -ro \
broccoli(1),cabbage(2),cauliflower(3):/usr/share/man
Servers with no weight factor specified have a default weight of
zero and are most likely to be selected.
However, server proximity is more important than the weighting
factor you assign. A server on the same network segment as the
client is more likely to be selected, than a server on another
network segment, regardless of the weight you assign. The
weighting factor is taken into account only when choosing
between servers with the same network proximity.
• If the remote directory has a different name on different servers,
use a syntax such as the following from a direct map:
/nfs/proj2/schedule -ro \
broccoli:/export/proj2/schedule, \
cauliflower:/proj2/FY07/schedule