Oracle Advanced Networking Option Administrator's Guide | Library |
Product |
Contents |
Index |
There are advantages to using Oracle Names, however. Oracle Names provides automatic database links between all the Oracle databases on a network. Also, Oracle Names includes the Dynamic Discovery Option (DDO). If you use DDO, the services in your network register themselves with well-known names servers, and clients can locate services through the well-known names servers with minimal configuration information.
You may set up your network to use more than one names service, as described in the following section.
Within the NAMES.DIRECTORY_PATH parameter, you list the name services you wish to use in the order you wish to use them. By default, the names services listed are TNSNAMES.ORA, ONAMES. This means that the client will first look at the TNSNAMES.ORA file to find the address of a service. If that file is unavailable, the client will look for an Oracle Names server. If a native names service is in the list of values, that naming service is also consulted. The first naming service listed has first priority, the second has second priority, and so forth.
NAMES.DIRECTORY_PATH = (TNSNAMES, ONAMES)
This parameter, which is the default, would cause the client to look for the service address in TNSNAMES.ORA first, and from an Oracle Names server next.
NAMES.DIRECTORY_PATH = (NIS, TNSNAMES)
Note: You can use different name services for different clients by creating different Client Profiles with different SQLNET.ORA files.
For further information about setting this parameter, see the Oracle Network Manager Administrator's Guide.
When Oracle Network Manager generates configuration files, it includes a configuration file called NATIVE.ORA. The NATIVE.ORA file contains the same information as the TNSNAMES.ORA file. That is, it lists Oracle service names and addresses. The NATIVE.ORA file is used to insert the service names and addresses into the appropriate file for the native name service you are using.
Prev Next |
Copyright © 1996 Oracle Corporation. All Rights Reserved. |
Library |
Product |
Contents |
Index |