Oracle Fusion Middleware Administration Guide for Oracle Directory Server Enterprise Edition

ProcedureTo Select a Load Balancing Algorithm

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.

  1. Obtain the current load balancing algorithm by viewing the properties of the LDAP data source pool.

    $ dpconf get-ldap-data-source-pool-prop -h host -p port pool-name

    The default properties of an LDAP data source pool are as follows:

    client-affinity-bind-dn-filters     :  any
    client-affinity-criteria            :  connection
    client-affinity-ip-address-filters  :  any
    client-affinity-policy              :  write-affinity-after-write
    client-affinity-timeout             :  20s
    description                         :  -
    enable-client-affinity              :  false
    load-balancing-algorithm            :  proportional

    By default, the load balancing algorithm is proportional.

  2. Configure the LDAP data source pool to use an algorithm.

    $ dpconf set-ldap-data-source-pool-prop -h host -p port pool-name \

    where selected-algorithm is one of the following:

    • failover

    • operational-affinity

    • proportional

    • saturation

    For more information about the algorithms, see Introduction to Load Balancing in Oracle Fusion Middleware Reference for Oracle Directory Server Enterprise Edition.

  3. Restart the instance of Directory Proxy Server.

    $ dpadm restart instance-path