Sun Java System Directory Server Enterprise Edition 6.2 관리 설명서

Procedure전역 계정 잠금에 대한 작업 선호도 알고리즘을 구성하는 방법

이 알고리즘에 대한 설명은 Sun Java System Directory Server Enterprise Edition 6.2 ReferenceOperational Affinity Algorithm for Global Account Lockout을 참조하십시오.

이 예에서는 세 개의 데이터 소스를 사용합니다. 데이터 소스 ds-1이 모든 바인드 요청을 수신하도록 구성됩니다.

DSCC를 사용하여 이 작업을 수행할 수 있습니다. 자세한 내용은 디렉토리 서비스 제어 센터 인터페이스 및 DSCC 온라인 도움말을 참조하십시오.

시작하기 전에

데이터 소스 풀에 데이터 소스가 세 개 이상 첨부되어 있는지 확인합니다. 데이터 소스 및 데이터 소스 풀을 만드는 방법에 대한 자세한 내용은 20 장, LDAP 데이터 소스 및 데이터 소스 풀을 참조하십시오.

  1. 데이터 소스 풀이 작업 선호도 알고리즘을 사용하도록 구성합니다.


    $ dpconf set-ldap-data-source-pool-prop -h host -p port pool-name \
     load-balancing-algorithm:operational-affinity
  2. 첫 번째 데이터 소스의 등록 정보를 구성합니다.


    $ dpconf set-attached-ldap-data-source-prop -h host -p port pool-name ds-1 \
     add-weight:1 bind-weight:100 compare-weight:1 delete-weight:1 modify-dn-weight:1 \
     modify-weight:1 search-weight:1
  3. 두 번째 데이터 소스의 등록 정보를 구성합니다.


    $ dpconf set-attached-ldap-data-source-prop -h host -p port pool-name ds-2 \
     add-weight:1 bind-weight:1 compare-weight:1 delete-weight:1 modify-dn-weight:1 \
     modify-weight:1 search-weight:1
  4. 세 번째 데이터 소스의 등록 정보를 구성합니다.


    $ dpconf set-attached-ldap-data-source-prop -h host -p port pool-name ds-3 \
     add-weight:1 bind-weight:1 compare-weight:1 delete-weight:1 modify-dn-weight:1 \
     modify-weight:1 search-weight:1
  5. 첨부된 데이터 소스의 키 매개 변수를 비교합니다.


    $ dpconf list-attached-ldap-data-sources -h host -p port -v pool-name
    Name add-weight bind-weight compare-weight delete-weight modify-dn-weight modify-weight search-weight
    --   ---------- ----------- -------------- ------------- ---------------- ------------- -------------
    ds-1 1          1           1              1             1                1             1
    ds-2 1          100         1              1             1                1             1
    ds-3 1          1           1              1             1                1             1
  6. 디렉토리 프록시 서버 인스턴스를 다시 시작합니다.


    $ dpadm restart instance-path