For two-way LDAP replication, you must start the Oracle Internet Directory replication servers at both the sponsor replica and the new replica, as follows:
Start or restart the replication server at the sponsor replica. Type:
- Log into the sponsor server as oracle
- oidctl server=oidrepld connect=oiddb instance=1 flags=”-h supplier_hostname -p 3060″ start
Start the replication server at the new replica. Type:
- Log into the consumer replica server as oracle
- oidctl server=oidrepld connect=oiddb instance=1 flags=”-h consumer_hostname -p 3060″ start
To check the status of the services:
oidctl connect=oiddb name=oid_1 status
which results in this:
+————————————————————————+
| Process | PID | InstName | CompName | Inst# | Port | Sport |
+————————————————————————+
| oidmon | 7365 | oid_1 | oid1 | | | |
+————————————————————————+
| oidldapd disp| 7432 | oid_1 | oid1 | 1| 3060 | 3131 |
| oidldapd serv| 7463 | oid_1 | oid1 | 1| 3060 | 3131 |
| Config DN | cn=oid1,cn=osdldapd,cn=subconfigsubentry |
| oidrepld | 15836 | oid_1 | oid1 | 1| 3060 | 3131 |