-1

We are having our mongodb cluster at AWS and our production DB mongo is very old - we are still using version 2.6 then latest version at the moment is 3.2.7. We need to upgrade mongodb binaries to the latest version. We can't upgrade existing DB cluster right in place because of versions incompatibility, new storage engine and ITSec requirements to encrypt EBS volumes. That means we need to setup new DB cluster v.3.2 and somehow migrate existing data on it. We have to do this without an outage because DB outage means that whole production delivery stack will be down.

Any idea how I can do it without an outage ?

Thanks

1

If not already being used, you should consider using a replica set cluster. This will give your database high availability.

The MongoDB documentation then provides a guide on performing version changes from 2.6 to 3.0 and from 3.0 to 3.2, respectively:

  • This is precisely the answer. With a replica set it is possible to upgrade ad migrate nodes separately, without the cluster ever having downtime. – Vince Bowdren Mar 2 '17 at 16:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.