ds-replcheck man page

ds-replcheck — Performs replication synchronization report between two replicas

Synopsis

ds-replcheck [-h] [-o FILE] [-D BINDDN] [-w BINDPW] [-m MURL]
            [-r RURL] [-b SUFFIX] [-l LAG] [-Z CERTDIR]
            [-i IGNORE] [-p PAGESIZE] [-M MLDIF] [-R RLDIF]

Description

ds-replcheck has two operating modes: offline - which compares two LDIF files (generated by db2ldif -r), and online mode - which queries each server to gather the entries for comparisions.  The tool reports on missing entries, entry inconsistencies, tombstones, conflict entries, database RUVs, and entry counts.

Options

A summary of options is included below:

-h

Display usage

-D Root DN

The Directory Manager DN, or root DN.a (online mode)

-w PASSWORD

The Directory Manager password (online mode)

-m LDAP_URL

The LDAP Url for the first replica (online mode)

-r LDAP URL

The LDAP Url for the the second replica (online mode)

-b SUFFIX

The replication suffix.  (online & offline)

-l Lag time

If an inconsistency is detected, and it is within this lag allowance it will *NOT* be reported.  (online mode)

-Z CERT DIR

The directory containing a certificate database for StartTLS/SSL connections.  (online mode)

-i IGNORE LIST

Comma separated list of attributes to ignore in the report  (online & offline)

-M LDIF FILE

The LDIF file for the first replica  (offline mode)

-R LDIF FILE

The LDIF file for the second replica  (offline mode)

-p PAGE SIZE

The page size used for the paged result searches that the tool performs.  The default is 500.  (online mode)

-o OUTPUT FILE

The file to write the report to.  (online and offline)

Example

ds-replcheck -D "cn=directory manager" -w PASSWORD -m ldap://myhost.domain.com:389 -r ldap://otherhost.domain.com:389 -b "dc=example,dc=com" -Z /etc/dirsrv/slapd-myinstance

ds-replcheck -b dc=example,dc=com -M /tmp/replicaA.ldif -R /tmp/replicaB.ldif

Author

ds-replcheck was written by the 389 Project.

Reporting Bugs

Report bugs to https://pagure.io/389-ds-base/new_issue

Info

May 2, 2017