Oracle7 Administrator's Reference for UNIX

Contents Index Home Previous Next

Oracle NIS Native Naming Adapter

Configuring Clients

The NIS Native Naming Adapter must be installed on all clients and servers that will use NIS for name resolution.

Resolve Oracle Service Names

Add the following entries to the sqlnet.ora file:

native_names.use_native=true
native_names.directory_path=(nis)

The client's name requests will be resolved in CDS instead of a local tnsnames.ora file.

Configuring NIS Servers to Support the NIS Adapter

Before you configure servers to support the NIS Native Naming Adapter, verify that NIS is configured and running on the NIS servers that resolve Oracle database service names.

Add the tnsnames Map to the NIS Maps

Perform the following steps to add the tnsnames map to the NIS maps:

Note: Keep a copy of the native.ora file in your $TNS_ADMIN or $ORACLE_HOME/network/admin directory. You may use this file again to load Oracle service names into the NIS map.

	% tns2nis native.ora

Verify the tnsnames Map Installation

To verify that the server is installed properly, enter:

% ypmatch global_database_name tnsnames

For example:

% ypmatch payroll.world tnsnames

A message similar to the following is displayed, giving the length, followed by the address:

99 (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)
(HOST = garlic)(PORT = 1999)))
(CONNECT_DATA=(SID=DIRPROD)))


Contents Index Home Previous Next