第18章 2 つの Directory Server インスタンスの比較
ds-replcheck
ユーティリティーを使用して、2 つの Directory Server インスタンスが同期されていることを確認できます。オンラインまたはオフラインモードで 2 つの LDIF 形式のファイルを使用して 2 つのサーバーを比較できます。
18.1. 2 つの Directory Server インスタンスのレプリケーションステータス表示
ds-replcheck
ユーティリティーを使用して、2 つの Directory Server インスタンスのレプリケーションステータスを表示できます。
手順
次のコマンドを使用して、2 つの Directory Server インスタンスのレプリケーションステータスを表示します。
#
ds-replcheck state -D "cn=Directory Manager" -W -m ldap://server1.example.com:389 -r ldap://server2.example.com:389 -b "dc=example,dc=com"
Replication State: Replica is behind Supplier by: 264 seconds