Before migrating replication configuration attributes, ensure that there are no pending changes to be replicated. You can use the insync command to do this.
In addition to the configuration attributes, all entries under cn=replication,cn=config must be migrated. You must manually update the host and port on all replication agreements to the new instance, as well as the path to the change log database (nsslapd-changelogdir).
The following sections list the replication configuration attributes that must be migrated:
Old Attribute Name |
Directory Server 7.0 Attribute Name |
---|---|
nsslapd-changelogmaxage |
dschangelogmaxage |
nsslapd-changelogmaxentries |
dschangelogmaxentries |
In addition, these attributes must be moved from cn=changelog5,cn=config to cn=replica,cn=suffixname,cn=mapping tree,cn=config entries (for each suffix name).
If your topology uses fractional replication, the following attribute names must be changed.
Table 4–2 Fractional Replication Attribute Name Changes
Old Attribute Name |
Directory Server 7.0Attribute Name |
---|---|
dsFilterSPType == fractional_include |
dsReplFractionalInclude |
dsFilterSPType == fractional_exclude |
dsReplFractionalExclude |
The values of the following replica configuration attributes must be migrated:
ds5ReferralDelayAfterInit nsDS5Flags nsDS5ReplicaBindDN nsDS5ReplicaId nsDS5ReplicaLegacyConsumer nsDS5ReplicaName nsDS5ReplicaPurgeDelay nsDS5ReplicaReferral nsDS5ReplicaRoot nsDS5ReplicaTombstonePurgeInterval aci
The dschangelogmaxage and dschangelogmaaxentries attributes are added to the replica entry.
The values of the following attributes must be migrated for each replication agreement:
description ds5agreementEnable ds5ReplicaTransportCompressionLevel ds5ReplicaTransportGroupSize ds5ReplicaTransportWindowSize nsDS5ReplicaBindDN nsDS5ReplicaBindMethod nsDS5ReplicaCredentials nsDS5ReplicaHost nsDS5ReplicaPort nsDS5ReplicaRoot nsDS5ReplicaTimeout nsDS5ReplicaTransportInfo nsDS5ReplicaUpdateSchedule aci
Issues can arise when you migrate the nsDS5ReplicaCredentials attribute. For more information, see Manual Reset of Replication Credentials.
There is no ds5PartialReplConfiguration attribute in Directory Server 7.0. This attribute must be removed.
If you are using fractional replication, the dsReplFractionalInclude and dsReplFractionalExclude attributes are added for each replication agreement.
All attributes under "cn=replication,cn=config" are migrated.