Testing the Failover
design
To test the OVD failover configuration, I have used Apache Directory Studio as the client to connect both the Sun LDAP instances and the OVD instance.
The following picture shows the LDAP connection for Sun Directory Server instance running on port 3890. This view is from Apache Directory StudioFor this example, I am using two instances of Sun Directory Server 5.x with multi master replication. Oracle Virtual Directory 10g is used to connect to both the Sun LDAP instances through a single Sun LDAP Adapter. The following is the screen shot of the Sun LDAP adapter configuration in OVD that has failover configuration.
The following parameters in OVD Manager are available to set up fail over between two ldap instances using a single LDAP adapter.
Maximum Load = 100%
R/W Operation = True
Failover Mode = Sequential
Heartbeat = 60 secs

Now attach required plug-in for each step. For example the
UsersA step includes only one plug-in with UsersA branch as the searchbase- UsersB step includes only the plug-in with the UsersB branch as the searchbase,
- Mainframe step includes the Mainframe custom plug-in
- Passwordstep includes the validate_passwordplug-in. Finally the authentication flow shownbelow can be modified according to the requirement so it is not alwaysnecessary to stick to the Deafult Step.
FFor UserTypeA the followingsteps will be executed,
-UsersA step
-Mainframe step
-Password step
Whereas for UserTypeB onlythe
-UsersB step and the
F