JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Naming and Directory Services (NIS+)
search filter icon
search icon

Document Information

Preface

Part I About Naming and Directory Services

1.  Name Service Switch

Part II NIS+ Setup and Configuration

2.  NIS+: An Introduction

3.  NIS+ Setup Scripts

4.  Configuring NIS+ With Scripts

5.  Setting Up the NIS+ Root Domain

6.  Configuring NIS+ Clients

7.  Configuring NIS+ Servers

8.  Configuring an NIS+ Non-Root Domain

9.  Setting Up NIS+ Tables

Part III NIS+ Administration

10.  NIS+ Tables and Information

11.  NIS+ Security Overview

12.  Administering NIS+ Credentials

13.  Administering NIS+ Keys

14.  Administering Enhanced NIS+ Security Credentials

15.  Administering NIS+ Access Rights

16.  Administering NIS+ Passwords

17.  Administering NIS+ Groups

18.  Administering NIS+ Directories

19.  Administering NIS+ Tables

20.  NIS+ Server Use Customization

NIS+ Servers and Clients

Default NIS+ Client Search Behavior

Designating NIS+ Preferred Servers

NIS+ Over Wide Area Networks

Optimizing NIS+ Server Use

nis_cachemgr Is Required

NIS+ Global Table or Local File

NIS+ Preference Rank Numbers

Default NIS+ Server Preferences

Efficiency and NIS+ Server Preference Numbers

Preferred-Only NIS+ Servers and All Servers

Viewing NIS+ Preferences

NIS+ Server and Client Names

NIS+ Server Preferences

When NIS+ Server Preferences Take Effect

Using the nisprefadm Command

Viewing NIS+ Machine Preferences

How to View Preferences for an NIS+ Server

How to View Preferences for an NIS+ Machine

How to View Global Preferences for an NIS+ Machine

How to View Global Preferences for an NIS+ Subnet

Specifying NIS+ Preference Rank Numbers

Specifying NIS+ Global Server Preferences

How to Set Global Preferences for an NIS+ Subnet

How to Set Global Preferences for an Individual NIS+ Machine

How to Set Global Preferences for a Remote NIS+ Domain

Specifying Local NIS+ Server Preference

How to Set Preferences on a Local NIS+ Machine

Modifying NIS+ Server Preferences

How to Change an NIS+ Server's Preference Number

How to Replace One NIS+ Server With Another in a Preference List

How to Remove NIS+ Servers From Preference Lists

Replacing an Entire Preferred Server List in NIS+

Specifying Preferred-Only Servers in NIS+

How to Specify Preferred-Only Servers in NIS+

How to Revert to Using Non-Preferred Servers in NIS+

Ending Use of Server Preferences in NIS+

Eliminating Local Server Preferences in NIS+

How to Switch From Local to Global Subnet Preferences in NIS+

How to Switch From Local to Machine-Specific Global Preferences in NIS+

How to Stop a Machine From Using Any Server Preferences in NIS+

Putting NIS+ Server Preferences Into Immediate Effect

21.  NIS+ Backup and Restore

22.  Removing NIS+

23.  Information in NIS+ Tables

24.  NIS+ Troubleshooting

A.  NIS+ Error Messages

About NIS+ Error Messages

Common NIS+ Namespace Error Messages

B.  Updates to NIS+ During the Solaris 10 Release

Solaris 10 and NIS+

Glossary

Index

Putting NIS+ Server Preferences Into Immediate Effect

Server-use changes normally go into effect whenever the client machine is rebooted or updates its cache manager.

When you use nisprefadm to set or change server preferences on a local machine using a local client_info file (the -L option), your changes go into effect immediately.

For machines obtaining their server preferences from a global client_info table (the -G option) you can force server preference changes into immediate effect by running nisprefadm a particular with the -F option.

# nisprefadm -F

For example, to force immediate implementation of changes to vega's preferred server list (whether local or global):

vega# nisprefadm -F

The -F option forces the machine's cache manager to immediately update its server preference information from the domain's global client_info table. If the machine on which you run nisprefadm -F has its own local client_info file in /var/nis, running this command will have no effect.


Note - You cannot use the -F option with any other nisprefadm options. The nisprefadm -F command must always be run by itself on the machine you want it to apply to. You cannot use the -G option to update the cache managers of all machines in a domain. The nisprefadm -F command must be run on each machine individually.