Total Pageviews

Wednesday, September 24, 2014

enabling and disabling changelog Generation OID 10G


Change log generation for the changes made by oidcmprec depends on the value of the orcldiprepository attribute of the root DSE. Change log generation behavior, however, can be controlled by using the genchglog argument.

The genchglog argument can have the following values:
default: The directory server settings determine whether a change log is generated or not. Change logs are generated if the root entry's orcldiprepository attribute is set to true.

They are not generated if orcldiprepository is set to false. The same rule applies for both the source and destination directories. default is the default value for gechglog.

true: Change logs are always generated, irrespective of the settings on the source and destination directories.

false: Change logs are never generated, irrespective of the settings on the source and destination directories.


In the following example, genchglog=false to turns off change log generation:

oidcmprec operation=merge scope=subtree base="'dc=com'" \
          source=myhost1.mycom.com:389/replication_dn_pwd \
          destination=myhost2.mycom.com:389/replication_dn_pwd \
          inclattr="*" exclattr="orclguid creatorsname modifiersname" \
          file=merge genchglog=false

 

No comments:

Post a Comment