Executes the ypinit command and starts the NIS daemons to configure a master server.
/usr/sbin/mkmaster [ -s HostName [ ,HostName ... ] ] [ -O | -o ] [ -E | -e ] [ -P | -p ] [ -U | -u ] [ -C | -c ] [ -I | -B | -N ]
The mkmaster command invokes the ypinit command to build the NIS maps for the current domain, if the domain name of the system is currently set. After the ypinit command completes successfully, the mkmaster command uncomments the entries in the /etc/rc.nfs file for the ypserv command, yppasswdd command, ypupdated command, and ypbind command.
You can use the Web-based System Manager File Systems application (wsm fs fast path) to run this command. You could also use the System Management Interface Tool (SMIT) smit mkmaster fast path to run this command.
To execute the ypinit command, overwrite any existing maps for the current domain, and make host1 and host3 slave servers, enter:
mkmaster -s host1,host3 -O -p -u -B
This command will not start the yppasswdd daemon or the ypupdated daemon.
/var/yp/domainname directory | Contains the NIS maps for the NIS domain. |
/etc/rc.nfs | Contains the startup script for the NFS and NIS daemons. |
The chmaster 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.
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.
Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.