Total Pageviews

Wednesday, September 24, 2014

increasing or decreasing replication speed in OID 10g when using LDAP-Based Replication orclupdateschedule

the default configuration achieves a processing time that is approximately 1 minute during which the change is retrieved from the supplier(master) and applied to the consumer.

Changing the default value for the orclupdateschedule attribute to 0 results in a replication time of 1 second. it means every second changes will be replicated to Consumer from Supplier.

 

 

 if you are using LDAP-Based Replication, Replicatoin   interval changes can be achieved by following these steps:

  1. Edit mod.ldif as follows:
    dn: orclAgreementID=unique_identifier_of_the_replication_agreement,
     orclReplicaId=unique_identifier_of_the_supplier,
     cn=replication configuration
    changetype:modify 
    replace: orclupdateschedule 
    orclupdateschedule: 0
    
    
  2. On the consumer host, upload mod.ldif as follows:
 
   ldapmodify -h consumer_host_name -p consumer_port -D cn=orcladmin \    -w administrator_password -v -f mod.ldif
 
3. Restart the directory replication server
 
oidctl connect=connect_string server=oidrepld instance=instance_number restart
 
 

No comments:

Post a Comment