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 File Systems application in Web-based System Manager (wsm) to change file system characteristics. 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.
System Management Interface Tool (SMIT): Overview in AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.
Network File System (NFS) Overview for System Management in AIX 5L Version 5.2 System Management Guide: Communications and Networks.
For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.2 Web-based System Manager Administration Guide.
Network Information Services (NIS) Overview for System Management in AIX 5L Version 5.2 Network Information Services (NIS and NIS+) Guide.