Load Balancing and High Availability with OpenDJ

This topic contains 3 replies, has 3 voices, and was last updated by  ray.deng83 1 week, 2 days ago.

  • Author
  • #21180

    Hi Folks,

    I’m trying to set up load balancing and high availability with OpenDJ as User Data Store. Here I have some questions.

    1. Is replication a different concept in the load balancing and HA context? High availability means that one instance fails, another instance will come into play so that the data is still accessible. Yet, a replication server only replicates data and can be used to restore data in case of data loss.

    2. Can we use multi-master topology? Multi-master means multiple opendj instances are actively serving data. The problem is how to sync up data if there is change on one instance.

    3. Can we use master/slave topology? How to set this up?





    Replication provides high availability of the data stored in the directory server. It’s up to the application connecting to the server to handle the load balancing and failover.
    As for the remaining of your questions, you will find all complete and detailed answers in the Directory Services documentation and more specifically the Replication sections.

    Kind regards


    New here but,

    With our current LDAPs we use multi master to keep multiple databases synchronised. For applications that allow multiple LDAP end points to be configured, we allow the application to control its own connections. For the many applications that can not allow multiple LDAP end points, we provide an F5 load balancer in front of the LDAPs. We create a health check user, a record within the suffix that the application is using and a restrictive ACL allowing the F5 to query the single ‘health check’ record. The F5 then can determine whether the LDAP port is up AND functional. The F5 then balances the application connections across the available and in service LDAP backends.



    • This reply was modified 1 week, 2 days ago by  AndyHolmes.

    Hi Ludo and Andy,

    This is very helpful information. I probably need to dig more but thanks for those advice.


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

©2018 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?