Propagating an NIS Map
This procedure explains how to propagate a new or changed map from the master server to one or more worker servers.
Prerequisite
The NIS worker servers must be authorized to copy files remotely (using the rcp remote copy command) from the NIS master server.
Procedures
To propagate NIS maps from the master server to worker servers, use the Web-based System Manager or use one of the following procedures.
- From a worker server, you have two choices:
- To use SMIT, enter the smit ypxfr fast path and specify a map name in the Name of the MAP to be transferred field. This action retrieves the specified map from the master server.
- To use the command line, enter the following command:
ypxfr mapname
- From the master server, you have two choices:
- To use SMIT, enter the smit yppush fast path and specify a map name or names in the Maps to be transferred to slave field.
- To use the command line, enter the following command:
yppush mapname
All of these methods use the ypserver database to generate a list of worker servers in your domain. The master server then sends a transfer database request to the ypserv daemon on each of the worker servers. The ypserv daemon on the worker server executes a copy of the ypxfr -C command and then passes a summary of the information it needs to identify the database and call back the initiating command.