The default location for the files used
to configure an Oracle Net network are as follows:
??? On Windows, ORACLE_HOME\net80\admin for Oracle8 and ORACLE_
HOME\network\ admin for Oracle8i and more current releases
??? On Unix, ORACLE_HOME/network/admin
Youcan place these files in another location, in which case youmu st set an environment
or system variable called TNS_ADMIN to the nondefault location. Oracle then
uses TNS_ADMIN to locate the files. The vast majority of systems are configured
using the default location.
The files that form a simple Oracle Net configuration are as follows:
LISTENER.ORA
Contains details for configuring the Oracle Net Listener, such as which instances
or services the Listener is servicing. As the name implies, the Listener ???listens???
for incoming connection requests from clients that want to access the Oracle database
over the network. For details about the mechanics of the Listener??™s function,
see the later section ???Oracle Net and Establishing Network Connections.???
TNSNAMES.ORA
Decodes a service name into a specific machine address and Oracle instance for
the connection request.
Pages:
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167