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 doc.com. domain name in the example below is not necessary.)


    master1# nisping doc.com. 
    master1# nisping org_dir.doc.com. 
    master1# nisping groups_dir.doc.com.

    You should see results similar to these:


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

    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.