The best way to share replicated file systems that are read-only is to use failover. See Client-Side Failover for a discussion of failover.
Become superuser or assume an equivalent role.
For information about roles, see “Using Privileged Applications” in System Administration Guide: Security Services.
Modify the entry in the autofs maps.
Create the list of all replica servers as a comma-separated list, such as the following:
bin aa,bb,cc,dd:/export/local/bin/$CPU |
Autofs chooses the nearest server. If a server has several network interfaces, list each interface. Autofs chooses the nearest interface to the client, avoiding unnecessary routing of NFS traffic.