Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3928

ReadOnlyUsersRepository: Master slave set up

    XMLWordPrintableJSON

Details

    Description

      Why?

      High availability requires connecting to several servers.

      Today James LDAP connection is single point.

      To have HA for LDAP component we need to support connecting to several LDAP server.

      How?

      In usersreporitory.xml configuration set a list of fallback ldap URLs.

      Use it to instanciate a LDAPConnectionPool based on a FailoverServerSet. Other connection options (bind DN, SSL, more?) needs to be preserved.

      Acceptace criteria

      In a test, start ldap1 ldap2.

      Configure the ldap users repository with ldap1 as prmary, fallback to ldap2.

      Switch off ldap1, ensure that data gets retrieved from LDAP2.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m