(No Ratings Yet)
Loading...
Contents
- 1 How to install and configure Odsee to oud directory replication
- 1.1 First install an OUD directory
- 1.2 Migrate ODSEE to OUD schema and roles
- 1.3 Get a one time ODSEE full export from
- 1.4 Clean Import ODSEE Data in OUD – OUD has to be down at import time
- 1.5 Install and Configure Replication Gateway
- 1.6 Prepare OUD for initialization
- 1.7 Final Import ODSEE in OUD
- 1.8 OUD post–initialization
- 2 References
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 ldap1.domain.com -p 389 --oudBindDN "cn=directory manager" --oudBindPasswordFile /oud/pw.txt --oudHostname ldap1.domain.com --oudAdminPort 4444 --oudPort 1389
Get a one time ODSEE full export from
export from DSEE and copy to replication gatewaydsadm 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.ldifStart OUD
start-ds
Install and Configure Replication Gateway
/oud/Oracle/Middleware/Oracle_OUD1/oud-replication-gateway-setup
Prepare OUD for initialization
/oud/Oracle/Middleware/asinst_2/OUD/bin/dsreplication pre-external-initialization -h ldap1.domain.com -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 ldap1.domain.com -p 4444 --adminUID admin -j /oud/pw.txt --baseDN dc=domain,dc=com -X -n --noPropertiesFile
References
Oracle Doc ID 1410634.1
5
1
vote
Article Rating