32
Bootstrapping of a Directory in the Oracle Directory Integration Platform
This chapter contains these topics:
Bootstrapping Oracle Internet Directory from a Connected Directory
When the connected directory is the source of truth, bootstrapping involves migration of data from the connected directory to Oracle Internet Directory. This can be achieved using any of the following methods:
If the directory from which the Oracle Internet Directory is being bootstrapped is also going to be part of the Oracle Directory Integration platform environment--as is the case, for example, with Oracle HR--then follow the steps in this chapter for the initial bootstrap.
Using External Tools to Import Data into Oracle Internet Directory
- Disallow any updates to the connected directory by setting it to read-only mode.
- Dump the data from the connected directory in an LDIF file format or in an LDIF template format.
- If the data is in the LDIF format, use the bulkload tool to upload the data to Oracle Internet Directory.
- After copying is complete and verified, set the connected directory back to the update mode.
Setting up a Connector to Import Data in Oracle Internet Directory
With this method, the connector pulls changes from the connected directory based on either a timestamp (orclOdipLastSuccessfulExecutionTime attribute) or `Last Applied Change Number' (orclOdipConDirLastAppliedChgNum) depending on how the connected directory identifies its changes. The data can be bootstrapped onto OID in the following sequence:
- Disallow any updates to the connected directory by setting it to the read-only mode.
- Register the connected directory agent with the Oracle Directory Integration platform by using the Oracle Directory Manager.
- The Directory Integration Server starts the import operation based on the scheduling interval. Wait for the synchronization to complete.
- Once the synchronization is complete and verified, set the connected directory back to the update mode.
Bootstrapping a Connected Directory from Oracle Internet Directory
Similar to bootstrapping OID from a connected directory, bootstrapping the connected directory from OID can also be achieved by either of the methods described in these topics:
Using External Tools to Export Data from OID
- Disallow any updates to Oracle Internet Directory by setting it to the read-only mode.
- Dump the data from OID to an LDIF file using the LDIFWrite tool.
- Use the LDIF file to load data to the connected directory.
Setting up a Connector to Export Data from OID
With this method, the changes from OID are pushed to the connected directory based on OID Last applied change number (orclLastAppliedChangeNumber attribute). The data can be bootstrapped onto the connected directory in the following sequence:
- Disallow any updates to Oracle Internet Directory by setting it to the read-only mode.
- Register the connected directory agent with the Oracle Directory Integration Platform using the Oracle Directory Manager.
- The Directory Integration Server starts the export operation based on the scheduling interval. Wait for the export to complete.
- Once the synchronization is complete and verified, set the connected directory back to the update mode.