NFS Services Administrator's Guide

Configuring and Administering NIS+
Setting Up the NIS+ Namespace
Chapter 5 223
If the host was previously an NIS server or client, set the
NIS_MASTER_SERVER, NIS_SLAVE_SERVER, and NIS_CLIENT variables
to 0.
6. Log in as root to the master server.
7. Type the following command to initialize the replica server:
nisserver -R -h replica_host_name
The nisserver script asks you if the information it has is correct.
You can change it by typing n. The script then allows you to change
each piece of information. To make a change, just type the correct
information after the incorrect information and press [Return].
8. Type the following command on the master server to checkpoint the
domain and copy the domain directories to the new replica server:
nisping -a
9. To verify that the replica server is operating correctly, issue the
following command:
nisstat -H replica_host_name
The nisstat command should return a list of statistics about the
replica server.
It is recommended that you have only a few replicas per domain, for
performance reasons. Do not configure more than 10 replicas per domain.
If your domain includes sites that are distant from the master server,
configure replica servers at the distant sites to avoid unnecessary
network traffic.
For more information, see the following man pages: nisserver(1M),
rpc.nisd(1M), nisping(1M), nisstat(1M), and nis(1).