System Administration Guide: Naming and Directory Services (NIS+)

ProcedureHow to Load NIS+ Namespace Data by Using the nisping Command

Normally, the loading for namespace data is automatically initiated by the master server. If that does not occur, run the nisping command as described in this procedure.

Before You Begin

The NIS+ principal performing this operation must have modify rights to the domain's directory object.

  1. Run nisping on the directories

    This step sends a message (a “ping”) to the new replica, telling it to ask the master server for an update. If the replica does not belong to the root domain, be sure to specify its domain name. (The example below includes the domain name only for completeness. Since the example used throughout this task adds a replica to the root domain, the domain name in the example below is not necessary.)

    master1# nisping 
    master1# nisping 
    master1# nisping

    You should see results similar to these:

    master1# nisping 
    Pinging replicas serving directory :
    Master server is
     No last update time
    Replica server is
     Last update seen was Wed Nov 18 11:24:32 1992 Pinging ...

    If your namespace is large, this process can take a significant amount of time. For more information about nisping, see Chapter 18, Administering NIS+ Directories.