LDAP server groups are sets of servers where one is a primary server, and the rest are backup servers.
Within a server group, queries go to the primary server if it is available, then to the backup server(s).
Note that following the failure of the preferred server(s), there is a configurable delay before the LDAP RA will attempt to use them again.
See the BindMaxFailoverConnectionAge
and MaxFailoverConnectionAge
configuration properties.
Across multiple server groups, the resource adaptor balances the load evenly.
You specify all LDAP server groups in a single string. Servers for a group are separated by whitespace, server groups are separated by commas.
Each server may optionally include a port number to use instead of the default LDAP port (389
).
For example:
Server group configuration | What it specifies |
---|---|
server1:389 |
1 group of 1 server |
server1:389,server2:589 |
2 groups of 1 server each |
server1 server2,server3 |
2 groups, 1 with a backup server ( |