-
1. Re: Gatein and LDAP on Cluster
bdaw Mar 5, 2012 3:01 AM (in response to menjivar88)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 Mar 5, 2012 9:40 AM (in response to bdaw)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 Mar 6, 2012 3:09 AM (in response to menjivar88)1 of 1 people found this helpfulActually 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.
-
4. Re: Gatein and LDAP on Cluster
menjivar88 Mar 6, 2012 11:26 AM (in response to bdaw)Ok thanks for all your help Boleslaw, this is what i wanted to know.
Thanks and Regards
Carlos