Command-line utilities to view replication status
To determine issues that are related to replication, it is important to view the status of a replication agreement. You can use command-line utilities to view the appropriate operational attributes that are associated with replication.
The two special attributes,
To search a specific replication agreement, issue the ldapsearch
command in the following format:
+ibmrepl and ++ibmrepli, are
defined to request replication-related operational attributes in a search. The +
and ++ are subsets of the operational attributes. The single + is
less expensive. The ++ includes all operational attributes that are shown in the
+ attribute list and the attributes that are listed in the ++
column as shown in the table.| Attribute | "+" Attribute list | "++" Attribute list |
|---|---|---|
+ibmrepl |
ibm-replicationChangeLDIF |
++ibmrepl includes the attributes from
+ibmrepl and the following attributes:
ibm-replicationPendingChanges |
idsldapsearch -h hostname -p port -D cn=adminDN -w adminPW \
-b ReplicationAgreement objectclass=* ++ibmreplFor example,
idsldapsearch -h peer1 -p 1389 -D cn=root -w password -b cn=peer2:2389,\
cn=peer1:1389,ibm-replicaGroup=default,O=sample objectclass=* ++ibmrepl To search all
agreements, issue the ldapsearch command in the following format:
idsldapsearch -h hostname -p port -D cn=adminDN -w adminPW \
-s sub -b " " objectclass=ibm-replicationagreement ++ibmreplFor example,
idsldapsearch -h peer1 -p 1389 -D cn=root -w password -s sub -b " " \
objectclass=ibm-replicationagreement ++ibmrepl To know more about replication status,
see Monitoring replication status in the Administering section in the IBM® Security Verify Directory documentation.