You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
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-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.
Configure the LDAP data source pool to use an algorithm.
$ dpconf set-ldap-data-source-pool-prop -h host -p port pool-name \ load-balancing-algorithm:selected-algorithm |
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 Sun Java System Directory Server Enterprise Edition 6.2 Reference.
Restart the instance of Directory Proxy Server.
$ dpadm restart instance-path |