16.3. 복제 토폴로지 모니터링 출력에서 별칭 사용

보고서를 더 읽기 쉽게 하려면 보고서 출력에 표시되는 고유한 별칭을 설정할 수 있습니다.To make the report more readable, you can set your own aliases that will be displayed in the report output. 기본적으로 복제 모니터링 보고서에는 원격 서버의 호스트 이름이 포함됩니다.

사전 요구 사항

  • 호스트는 복제 토폴로지의 멤버입니다.
  • 소비자를 초기화했습니다.

절차

보고서에 별칭을 표시하려면 다음 방법 중 하나를 사용합니다.

  • ~/.dsrc 파일에 별칭을 정의합니다.

    [repl-monitor-aliases]
    M1 = server1.example.com:389
    M2 = server2.example.com:389
  • -a alias=host_name:port 매개변수를 dsconf 복제 모니터 명령에 전달하여 별칭을 정의합니다.

    # dsconf -D "cn=Directory Manager" ldap://server.example.com replication monitor -a M1=server1.example.com:389 M2=server2.example.com:389

두 경우 모두 dsconf replication monitor 명령은 출력에 별칭을 표시합니다.

...
Supplier: M1 (server1.example.com:389)
--------------------------------
Replica Root: dc=example,dc=com

...
Supplier: M2 (server2.example.com:389)
--------------------------------
Replica Root: dc=example,dc=com