DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Setting up NIS

Propagating an NIS map

When you propagate an NIS map, you copy it from one server to another--most often from the master to all NIS slave servers. Initially, ypinit propagates the maps from master to slaves, as described previously. If you use ypbuild(1Mnis) to remake a default map in the /var/yp directory on the master server, it also calls yppush(1Mnis) to copy (``push'') a new version of the map to the slave servers.

You can also transfer updated maps from the master server by running the ypxfr(1Mnis) command on each slave server. ypxfr usually handles map transference in tandem with the yppush(1Mnis) program running on the master server. Using the list of NIS servers in the ypservers map built by ypinit, yppush contacts each slave server in the list and sends it a ``transfer map'' request. When a slave server acknowledges the request, the ypxfr program running on the slave transfers the new map from the master to the slave.

If required, you can run ypxfr in three different ways:


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004