Red Hat Directory Server 8.0 Administrator's Guide

To initialize or reinitialize a consumer online, do the following:
1. Create a replication agreement.
2. On the supplier server, on the Directory Server Console, select the Configuration tab.
3. Expand the Replication folder, then expand the replicated database. Right-click the
replication agreement, and choose Initialize Consumer from the pop-up menu.
A message opens warning that any information already stored in the replica on the consumer
will be removed.
4. Click Yes in the confirmation box.
Online consumer initialization begins immediately. To check the status of the online consumer
initialization, open the Summary tab in the Status box. If online consumer initialization is in
progress, the status shows that a replica is being initialized.
To update this window, right-click the replicated database icon in the navigation tree, and
choose Refresh Replication Agreements. When online consumer initialization finishes, the
status changes to reflect this.
For more information about monitoring replication and initialization status, see Section 17,
“Monitoring Replication Status”.
10.3. Initializing Consumers Online Using the Command Line
Online consumer initialization can be performed through the command line by adding the
nsds5BeginReplicaRefresh attribute to the replication agreement entry. This attribute is
absent by default, and it will be automatically deleted once the consumer initialization is
complete.
1. Find the DN of the replication agreement on the supplier server that is for the consumer to be
initialized. For example:
ldapsearch -h supplier1.example.com -p 389 -D "cn=directory manager" -w
password -s sub
-b cn=config "(objectclass=nsds5ReplicationAgreement)"
This command returns all of the replication agreements configured on the supplier in LDIF
format. Get the DN of the replication agreement with the consumer to be initialized. This is
the replication agreement which will be edited.
2. Edit the replication agreement, and add the nsds5BeginReplicaRefresh attribute:
ldapmodify -h supplier1.example.com -p 389 -D "cn=directory manager" -w
password
Initializing Consumers Online Using the
325