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 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:
- Click Directory management–>Manage entries in the left
nav panel.
- Select an entry and open the Select Action menu.
- 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.
- 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.
- Ensure that Accumulate filtered ACLs is unchecked and that Propagate
owner is checked. See Working with ACLs for
more detailed information.