Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-7159

Investigate the best approach to remove a 6.5 server from a mixed topology


    • Type: Task
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: replication
    • Labels:


      There are two widely known strategies for migrating a topology from an old version of DS to a new version:

      1. in-place: upgrade each existing server one at a time until all servers are on the new DS version
      2. replace : add a new server using the new dsrepl add-local-server-to-pre-7-0-topology command and remove an old server. Repeat until the entire topology is on the new version.

      The first strategy can be addressed using the upgrade command. For the second strategy, while we have a new command for adding new servers, we don't yet have a supported approach for removing old servers.

      This issue can be closed once we have investigated the best approach for removing old servers from a mixed 7.0 and pre-7.0 topology. For example, it may be sufficient to just stop the old pre-7.0 servers and not make any administrative changes. This will leave configuration and other meta-data of the old server in the other old servers, but this will eventually be removed along with the remaining old servers. This assumes, however, that the dsrepl add-local-server-to-pre-7-0-topology does not add configuration or persistent meta-data to the 7.0 servers or, if it does, that we have a procedure for removing it once the topology is fully migrated (See OPENDJ-6826).

      Example migration using the "replace" strategy:

      1. topology containing two 6.5 servers DS1 and DS2
      2. add new 7.0 DS3 using dsrepl add-local-server-to-pre-7-0-topology
      3. stop (remove) DS1
      4. DS2 will still contain references to DS1 along with changelog data
      5. add 7.0 DS4 using dsrepl add-local-server-to-pre-7-0-topology and stop (remove) DS2
      6. DS2 is gone, along with references to DS1 and changelog data.


          Issue Links



              • Assignee:
                nicolas.capponi@forgerock.com Nicolas Capponi
                matthew Matthew Swift
                Dev Assignee:
                Nicolas Capponi
              • Votes:
                0 Vote for this issue
                1 Start watching this issue


                • Created: