Configuration Reference Home
Oracle Unified Directory - Failover Load Balancing Algorithm

Failover Load Balancing Algorithm

The Failover Load Balancing Algorithm is a fail-over load balancing algorithm.

A fail-over load balancing algorithm sends all the requests of the same type to one route, the active route. The active route can be different for each type of operation, for instance route1 for ADD and route3 for BIND. Each load balancing route is assigned a priority per operation type. A priority is an integer value where 0 is the top priority. The algorithm chooses the route with the highest priority and sends all the requests of the same type to that route. When the route is down, the algorithm chooses another route with the highest priority and sends all the requests of the same type to that new route. When the first route is back on-line, the algorithm does not switch back to the first route, unless the flag "switch-back" has been set to true. In case two routes have the same priority, the algorithm chooses one and the election is not deterministic.

Parent Component

The Failover Load Balancing Algorithm component inherits from the Load Balancing Algorithm

Properties

A description of each property follows.


Basic Properties: Advanced Properties:
 None ↓ java-class
↓ switch-back

Advanced Properties

java-class

Description
Specifies the fully-qualified name of the Java class that provides the Failover Load Balancing Algorithm implementation.
Default Value
com.sun.dps.server.workflowelement.loadbalancing.FailoverLoadBalancingAlgorithm
Allowed Values
A java class that implements or extends the class(es) :
com.sun.dps.server.workflowelement.loadbalancing.AbstractLoadBalancingAlgorithm
Multi-valued
No
Required
Yes
Admin Action Required
None
Advanced Property
Yes
Read-only
No

switch-back

Description
This flag tells what to do when a route is back on-line. Assuming the algorithm is using a route R2, if another route R1 is back on-line and R1 has a higher priority than R2 then the algorithm will not switch back to R1, unless the flag "switch-back" has been set to true.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
Yes
Read-only
No


Copyright © 2011,2012, Oracle and/or its affiliates. All rights reserved.