Oracle® Solaris Cluster Data Service for Oracle Real Application Clusters Guide

Exit Print View

Updated: July 2014, E39656–01
 
 

How to Bypass the NIS Name Service

If Support for Oracle RAC refers to the NIS name service, unavailability of the name service might cause the Support for Oracle RAC data service to fail.

Bypassing the NIS name service ensures that the Support for Oracle RAC data service does not refer to the NIS name service when the data service sets the user identifier (ID). The Support for Support for Oracle RAC data service sets the user ID when the data service starts or stops the database.

  1. Assume the root role on all nodes where Support for Oracle RAC can run.
  2. On each node, ensure that the following entries in the /etc/nsswitch.conf file list files before nis.
    passwd:    files nis
    publickey: files nis
    project:   files nis
    group:     files nis 
    • Use the following command to display each lookup:

      # svccfg -s svc:/system/name-service/switch listprop config/lookupname
    • To change a lookup entry, use the following command:

      # svccfg -s svc:/system/name-service/switch \
      setprop config/lookupname = astring: \"lookup-entry\"

    For more information, see the svccfg (1M) and nsswitch.conf (4) man pages.

Example 1-1  Setting a Name Service Lookup Entry

The following example sets the lookup order for the passwd database to have files before nis and displays the current setting.

# svccfg -s svc:/sysgtem/name-service/switch \
setprop config/password = astring: \"files nis\"

# svccfg -s svc:/system/name-service/switch listprop config/password
config/password astring "files nis"

Next Steps

Go to How to Create the DBA Group and the DBA User Accounts.