Show Table of Contents
11.8. Temporarily Suspending Replication
By default, replication is enabled and active as soon as the replication agreement is created, and replication proceeds on the given schedule. There can be times when it is necessary to suspend replication, such as when a server is taken down for maintenance. An attribute can be added to the replication agreement entry which disables replication.
11.8.1. Disabling Replication
The
nsds5ReplicaEnabled attribute on the replication entry sets whether the replication agreement is active. This attribute is missing by default and has a presumed value of on, meaning that replication is enabled.
To stop replication from a supplier, set the
nsds5ReplicaEnabled attribute to off.
[root@server ~]# ldapmodify -D "cn=directory manager" -W -x -h supplier1.example.com
dn: cn=ExampleAgreement,cn=replica,cn=dc\=example\,dc\=com,cn=mapping tree,cn=config
changetype: modify
add: nsds5ReplicaEnabled
nsds5ReplicaEnabled: off11.8.2. Re-enabling Replication
- Using
ldapmodify, set thensds5ReplicaEnabledattribute toon.[root@server ~]# ldapmodify -D "cn=directory manager" -W -x -h supplier1.example.com dn: cn=ExampleAgreement,cn=replica,cn=dc\=example\,dc\=com,cn=mapping tree,cn=config changetype: modify add: nsds5ReplicaEnabled
nsds5ReplicaEnabled: onSince the default value for this parameter is true, it is also possible to remove the attribute from the replication agreement entry.changetype: modify remove: nsds5ReplicaEnabled
- Initiate an update, such as using the
replicate_now.shscript as described in Section 11.16.2, “Forcing Replication Updates from the Command Line”.

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.