User's Manual

Configuring Oracle Database and Oracle Net Services for Oracle DCE Integration
Conguring Oracle DCE Integration 10-21
2. Restart CDS on the system.
The command to restart CDS varies between different operating systems. On
the Solaris platform, for example, you can use the following command to restart
CDS:
/opt/dcelocal/etc/rc.dce restart
Step 3: Create a tnsnames.ora File for Loading Oracle Connect Descriptors into
CDS
To load the Oracle service names and addresses into CDS, create or modify a local
naming configuration file, tnsnames.ora. This file is used to map service names to
addresses for use by Oracle Net.
This section describes the parameters that must be included in the tnsnames.ora
file. The file contains a list of Oracle service names mappedto connect descriptors of
destinations or endpoints in the network. The sample DCE address in the following
section shows a network address for an Oracle server with the Oracle service name
ORADCE. It is used to connect to the service registered as DCE_SVC in the CDS
directory
/.../cell_name/subsys/oracle/names.
ORADCE=(DESCRIPTION=(ADDRESS=(PROTOCOL=DCE)(SERVER_PRINCIPAL=oracle)(CELL_
NAME=cell1)(SERVICE=DCE_SVC))(CONNECT_DATA=(SID=ORASID)))
Note: In this example, the Oracle service name and the DCE
service name are different, although they are frequently the same.
Parameter Name Type Mandatory? Description
PROTOCOL=DCE keyword
value pair
Yes Appears in the address sections of (i)
listener.ora, a listener configuration
file, and (ii) tnsnames.ora, a local
naming configuration file.
SERVER_
PRINCIPAL
DCE
Parameter
No Appears in tnsnames.ora
SERVICE DCE
Parameter
Yes The value given for the DCE parameter
(SERVICE=dce_service_name) must be the
same in listener.ora and
tnsnames.ora