1DS-REPLCHECK(1)             General Commands Manual            DS-REPLCHECK(1)
2
3
4

NAME

6       ds-replcheck  - Performs replication synchronization report between two
7       replicas
8
9

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

25       A summary of options is included below:
26
27
28       -h
29              Display usage
30
31       -D Root DN
32              The Directory Manager DN, or root DN.a (online mode)
33
34       -w PASSWORD
35              The Directory Manager password (online mode)
36
37       -W
38              Prompt for the Directory Manager password (online mode)
39
40       -m LDAP_URL
41              The LDAP Url for the first replica (online mode)
42
43       -r LDAP URL
44              The LDAP Url for the the second replica (online mode)
45
46       -b SUFFIX
47              The replication suffix.  (online & offline)
48
49       -l Lag time
50              If an inconsistency is detected,  and  it  is  within  this  lag
51              allowance it will *NOT* be reported.  (online mode)
52
53       -Z CERT DIR
54              The directory containing a certificate database for StartTLS/SSL
55              connections.  (online mode)
56
57       -i IGNORE LIST
58              Comma separated list of  attributes  to  ignore  in  the  report
59              (online & offline)
60
61       -c
62              Display verbose conflict entry information
63
64       -M LDIF FILE
65              The LDIF file for the first replica  (offline mode)
66
67       -R LDIF FILE
68              The LDIF file for the second replica  (offline mode)
69
70       -p PAGE SIZE
71              The  page  size used for the paged result searches that the tool
72              performs.  The default is 500.  (online mode)
73
74       -o OUTPUT FILE
75              The file to write the report to.  (online and offline)
76
77

EXAMPLE

79       ds-replcheck    -D    "cn=directory    manager"    -w    PASSWORD    -m
80       ldap://myhost.domain.com:389   -r   ldap://otherhost.domain.com:389  -b
81       "dc=example,dc=com" -Z /etc/dirsrv/slapd-myinstance
82
83       ds-replcheck -b dc=example,dc=com -M /tmp/replicaA.ldif -R  /tmp/repli‐
84       caB.ldif
85
86

AUTHOR

88       ds-replcheck was written by the 389 Project.
89

REPORTING BUGS

91       Report bugs to https://pagure.io/389-ds-base/new_issue
92
94       Copyright © 2018 Red Hat, Inc.
95
96
97
98
99                                 Feb 14, 2018                  DS-REPLCHECK(1)
Impressum