My Oracle Support Banner

How to Copy / Move/ Migrate Oracle Net Service Names(TNS entries) from one OID OracleContext to a New OID OracleContext (Doc ID 232930.1)

Last updated on NOVEMBER 30, 2023

Applies to:

Oracle Net Services - Version to [Release 8.1.7 to 11.2]
Oracle Internet Directory - Version 9.0.4 to [Release 10gR1 to 10gR3]
Net Manager - NetMgr - Version to [Release 12.1]
Information in this document applies to any platform.
Oracle Internet Directory - Version: 2.1.1 to


This article is for DBAs using LDAP for Oracle Net service naming, but not particularly familiar with Oracle Internet Directory (OID) and the tools to manage LDAP directory entries.

It describes the steps to create a new OracleContext under a new Directory Information Tree (DIT) or subscriber DN and copy the Oracle Net service names from the old DIT to the new DIT.

Slight variations on this technique can be used to backup Oracle Net Service names or to migrate them from one server to another.

Warning: This technique does not take into account the sub-entries which if not present will cause NetManager to fail if used to manage the entries.
See <Note 359545.1> and for a solution see <note 859716.1>


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 1. Export the existing Oracle Net Service names from the current OracleContext.
 2. Create the new subscriber DN or DIT where the context is to be created.
 3. Create a new OracleContext under this DIT.
 4. Edit the LDIF file(s).
 5. Load the Oracle Net service names from the LDIF files to the new DIT.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.