Re-executes the ypinit command to retrieve maps from a master server and re-starts the ypserv daemon to change the slave server.
/usr/etc/yp/chslave [ -C | -c] [ -O | -o ] [ -I | -B | -N ] Master
The chslave command re-invokes the ypinit command to retrieve maps from the master server you specify on the command line. The ypserv daemon is re-started after the ypinit command has completed successfully. The Master parameter specifies the host name of the master server. The master server specified can be the master server currently in use or a new master server that is configured and running.
You can use the Network application in Web-based System Manager (wsm) to change network characteristics. You could also use the System Management Interface Tool (SMIT) smit chslave fast path to run this command.
To retrieve maps from the master server named host91, enter:
chslave -O -B host91
This will overwrite any existing maps for the current domain.
/etc/rc.nfs | Contains the startup script for NFS and NIS daemons. |
/var/yp/domainname | Contains the NIS maps for the NIS domain. |
The chmaster command, mkclient command, mkslave command, rmyp command, smit command, ypinit command.
The ypbind daemon, yppasswdd daemon, ypserv daemon, ypupdated daemon.
For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.1 Web-based System Manager Administration Guide.
System Management Interface Tool (SMIT): Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.
Network Information Service (NIS) in AIX 5L Version 5.1 Network Information Services (NIS and NIS+) Guide.