-1

I was wondering if anyone has successfully configured Jenkins with two LDAP servers so if one server fails, it will query the other server?

Hank
  • 171
  • 1
  • 6

1 Answers1

1

Short answer: No.

There's no way to configure a secondary LDAP server for Jenkins. You can semi-automate failover by using DNS entries (change the A record if the server goes down) or do HA with an LDAP server on its own.

Nathan C
  • 15,059
  • 4
  • 43
  • 62
  • I think this answer may be outdated. See the ldap plugin documentation at: https://wiki.jenkins-ci.org/display/JENKINS/LDAP+Plugin#LDAPPlugin-Server "As of version 1.6, you can specify a list of servers separated by whitespace to provide a fallback if the first server is unavailable..." – Patrice M. Jul 20 '16 at 16:59
  • Ironically, the version 1.6 was apparently release a mere 2 weeks after the answer was posted. Looks like someone couldn't live with the limitation... – Patrice M. Jul 20 '16 at 17:01