Hi List!
I've inherited a large mongodb cluster located in one D.C, and need to migrate it to another.
What is the best process for migrating the entire cluster, with minimal or no downtime given the facts:
- All (a single) replica sets are in the single D.C
- about 3 TiB of data in 3 mongodb VM nodes (primary + 2 secondary)
There is a high speed fibre connection between the datacenters, nevertheless shutting down the nodes and copying them across would take some time.
I've been thinking that it might be possible to "stretch" the mongodb cluster across datacenters through replication, mirroring the replica set in the destination D.C, and perform some kind of cutover of the old primary to a new primary in the second d.c after the two sets ar synched, however I'm not about the mechanics of this.
What are the options in this type of scenario?
Many thanks in advance,
Traiano