You need to assemble a shared namespace for local executables, and applications, such as spreadsheet applications and word-processing packages. The clients of this namespace use several different workstation architectures that require different executable formats. Also, some workstations are running different releases of the operating system.
For more information about naming services, see Working With Oracle Solaris 11.3 Directory and Naming Services: DNS and NIS.
This name makes the files and directories that belong to this space easily identifiable. For example, if you choose /usr/local as the name, the path /usr/local/bin is clearly a part of this namespace.
Mount this map at /usr/local. Set up the following entry in the NIS auto_master map:
/usr/local auto_local -ro
Notice that the –ro mount option means that clients cannot write to any files or directories.
Your directory structure resembles the following:
bin aa:/export/local/bin
where, aa is the name of the server.
bin aa:/export/local/bin/$CPU
where, aa is the name of the server.
For SPARC clients – Place executables in /export/local/bin/sparc.
For x86 clients – Place executables in /export/local/bin/i386.