2 / 2
Feb 17

Hi All
Good day. This is my first post . Hope you experts are doing well.
I am going to upgrade MongoDB 3.4 to 7. We are having below server architecture details

  1. 1 Primary
  2. 3 replica
  3. Arbitrary server

This database is mostly used for reporting purpose and database size is around 350 GB.

As per my knowledge and internet discussion , below is the only way to upgrade Mongo DB

3.4 → 3.6
3.6 → 4.0
4.0 → 4.2
4.2 → 4.4
4.4 → 5.0
5.0 → 6.0
6.0 → 7.0

The RHEL version is 7.4, which will be upgraded to 9.3

If anybody is having any steps to upgrade and all the risks to be handled ,
please share the same. It will be helpful to prepare the MOP and proceed the upgrade .
We need to consider the upgrade with minimal downtime , and after 4.4 the indexes will be required to recreate as the older indexes will be invalid. and also I need to prepare the fallback plan as well.
Please provide the steps to upgrade , such that I can start the project

Hi Team
Any help is highly appreciated , if anybody can give the steps for the upgrade path