[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 3

mkslave Command

Purpose

Invokes the ypinit command to retrieve maps from an NIS master server and starts the ypserv daemon to configure a slave server.

Syntax

/usr/sbin/mkslave [ -C | -c ] [ -O | -o ] [ -I | -B | -N ] Master

Description

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.

Flags

-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.

Examples

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.

Files

/var/yp/DomainName directory Contains the NIS maps for the NIS domain.

Related Information

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.

NIS Reference.


[ Previous | Next | Contents | Glossary | Home | Search ]