User`s guide
Configuring the Network
Oracle Net Services 9-7
■ Testing the Configuration on the Client
9.4.1 Using Easy Connect Naming Method
The Easy Connect naming method, can be used to connect to a database without the
need to configure service names in the
TNSNAMES.ORA
configuration file. For using the
Easy Connect naming method, ensure that
EZCONNECT
is listed in the client's
configuration file parameter for naming adaptors
names.directory_path
.
Easy Connect naming is only suitable in small and simple environments. Refer to
"Using the Easy Connect Naming Method" in Oracle Database Net Services
Administrator's Guide for more information about the Easy Connect naming method.
9.4.2 Using the Local Naming Method
Local naming refers to the method of resolving a service name to a network address by
using information configured on each individual client in a
TNSNAMES.ORA
configuration file. For using the local naming ensure that
TNSNAMES
is listed in the
client's configuration file parameter for naming adaptors
names.directory_path
.
Local naming is most appropriate for simple distributed networks with a small
number of services that change infrequently.
9.4.3 Using the Directory Naming Method
Directory Naming refers to the method of resolving a service name to a network
address by using a Directory Server. For using a directory server ensure that
LDAP
is
listed in the client's configuration file parameter for naming adaptors
names.directory_path
and that the target address of the directory server is
configured in the parameter file
LDAP.ORA
, for example:
# LDAP.ORA Network Configuration File: network.admin.ldap.ora
DEFAULT_ADMIN_CONTEXT = ""
DIRECTORY_SERVERS= (oid_server:389:636)
DIRECTORY_SERVER_TYPE = Your Internet Directory
For more information, refer to the Oracle Database Net Services Administrator's Guide.
9.4.4 Configuration on the Server
Follow these steps to configure the Oracle Names Method:
1. Before starting the listener, you must set up the listener's configuration file
LISTENER.ORA
. This file includes the addresses of the listeners and various control
parameters used by the listener. For more information refer to the Oracle Database
Net Services Administrator's Guide
On BS2000 systems you have the chance to define additional job parameters for
the Oracle Database tasks particularly a
PROCESSING-ADMISSION
to start a job
under a user ID different from the user ID of the running job. This technique
provides the benefits of using only one listener for all Oracle instances on the
system. The instances need not run under the same user IDs. If you want to run
only one listener on the database computer, then you must specify the following
parameters in the listener's environment file
sid
.
P
.
ORAENV
:
Parameter Meaning
BGJPAR
parameters for
ENTER
jobs