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.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.
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.