There are two widely known strategies for migrating a topology from an old version of DS to a new version:
- in-place: upgrade each existing server one at a time until all servers are on the new DS version
- 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
Example migration using the "replace" strategy:
- topology containing two 6.5 servers DS1 and DS2
- add new 7.0 DS3 using dsrepl add-local-server-to-pre-7-0-topology
- stop (remove) DS1
- DS2 will still contain references to DS1 along with changelog data
- add 7.0 DS4 using dsrepl add-local-server-to-pre-7-0-topology and stop (remove) DS2
- DS2 is gone, along with references to DS1 and changelog data.