1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

How to install and configure Odsee to oud directory replication

First install an OUD directory

First install and configure a basic OUD installation, as described Installing And Configuring OUD Directory
Note: Do not configure a directory server instance, i.e. Select the option “leave DB empty” and clear the suffix field ,follow the steps below

Migrate ODSEE to OUD schema and roles

Set ODSEE compatibly

Enable multiple structural objectclass

/oud/Oracle/Middleware/asinst_1/OUD/bin/dsconfig set-global-configuration-prop --set single-structural-objectclass-behavior:accept -n -j /tmp/pw.txt

/oud/Oracle/Middleware/asinst_1/OUD/bin/dsconfig set-attribute-syntax-prop --syntax-name Directory\ String --set allow-zero-length-values:true -n -j /tmp/pw.txt

Migrate schema and roles

Copy schema from ODSEE

scp 30ns-samba.ldif 99ns-sudo.ldif ldap1:/var/tmp/schema
cd /oud/Oracle/Middleware/asinst_1/OUD/config/schema/; chmod 640 30ns-samba.ldif 99ns-sudo.ldif

Migrate all other left over schema and roles

/oud/Oracle/Middleware/asinst_1/OUD/bin/ds2oud --migrateAll -D "cn=directory manager" -j /oud/oldPw.txt -h -p 389 --oudBindDN "cn=directory manager" --oudBindPasswordFile /oud/pw.txt --oudHostname --oudAdminPort 4444 --oudPort 1389

Get a one time ODSEE full export from

export from DSEE and copy to replication gateway
dsadm stop /ldap1/ldap/ldap_inst1
dsadm export -f opends-export /ldap1/ldap_inst1/ldap dc=domain,dc=com /tmp/dsee_export.ldif dsadm start /ldap1/ldap/ldap_inst1 cd /ldap1/ldap_inst1/ldap/config/schema scp 30ns-samba.ldif 99ns-sudo.ldif 50ns-web.ldif ldap1:/var/tmp/schema scp /tmp/dsee_export.ldif ldap1:/var/tmp/ chmod 777 /var/tmp/dsee_export.ldif cd /oud/Oracle/Middleware/asinst_1/OUD/config/schema/; chmod 640 30ns-samba.ldif 99ns-sudo.ldif

Clean Import ODSEE Data in OUD – OUD has to be down at import time

/oud/Oracle/Middleware/asinst_1/OUD/bin/import-ldif -l /var/tmp/dsee_export.ldif -b dc=domain,dc=com \
--skipSchemaValidation --skipDNValidation \
--overwrite --rejectFile rejected.ldif --skipFile skipped.ldif
Start OUD

Install and Configure Replication Gateway


Prepare OUD for initialization

/oud/Oracle/Middleware/asinst_2/OUD/bin/dsreplication pre-external-initialization -h -p 4444 --adminUID admin -j /oud/pw.txt --baseDN dc=domain,dc=com -X -n --noPropertiesFile

Final Import ODSEE in OUD

/oud/Oracle/Middleware/asinst_1/OUD/bin/import-ldif -h localhost --port 4444 \
-D cn=Directory\ Manager -j /tmp/pw.txt \
--includeBranch dc=domain,dc=com --ldifFile /var/tmp/dsee_export.ldif \
--clearBackend \
--skipSchemaValidation --skipDNValidation \
--overwrite --rejectFile rejected.ldif --skipFile skipped.ldif \
--trustAll --noPropertiesFile

OUD post–initialization

/oud/Oracle/Middleware/asinst_2/OUD/bin/dsreplication post-external-initialization -h -p 4444 --adminUID admin -j /oud/pw.txt --baseDN dc=domain,dc=com -X -n --noPropertiesFile


Oracle Doc ID 1410634.1

Quick references steps to configure replication

5 1 vote
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
%d bloggers like this: