Invokes the ypinit command to retrieve maps from an NIS master server and starts the ypserv daemon to configure a slave server.
/usr/sbin/mkslave [ -C | -c ] [ -O | -o ] [ -I | -B | -N ] Master
The mkslave command invokes the ypinit command to retrieve maps from the master server you specify on the command line. The ypserv daemon starts after the ypinit command has completed successfully. Use the Master parameter to specify the host name of the master server. The master server specified should already be configured and running.
You can use the Web-based System Manager Network application (wsm network fast path) to run this command. You could also use the System Management Interface Tool (SMIT) smit mkslave fast path to run this command.
|-C||Invokes the ypinit command with the -n flag. The mkslave command continues on errors. This flag is the default.|
|-c||Stops execution when errors occur.|
|-O||Overwrites any maps that exist in the domain.|
|-o||Prevents the overwriting of maps that exist in the domain. This flag is the default.|
|-I||Invokes the ypinit command immediately but does not start the ypserv daemon until the next system reboot.|
|-N||Invokes the ypinit command and starts the ypserv daemon.|
|-B||Invokes the ypinit command, starts the ypserv daemon and configures the ypserv to start at system reboot. This flag is the default.|
To invoke the ypinit command so that the master server host2 will be contacted for maps, enter:
mkslave -O host42
This command overwrites the current maps.
|/var/yp/DomainName directory||Contains the NIS maps for the NIS domain.|
The chmaster command, mkclient command, rmyp command, smit command, ypinit command.
The ypbind daemon, yppasswdd daemon, ypserv daemon, ypupdated daemon.
Network Information Service (NIS) Overview for System Management in AIX Version 4.3 System Management Guide: Communications and Networks.
Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.
System Management Interface Tool (SMIT) Overview in AIX Version 4.3 System Management Guide: Operating System and Devices.
Network File System (NFS) Overview for System Management in AIX Version 4.3 System Management Guide: Communications and Networks.