RE: tnsnames.ora file maintenance

  • From: "Goulet, Richard" <Richard.Goulet@xxxxxxxxxxx>
  • To: <adar666@xxxxxxxxxxxx>
  • Date: Tue, 3 Mar 2009 16:13:16 -0500

Don't forget you need an LDAP.ORA file as well.  Example:
 
DIRECTORY_SERVERS=(<server1>:3838, <server2>:3838)
DEFAULT_ADMIN_CONTEXT=""
DIRECTORY_SERVER_TYPE=OID
 

Dick Goulet 

 

________________________________

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Yechiel Adar
Sent: Tuesday, March 03, 2009 3:56 PM
Cc: 'oracle-l@xxxxxxxxxxxxx'
Subject: Re: tnsnames.ora file maintenance


Since it works as ldap you just say in SQLNET.ORA:
NAMES.DIRECTORY_PATH= (TNSNAMES,LDAP)
This way, if there is no tnsnames.ora or the name is not in
tnsnames.ora, sqlnet will try the LDAP.
This gives you the best of two worlds, including the ability to put in
the local tnsnames.ora only the entries you want to override or test
instead of all the entries.

Adar Yechiel
Rechovot, Israel


Sais, Gene wrote: 

        I prefer to set the TNS_ADMIN variable to a common directory.
If someone wants to use their own tnsnames, they can delete the
TNS_ADMIN environment variable.  Otherwise, everyone shares the same
tnsnames.ora file.  The tnsnames.ora file gets updated infrequently and
when it does, it gets distributed to the desktops upon login. 

Other related posts: