Creating a master-replica topology

You can use the information and example provided here to create a master-replica topology.

Note: Before setting up your replication topology, make a backup copy of your original ibmslapd.conf, ibmslapdcfg.ksf, and ibmslapddir.ksf files. You can use this backup copy to restore your original configuration if you encounter difficulties with replication.
The following diagram shows a basic master-replica topology:
Figure 1. Basic master-replica topology
The illustration shows a master server with one replica server as its consumer.
To define a basic master-replica topology, you must:
  1. Create a master server and define what it contains. Select the subtree that you want to be replicated and specify the server as the master.
  2. Create credentials to be used by the supplier.
  3. Create a replica server.
  4. Export data to the replica.
Note: While setting up a new replica, when the data is exported to the replica , you must also copy the password policy entry.

The following sections explain how to accomplish the tasks mentioned above.

Note: If the entry that you are trying to make the root of a new replication context is not a suffix in the server, before you can use the Add subtree function to add the replication configuration information, you must ensure that its ACLs are defined as follows:
For Non-filtered ACLs :
ownersource : <the entry DN> 
ownerpropagate : TRUE
aclsource : <the entry DN> 
aclpropagate: TRUE
Filtered ACLs :
ownersource : <the entry DN> 
ownerpropagate : TRUE
ibm-filteraclinherit : FALSE
ibm-filteraclentry : <any value> 
To satisfy the ACL requirements, if the entry is not a suffix in the server, edit the ACL for that entry in the Manage entries panel:
  1. Click Directory management–>Manage entries in the left nav panel.
  2. Select an entry and open the Select Action menu.
  3. Select Edit ACL and click Go. If you want to add Non-filtered ACLs, select that tab and add an entry cn=this with the role access-id for both ACLs and owners.
  4. Ensure that Propagate ACLs and Propagate owner are checked.If you want to add Filtered ACLs select that tab and add an entry cn=this with the role access-id for both ACLs and owners.
  5. Ensure that Accumulate filtered ACLs is unchecked and that Propagate owner is checked. See Working with ACLs for more detailed information.