Show Table of Contents
11.10. Making a Read-Only Replica Updatable
Making a read-only server writable means changing the replica from a dedicated consumer or a hub to a supplier.
- Make sure there are no updates in progress.
- Stop the supplier server.
- Open the Directory Server Console for the read-only replica.
- In the Configuration tab, select Replication. In the right pane, select the Enable changelog check box.
- Select the suffix, and, in the Replica Settings tab, change the replica role to a single master or multi-master.

- Assign a unique replica ID.

- Save the changes
- Stop the Directory Server instance:
# systemctl stop dirsrv
- Back up the
/etc/dirsrv/slapd-instance/dse.ldiffile:# cp /etc/dirsrv/slapd-instance/dse.ldif /etc/dirsrv/slapd-instance/dse.ldif-1
Do not name the backup filedse.ldif.bak. Directory Server uses this file name to keep a known working copy of thedse.ldiffile. - Edit the
/etc/dirsrv/slapd-instance/dse.ldiffile.- Search for replication agreements. For example:
dn: cn=replica,cn=dc\5c3Dexample\5c2Cdc\5c3Dcom,cn=mapping tree,cn=config
- Remove the line containing the
nsStateattribute from every replication agreement.
- Start the Directory Server instance:
# systemctl start dirsrv.target
- Monitor the error log file for error messages. For details, see Section E.2.4, “Viewing Logs”.If the replication fails:
- Delete all replication agreements: Section 11.11, “Removing a Supplier from the Replication Topology”.
- Disable replication: Section 11.8.1, “Disabling Replication”.
- Remove the changelog configuration: Section 11.13, “Removing the Changelog”.
- Restart the Directory Server and Admin Console:
# systemctl restart dirsrv.target # systemctl restart dirsrv-admin.service
- Enable replication: Section 11.8.2, “Re-enabling Replication”.
- Create replication agreements: Section 11.2, “Replication Scenarios”.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.