Networking Guide
Chapter 7, Configuring the Network Information Service (NIS)

Using yppush on the master server to propagate maps

Using yppush on the master server to propagate maps

The ypxfr command is also invoked by ypserv when the yppush(NADM) command is run on the NIS master server. yppush enumerates the NIS map ypservers to generate a list of NIS servers in the domain and sends a ``Transfer Map'' request to each named NIS server. The ypserv command spawns a copy of ypxfr, invoking it with the -C flag, and passes it the information needed to identify the map and call back the initiating yppush process with a summary status.


NOTE: yppush requires that a version of a given NIS map already be present on the nonmaster systems before it can be transferred. Therefore, yppush cannot be used to propagate new maps; rather, ypxfr must be run on each nonmaster machine to request the new map.

See also: