My Oracle Support Banner

Duplicating or Replacing Schema in OID (Preparing for Backup / Schema Migration / Replication Configuration) (Doc ID 236667.1)

Last updated on AUGUST 25, 2020

Applies to:

Oracle Internet Directory - Version 10.1.2 and later
Information in this document applies to any platform.

Purpose

This document provides additional steps to dump the Oracle Internet Directory (OID) schema when custom objectclasses and attributes have been added.

Intended for same version OID to OID migration.  Do not use this full article for cross version migration.

For 10g to higher version migration, it is best to use section titled "TO MIGRATE CUSTOM OBJECTCLASSES AND ATTRIBUTES" from the following Note, and select Only Custom objectclasses and attributes from the source OID 10g to be added to the destination OID:

   Considerations For Migrating Entries From One OID To Another (Doc ID 436998.1)

Scope

When setting up OID replication, the OID schema in all nodes in the Directory Replication Group (DRG) must be the same.  If the schema modifications were made with Oracle Directory Services Manager (ODSM) / Oracle Directory Manager (ODM / oidadmin) and/or there is no LDIF file representing these customizations, then this procedure can be used to create a schema dump.  That file can then be used to update the other nodes in preparation for setting up an OID replicated environment.

The schemasync tool should be used.

The schemasync command-line tool enables you to synchronize schema elements, namely attributes and object classes between an Oracle Internet Directory server and a third-party LDAP directory or another Oracle Internet Directory server.

Review its documentation:

12c:
Oracle® Fusion Middleware Reference for Oracle Identity Management 12c (12.2.1.4.0)
Chapter 5 Oracle Directory Integration Platform Tools
Section 5.8 Schema Elements Synchronization Utility

11g:
Oracle® Fusion Middleware Reference for Oracle Identity Management 11g Release 1 (11.1.1)
Chapter 5 Oracle Directory Integration Platform Tools
Section 5.8 schemasync

10gR3 (10.1.4):
Oracle® Identity Management User Reference 10g (10.1.4.0.1)
Chapter 6 Oracle Directory Integration Platform Tools
Section 6.4 schemasync

10gR2 (10.1.2):
Oracle Identity Management User Reference 10g Release 2 (10.1.2)
Chapter 6 Oracle Directory Integration and Provisioning Tools
Section 6.4 schemasync

Details

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

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


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