4 Replies Latest reply on Mar 6, 2012 11:26 AM by menjivar88

    Gatein and LDAP on Cluster

    menjivar88

      Hello,

       

      Im configuring portal to use an ldap cluster to store the users, but i dont know how to configurate portal to balance the requests to any of the ldap cluster's nodes.

       

      At the picketlink-idm-ldap-config.xml file you set the IP of the ldap server but in this case i have more than one server.

       

      any idea ??

       

      Thanks and Regards

      Carlos

        • 1. Re: Gatein and LDAP on Cluster
          bdaw

          There is no support on the portal side to do load balancing to LDAP servers. You can only provide a coma separated list of LDAP providers to have failover.

          • 2. Re: Gatein and LDAP on Cluster
            menjivar88

            Hello, thanks for your help

             

            I dont know if the format of the coma separated list of LDAP providers will look like this:

             

            <option>

                 <name>providerURL</name>

                 <value>ldap://192.168.110.18:389,ldap://192.168.110.19:389</value>

            </option>

             

            is this ok??

             

            in this case it will only send the request to the first LDAP provider or it will try to send it to both ??

             

            Regards

            Carlos

            • 3. Re: Gatein and LDAP on Cluster
              bdaw

              Actually sorry - not comma but just space separated should work:

               

              <value>ldap://192.168.110.18:389 ldap://192.168.110.19:389</value>

               

              this relies on standard JNDI behaviour for ""java.naming.provider.url" env param providing simple failover. If connection to first URL fails it will try another one.

              1 of 1 people found this helpful
              • 4. Re: Gatein and LDAP on Cluster
                menjivar88

                Ok thanks for all your help Boleslaw, this is what i wanted to know. 

                 

                Thanks and Regards

                Carlos