Scroll to navigation

DS-REPLCHECK(1) General Commands Manual DS-REPLCHECK(1)

NAME

ds-replcheck - Performs replication synchronization report between two replicas

SYNOPSIS

ds-replcheck [-h] [-o FILE] [-D BINDDN] [[-w BINDPW] [-W]] [-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:


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

Prompt for the Directory Manager password (online mode)
The LDAP Url for the first replica (online mode)
The LDAP Url for the the second replica (online mode)
The replication suffix. (online & offline)
If an inconsistency is detected, and it is within this lag allowance it will *NOT* be reported. (online mode)
The directory containing a certificate database for StartTLS/SSL connections. (online mode)
Comma separated list of attributes to ignore in the report (online & offline)

Display verbose conflict entry information
The LDIF file for the first replica (offline mode)
The LDIF file for the second replica (offline mode)
The page size used for the paged result searches that the tool performs. The default is 500. (online mode)
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

COPYRIGHT

Copyright © 2018 Red Hat, Inc.

February 14, 2018