ds-replcheck
Contents
Copyright
Copyright © 2022 Red Hat, Inc.
July 22, 2022 DS-REPLCHECK(1)
Description
Replication Comparison Tool (v2.0). This script can be used to compare two
replicas to see if they are in sync.
Name
ds-replcheck
Options
Sub-commandsds-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 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
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 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
Reporting Bugs
Report bugs to https://github.com/389ds/389-ds-base/issues/new
Synopsis
ds-replcheck [-h] [-v] {online,offline,state} ...
