Go to main content

Managing Network File Systems in Oracle® Solaris 11.4

Exit Print View

Updated: August 2021
 
 

How to Replicate Shared Files Across Several Servers

The best way to share replicated file systems that are read-only is to use failover. For more information about failover, see Client-Side Failover.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  2. In the autofs maps, create a comma-separated list of all replica servers.

    For example:

    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.