ds-replcheck1
Usage
ds-replcheck [-h]
[-v]
online,offline,state ...
Overview
Replication Comparison Tool (v2.0). This script can be used to compare two
replicas to see if they are in sync.
Options
Sub-commands
ds-replcheckonline-
Compare two online replicas for differences
ds-replcheckoffline-
Compare two replication LDIF files for differences (LDIF file generated by 'db2ldif -r')
ds-replcheckstate-
Get the general state of replication between two replicas
OPTIONS 'ds-replcheck state'
usage: ds-replcheck online [-h] -m URL -r URL -b SUFFIX -D BINDDN
[-w BINDPW] [-W] [-y PASS_FILE] [-Z CERTDIR]
-mURL,--supplier-urlURL-
The LDAP URL for the Supplier server
-rURL,--replica-urlURL-
The LDAP URL for the Replica server
-bSUFFIX,--suffixSUFFIX-
Replicated suffix
-DBINDDN,--bind-dnBINDDN-
The Bind DN
-wBINDPW,--bind-pwBINDPW-
The Bind password
-W,--prompt-
Prompt for the bind DN password
-yPASS_FILE,--pass-filePASS_FILE-
A text file containing the clear text password for the bind dn
-ZCERTDIR,--cert-dirCERTDIR-
The certificate database directory for secure connections
OPTIONS 'ds-replcheck online'
usage: ds-replcheck online [-h] -m URL -r URL --rid RID -b SUFFIX -D BINDDN
[-w BINDPW] [-W] [-y PASS_FILE] [-l LAG] [-c]
[-Z CERTDIR] [-i IGNORE] [-p PAGESIZE] [-o FILE]
-mURL,--supplier-urlMRL-
The LDAP URL for the Supplier server
-rURL,--replica-urlURL-
The LDAP URL for the Replica server
-bSUFFIX,--suffixSUFFIX-
Replicated suffix
-DBINDDN,--bind-dnBINDDN-
The Bind DN
-wBINDPW,--bind-pwBINDPW-
The Bind password
-W,--prompt-
Prompt for the bind DN password
-yPASS_FILE,--pass-filePASS_FILE-
A text file containing the clear text password for the bind dn
-lLAG,--lag-timeLAG-
The amount of time to ignore inconsistencies (default 300 seconds)
-c,--conflicts-
Display verbose conflict entry information
-ZCERTDIR,--cert-dirCERTDIR-
The certificate database directory for secure connections
-iIGNORE,--ignoreIGNORE-
Comma separated list of attributes to ignore
-pPAGESIZE,--page-sizePAGESIZE-
The paged-search result grouping size (default 500 entries)
-oFILE,--out-fileFILE-
The output file
OPTIONS 'ds-replcheck offline'
usage: ds-replcheck offline [-h] -m LDIF_FILE -r LDIF_FILE --rid RID -b SUFFIX [-c]
[-i IGNORE] [-o FILE]
-mLDIF_FILE,--supplier-ldifLDIF_FILE-
Supplier LDIF file
-rLDIF_FILE,--replica-ldifLDIF_FILE-
Replica LDIF file
--ridRID-
The Replica Identifier (rid) for the "Supplier" server
-bSUFFIX,--suffixSUFFIX-
Replicated suffix
-c,--conflicts-
Display verbose conflict entry information
-iIGNORE,--ignoreIGNORE-
Comma separated list of attributes to ignore
-oFILE,--out-fileFILE-
The output file
-v,--verbose-
Verbose output
History
- Arch Linux 2026-11-01 to Debian 12 (Bookworm): the text shown here
- Debian 11 (Bullseye)
- Debian 10 (Buster)