Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Naming and Directory Services (NIS+) |
Part I About Naming and Directory Services
Part II NIS+ Setup and Configuration
4. Configuring NIS+ With Scripts
5. Setting Up the NIS+ Root Domain
8. Configuring an NIS+ Non-Root Domain
10. NIS+ Tables and Information
12. Administering NIS+ Credentials
14. Administering Enhanced NIS+ Security Credentials
15. Administering NIS+ Access Rights
16. Administering NIS+ Passwords
18. Administering NIS+ Directories
Using the niscat Command With NIS+ Directories
Listing the Object Properties of an NIS+ Directory
Using the nisls Command With Directories
Listing the Contents of an NIS+ Directory - Terse
Listing the Contents of an NIS+ Directory - Verbose
Adding an NIS+ Replica to an Existing Directory
Disassociating a Replica From an NIS+ Directory
Removing NIS+ Nondirectory Objects
Changing rpc.nisd Syntax Options
Three Methods to Initialize an NIS+ Client
Initializing the NIS+ Root Master Server
Displaying the Contents of the NIS+ Cache
Pinging and Checkpointing in NIS+
Displaying When NIS+ Replicas Were Last Updated
Checkpointing an NIS+ Directory
Displaying the Contents of the NIS+ Transaction Log
Changing the Time-to-Live of an NIS+ Object
Changing the Time-to-Live of an NIS+ Table Entry
20. NIS+ Server Use Customization
23. Information in NIS+ Tables
Common NIS+ Namespace Error Messages
The nis_cachemgr should run on all NIS+ clients. The cache manager maintains a cache of location information about the NIS+ servers that support the most frequently used directories in the namespace, including transport addresses, authentication information, and a time-to-live value.
At startup, the cache manager obtains its initial information from the client's cold-start file, and downloads it into the /var/nis/NIS_SHARED_DIRCACHE file.
The cache manager makes requests as a client machine. Make sure the client machine has the proper credentials, or instead of improving performance, the cache manager will degrade it.
When using the Service Management Facility (SMF), the cache manager has a dependency on the NIS+ service, so cache manager starts and stops along with the NIS+ service. Use the svcadm command to start, stop, or restart the NIS+ service.
client% svcadm enable /network/rpc/nisplus:default client% svcadm disable /network/rpc/nisplus:default client% svcadm restart /network/rpc/nisplus:default
When you stop and start the NIS+ service, the cache manager is restarted but it retains the information in the /var/nis/NIS_SHARED_DIRCACHE file. The information in the cold-start file is simply appended to the existing information in the cache file. Use the -i option to clear the cache file and re-initialize it from the contents of the client's cold-start file.