11.3. 복제본의 단조를 방지하기 위해 공급자 구성
이 절차에서는 복제본의 단조를 방지하기 위해 공급자에서 매개변수를 설정하는 방법을 설명합니다.
환경 및 로드의 차이로 인해 상황에 맞는 매개변수만 설정하고 환경에 따라 값을 조정합니다.
사전 요구 사항
- 복제 토폴로지에는 여러 공급업체가 있습니다.
-
Directory Server는
Replica Busy를 자주 기록합니다! status: [Error (1) Replication error obtaining replica: replica busy]
오류입니다.
프로세스
복제본에서 사용 중인 응답을 보낸 후 복제본에 대한 액세스를 얻기 위해 다른 시도를 시작하기 전에 공급자가 대기하는 시간을 구성하도록
nsds5ReplicaBusyWaitTime
매개변수를 설정합니다.dsconf <supplier_instance_name> repl-agmt set --suffix "dc=example,dc=com" --busy-wait-time 5 replication_agreement_name
# dsconf <supplier_instance_name> repl-agmt set --suffix "dc=example,dc=com" --busy-wait-time 5 replication_agreement_name
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 이 명령은 대기 시간을
5
초로 설정합니다. 이 설정은 지정된 복제 계약에만 적용됩니다.nsds5ReplicaSessionPauseTime
매개변수를 설정하여 공급자가 두 업데이트 세션 간에 대기하는 시간을 구성합니다.dsconf <supplier_instance_name> repl-agmt set --suffix "dc=example,dc=com" --session-pause-time 15 replication_agreement_name
# dsconf <supplier_instance_name> repl-agmt set --suffix "dc=example,dc=com" --session-pause-time 15 replication_agreement_name
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 이 명령은 일시 중지를
15
초로 설정합니다. 기본적으로nsds5ReplicaSessionPauseTime
은nsds5ReplicaBusyWaitTime
의 값보다 1초 더 길었습니다. 이 설정은 지정된 복제 계약에만 적용됩니다.업데이트 전송이 완료되었는지 여부와 관계없이 지정된 시간 후에 복제 세션을 종료하도록
nsds5ReplicaReleaseTimeout
매개변수를 설정합니다.dsconf <supplier_instance_name> replication set --suffix "dc=example,dc=com" --repl-release-timeout 90
# dsconf <supplier_instance_name> replication set --suffix "dc=example,dc=com" --repl-release-timeout 90
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 이 명령은 시간 제한을
90
초로 설정합니다. 이 설정은 지정된 접미사의 모든 복제 계약에 적용됩니다.선택 사항: 속도가 느리거나 손상된 연결을 통해 업데이트를 전송하려고 소비자에 연결되지 않도록 공급 업체의 시간 초과 기간을 설정합니다.
dsconf <supplier_instance_name> repl-agmt set --conn-timeout 600 --suffix "dc=example,dc=com" replication_agreement_name
# dsconf <supplier_instance_name> repl-agmt set --conn-timeout 600 --suffix "dc=example,dc=com" replication_agreement_name
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 이 명령은 시간 제한을
600
초(10분)로 설정합니다. optimal 값을 확인하려면 복제 프로세스가 걸리는 평균 시간 동안 액세스 로그를 확인하고 그에 따라 시간 초과 기간을 설정합니다.