18장. 두 개의 Directory Server 인스턴스 비교

ds-replcheck 유틸리티를 사용하여 두 개의 Directory Server 인스턴스가 동기화되었는지 확인할 수 있습니다. 온라인 또는 두 개의 LDIF 형식의 파일을 오프라인 모드에서 두 서버를 비교할 수 있습니다.

18.1. 두 Directory Server 인스턴스의 복제 상태 표시

ds-replcheck 유틸리티를 사용하여 두 Directory Server 인스턴스의 복제 상태를 표시할 수 있습니다.

절차

  • 다음 명령을 사용하여 두 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