DS-REPLCHECK(1)

πŸ“¦
version 3.3.1 Β· 2 versions
  • 3.3.1 Β· arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 2.0.15 Β· ubuntu jammy
, in arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– DS-REPLCHECK(1) πŸ’–

okay bestie, sit down, hydrate, because we're about to talk about the General Commands Manual entry for ds-replcheck and it's honestly giving main character energy ✨


🌸 NAME 🌸

ds-replcheck β€” your little bestie that compares two replicas and tells you if they're matching or if they're in their messy era πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

ds-replcheck [-h] [-v] {online,offline,state} ...

✨ DESCRIPTION ✨

so this is the Replication Comparison Tool (v2.0) πŸŽ€

basically? it's a script. and what it does is it compares two replicas to see if they're in sync. that's it, that's the whole vibe. no cap 🫢


πŸ’œ OPTIONS πŸ’œ

🌈 Sub-commands 🌈

  • ds-replcheck online β€” compares two online replicas for differences. live servers, live drama, we're doing this in real time πŸ”₯
  • ds-replcheck offline β€” compares two replication LDIF files for differences. and just so we're clear, that LDIF file is one generated by db2ldif -r πŸ‘‘
  • ds-replcheck state β€” gets the general state of replication between two replicas. the vibe check, if you will 🧚

⭐ 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]
  • -m URL, --supplier-url URL β€” the LDAP URL for the Supplier server. the source of truth, the origin story πŸ’«
  • -r URL, --replica-url URL β€” the LDAP URL for the Replica server. the one we're side-eyeing πŸ‘€
  • -b SUFFIX, --suffix SUFFIX β€” the replicated suffix. which part of the tree we're talking about 🌳
  • -D BINDDN, --bind-dn BINDDN β€” the Bind DN. who you are, officially πŸ’³
  • -w BINDPW, --bind-pw BINDPW β€” the Bind password. shhh 🀫
  • -W, --prompt β€” prompts you for the bind DN password. no typing it in plain sight, we're discreet πŸŽ€
  • -y PASS_FILE, --pass-file PASS_FILE β€” a text file containing the clear text password for the bind dn. yes, clear text, we said what we said 🫣
  • -Z CERTDIR, --cert-dir CERTDIR β€” the certificate database directory for secure connections. locked down, encrypted, iconic πŸ”

πŸ’… 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]
  • -m URL, --supplier-url MRL β€” the LDAP URL for the Supplier server. (yes, it says MRL up there, and we are not fixing it, the manpage said what it said 😭)
  • -r URL, --replica-url URL β€” the LDAP URL for the Replica server. the other one. the comparison partner 🌸
  • -b SUFFIX, --suffix SUFFIX β€” the replicated suffix 🌳
  • -D BINDDN, --bind-dn BINDDN β€” the Bind DN πŸ’³
  • -w BINDPW, --bind-pw BINDPW β€” the Bind password 🀫
  • -W, --prompt β€” prompt for the bind DN password πŸŽ€
  • -y PASS_FILE, --pass-file PASS_FILE β€” a text file containing the clear text password for the bind dn 🫣
  • -l LAG, --lag-time LAG β€” the amount of time to ignore inconsistencies. default is 300 seconds. so like, chill for five minutes before you start freaking out ⏳
  • -c, --conflicts β€” display verbose conflict entry information. the tea. the receipts. the drama β˜•
  • -Z CERTDIR, --cert-dir CERTDIR β€” the certificate database directory for secure connections πŸ”
  • -i IGNORE, --ignore IGNORE β€” comma separated list of attributes to ignore. not everything deserves your energy πŸ™ˆ
  • -p PAGESIZE, --page-size PAGESIZE β€” the paged-search result grouping size. default is 500 entries. it's giving bite-sized, manageable, we love a snack πŸ“
  • -o FILE, --out-file FILE β€” the output file. write it down so you don't forget πŸ“

πŸŽ€ OPTIONS 'ds-replcheck offline' πŸŽ€

usage: ds-replcheck offline [-h] -m LDIF_FILE -r LDIF_FILE --rid RID -b SUFFIX [-c]
                            [-i IGNORE] [-o FILE]
  • -m LDIF_FILE, --supplier-ldif LDIF_FILE β€” Supplier LDIF file πŸ“„
  • -r LDIF_FILE, --replica-ldif LDIF_FILE β€” Replica LDIF file πŸ“„
  • --rid RID β€” the Replica Identifier (rid) for the "Supplier" server. note the quotes, bestie, they're doing a lot of work there πŸ‘‘
  • -b SUFFIX, --suffix SUFFIX β€” replicated suffix 🌳
  • -c, --conflicts β€” display verbose conflict entry information β˜•
  • -i IGNORE, --ignore IGNORE β€” comma separated list of attributes to ignore πŸ™ˆ
  • -o FILE, --out-file FILE β€” the output file πŸ“
  • -v, --verbose β€” verbose output. say more. say everything. we're listening πŸ’¬

🫢 AUTHOR 🫢

ds-replcheck was written by the 389 Project. legends, honestly ✨


πŸ› REPORTING BUGS πŸ›

found a bug? report it to https://github.com/389ds/389-ds-base/issues/new β€” they wanna know, fr fr πŸ’Œ


Copyright Β© 2022 Red Hat, Inc.


and that's the whole page, bestie πŸ₯° July 22, 2022 energy, DS-REPLCHECK(1) forever, written by the 389 Project and copyrighted Β© 2022 Red Hat, Inc. β€” mwah πŸ’‹ go compare those replicas, you've got this πŸ’–βœ¨
πŸ“¦ where this page comes from