NFS Services Administrator's Guide
Configuring and Administering NIS
Configuring and Administering an NIS Slave Server
Chapter 4178
To Verify Your NIS Slave Server Configuration
1. Log in as root to the slave server.
2. In the /etc/rc.config.d/namesvrs file, add -ypset to the
YPBIND_OPTIONS variable:
YPBIND_OPTIONS=”-ypset”
3. Issue the following commands to restart ypbind (the NIS client
process) on the slave server:
/sbin/init.d/nis.client stop
/sbin/init.d/nis.client start
4. Issue the following command to force the NIS client process on the
slave server to bind to the server process on the same host:
/usr/sbin/ypset slave_server_name
5. Issue the following command to check whether the NIS slave server
is working:
/usr/bin/ypwhich
The ypwhich command should return the host name of the slave
server. If the ypwhich command does not return the name of the
slave server, see “Troubleshooting NFS Services” on page 287.
6. In the /etc/rc.config.d/namesvrs file, remove -ypset from the
YPBIND_OPTIONS variable:
YPBIND_OPTIONS=””
7. Issue the following commands to restart ypbind (the NIS client
process) on the slave server:
/sbin/init.d/nis.client stop
/sbin/init.d/nis.client start
For more information, see the following man pages: ypbind(1M),
ypset(1M), and ypwhich(1).