load balancing only, that is, each LDAP server is allotted a certain percentage of the total load.
The
ids-proxy-sch-LoadBalanceProperty
object class has one attribute,
ids-proxy-con-Server
, whose value has the following syntax:
server-name
[#
percentage
]
In Iplanet Directory Access Router 5.0 (IDAR) these configuration attributes are stored under
ids-proxy-con-Name=load-balance,ou=properties,ou=pd2,ou=iDAR,o=services
. In
Directory Proxy Server 5.2, these configuration attributes are stored under
ids-proxy-con-name=load-balancing-1,ou=properties,cn=
user-defined-name
,ou=dar-config,o=NetscapeRoot
.
In Directory Proxy Server 6.0, load balancing is configured as a property of a data source pool. A
data source pool is essentially a collection of LDAP servers to which Directory Proxy Server can
route requests. For information about setting up a data source pool, see “Creating and
Configuring LDAP Data Source Pools” in
Sun Java System Directory Server Enterprise
Edition 6.0 Administration Guide
. For a list of properties associated with a data source pool, run
the following command:
$ dpconf help-properties | grep ldap-data-source-pool
Directory Proxy Server 6.0 supports proportional load balancing but also supports additional
load balancing algorithms. To configure proportional load balancing, set the property of the
data source pool as follows:
$ dpconf set-ldap-data-source-pool-prop
data-source-pool-name
load-balancing-algorithm:proportional
The percentage of load allotted to each server is configured by setting various properties of an
attached data source. An attached data source is a data source that has been attached to a
specific data source pool. To configure proportional load, set the weight properties of the
attached data source for each operation type as follows:
$ dpconf set-attached-ldap-data-source-prop
data-source-pool-name attached-data-source-name
add-weight:
value
bind-weight:
value
compare-weight:
value
delete-weight:
value
modify-dn-weight:
value
modify-weight:
value
search-weight:
value
For more information, see “Configuring Load Balancing” in
Sun Java System Directory Server
Enterprise Edition 6.0 Administration Guide
.
Monitoring Backend Servers
To monitor the state of its backend LDAP servers, Directory Proxy Server 5 performs an
anonymous search operation on the RootDSE of each server every ten seconds. Directory Proxy
Mapping the Properties Configuration
Sun Java System Directory Server Enterprise Edition 6.0 Migration Guide • March 2007
100
Sun Confidential: Registered
Содержание Sun Java System Directory Server Enterprise Edition 6.0
Страница 7: ...Index 145 Contents 7 Sun Confidential Registered...
Страница 8: ...8 Sun Confidential Registered...
Страница 10: ...10 Sun Confidential Registered...
Страница 13: ...Examples EXAMPLE 7 1 Sample Export Configuration File 109 13 Sun Confidential Registered...
Страница 14: ...14 Sun Confidential Registered...
Страница 36: ...36 Sun Confidential Registered...
Страница 68: ...68 Sun Confidential Registered...