The following example shows how to extend a PingDirectoryProxy server's configuration to use a criteria-based load-balancing algorithm to route all write requests to a single server using a failover load-balancing algorithm. This example can be extended to support alternate criteria and more complex topologies using multiple locations or entry balancing.
This example uses a basic deployment of a PingDirectoryProxy server fronting three directory servers: ds1.example.com
,
ds2.example.com
, and ds3.example.com
.
The PingDirectoryProxy server routes all write operations to
ds1.example.com
as long as it's available and then to
ds2.example.com
if it's not. The PingDirectoryProxy server routes other types of operations, such as
searches and binds, to all three servers using the fewest operations load-balancing
algorithm.