This documentation supports the 18.02 version of BMC Digital Workplace. To view the latest version, select the version from the Product version menu.

Upgrading MongoDB

Review the following topics:

Supported versions

MongoDB versions 2.6 through 3.4 are the supported versions. If you are running a version earlier than 3.2, BMC recommends that you upgrade to MongoDB  3.4.

If your current environment is using MongoDB 2.4, you must upgrade to the latest version.

When to upgrade

The bundled MongoDB version can only be used for a fresh installation. In an upgrade scenario, the MongoDB is not upgraded automatically by the installer. In an upgrade scenario, you must manually upgrade the MongoDB.

  • If your existing MongoDB version is 2.4.x, upgrade the MongoDB as part of the pre-installation activities.
  • If your existing MongoDB version is 2.6.x, upgrade the MongoDB as part of the post-installation activities.

Upgrade paths

To upgrade to Mongo DB 3.2.xx, the following upgrade paths are available

  • To upgrade from a version earlier than 2.6, you must first upgrade to 2.6 and then upgrade to 3.0.xx. See  Upgrading MongoDB to version 2.6 in BMC MyIT version 2.6 documentation.
  • To upgrade from version 2.6, you must first upgrade to version 3.0.xx and then upgrade to version 3.4.
  • You can directly upgrade to Mongo DB 3.4 from version 3.0.xx.

Upgrade process for different deployments

Depending on you deployment, click on the following links:

DeploymentUpgrade process
Upgrade MongoDB replica setYou can upgrade from MongoDB 3.0 replica set to 3.4 by upgrading the members individually while the other members are available.

Replica set failover is not instant and will render the set unavailable to accept writes until the failover process completes. This usually takes no more than 3-5 minutes, schedule the upgrade procedure during a scheduled maintenance window.

Upgrade standalone MongoDBWhen you upgrade a standalone MongoDB, the MongoDB server is down during the upgrade process.
Was this page helpful? Yes No Submitting... Thank you

Comments