Skip to Main Content
  • Questions
  • Moving from from tnsnames.ora to Names? OID?

Breadcrumb

Question and Answer

Chris Saxon

Thanks for the question, Mark.

Asked: October 09, 2004 - 7:40 pm UTC

Last updated: September 29, 2023 - 9:57 am UTC

Version: 9.2.0

Viewed 10K+ times! This question is

You Asked

Hi Tom,

The company I work for has quite a number of Oracle databases,
on the order of 200 or so, including development, test, preprod,
production, etc, all hosted on Solaris, currently. We have a pretty
large number of unix clients of various flavors, mostly Solaris and
Linux (probably several hundred of those), and another several hundred
desktops which are Windows 2k and XP. Right now, we are using
tnsnames.ora files everywhere. The Windows boxes aren't too bad, we
have TNS_ADMIN pointed to a network drive where the tnsnames.ora file
sits. The unix boxes, clients and servers, all have individual
tnsnames.ora files. So, there is not one single, all encompassing,
tnsnames.ora anywhere.

Oracle used to have something called Names, or Name Server, and I
think it's been replaced by OID (Oracle Internet Directory), which
from what I read is an LDAP server, though it's not entirely clear
to me exactly what LDAP really is. I guess what I'm saying is that
I'm not exactly sure where to start. All I really want is a
convenient, reliable way to administer all those TNS names.
The couple of false starts I've already made, I get the idea that
LDAP is for a lot more than just TNS names, doing single-signon,
and other stuff like that. The documentation I've run into talks
about setting up an LDAP directory service, etc.

I guess my question is this:
I want to centrally administer my tnsnames.ora file. What product
should I be using, and what is the bare minimum required do that?

Pointers to the right docs, (ones that assume the reader has never
seen LDAP and doesn't know how it works) would be great. If you
could outline the approach for the bare minimum setup, that would
be even better.

Thanks for your help,

-Mark

and Tom said...

names was the "old proprietary" way to do it (before any standards for directories existed)

It is deprecated -- not to be used especially for new implementations.

OID (ldap) is definitely the way forward for directory services and if you are going to use a directory for naming.

LDAP is the Lightweight Directory Access Protocol. It is "easier than DAP" and has been evolving for a couple of years now and is very widely adopted (it'll be around for a while).

LDAP is capable of doing many things for you -- but it can simply do "serve up database names" as well.

You would start in the net admin guide for "just setting up naming in a directory"

</code> http://docs.oracle.com/cd/B10501_01/network.920/a96580/toc.htm

in particular:

http://docs.oracle.com/cd/B10501_01/network.920/a96580/ldap_set.htm#483585 <code>





Rating

  (4 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

LDAP

ARU, August 29, 2006 - 9:04 pm UTC

Hi Tom,
We are going to be using 10G databases and would like to implement LDAP from 10G itself. But I have heard that LDAP or OID in now bundled in the 10G application server and not the 10G database server. Is that true?
I am a total newbie to this. Could you also point me to docs with 10G in mind and also advice if we use 10G for LDAP will it also support 9i databases as well?
Regards,
RahulD.

Tom Kyte
August 30, 2006 - 8:08 am UTC

for licensing information - best to talk to your sales contact.

all docs are on otn.oracle.com -> documentation. OID uses it's own database and anything that needs ldap can use it, yes.

Update for OID 12c

Andre, April 05, 2023 - 12:53 pm UTC

Hi Tom,
We, too, are looking to replace the multitude of tnsnames.ora files with OID and using the LDAP directory services option.
Kindly point me to a doc on how to replace our tnsnames.ora files by means of using OID 12c (Oracle Internet Directory).

Kind regards
Andre


Connor McDonald
April 06, 2023 - 6:58 am UTC

Check MOS note 120717.1

A reader, August 30, 2023 - 12:00 pm UTC

We have some entities in our customer portfolio that are using Oracle Internet Directory.
We are working on consolidation on ExaCC with them and we need to know if OID is still currently supported with 19c integration ideally Autonomous?
if not what would be the migration strategie? Global Data Services ?
Connor McDonald
August 31, 2023 - 2:59 am UTC

Quick question - are they using OID in its own right, or using it as a "gateway" to get Active Directory?

ATP support for TNS directory/EUS

Andrejs, August 31, 2023 - 9:59 am UTC

Good question about ADBs.
We have many clients using OID/OUDs with thousands of DB registrations. Just for the TNS repository or together with EUS global roles.

Some items are now being shifted onto OCI (ADBs, ExaCS).
And it is unclear how to handle these migrated items with the current enterprise directory.

The ADB documentation specifies only the on-premises Microsoft AD support with CMU. But that's not about the TNS repository (DB links, etc).

Is there any future plan to support Autonomous Databases to talk with OID, OUD, or any other directory service to reference the enterprise TNS repository? EUS? Or it's done?
Chris Saxon
September 29, 2023 - 9:57 am UTC

OID/OUDs are not supported on ADB currently. I don't know of plans to support these.

ADB can use Kerberos, OCI IAM and Azure Active Directory