- Manage Deployments >
- Change the Version of MongoDB
Change the Version of MongoDB¶
On this page
Overview¶
For Ops Manager managed MongoDB, Ops Manager supports safe automatic upgrade and downgrade operations between releases of MongoDB while maximizing the availability of your deployment. Ops Manager supports upgrade and downgrade operations for sharded clusters, replica sets,and standalone MongoDB instances.
Considerations¶
Before changing a deployment’s MongoDB version:
- Consult the following documents for any special considerations or
application compatibility issues:
- The MongoDB Release Notes
- The documentation for your driver.
- Plan the version change during a predefined maintenance window.
- Before changing version on a production environment, change versions on a staging environment that reproduces your production environment to ensure your configuration is compatible with all changes.
- To monitor or back up MongoDB 3.0 deployments, you must install Ops Manager 1.6 or higher. To monitor a MongoDB 3.0 deployment, you must also run Monitoring Agent version 2.7.0 or higher.
Procedure¶
Select the Deployment tab and then the Deployment page.¶
Click edit mode, and then click the arrow to the right of the deployment.¶
In the configuration screen, click the gear icon and select Edit.¶
In the Version field select the version. Then click Apply.¶
If the drop-down menu does not include the desired MongoDB version, you must first enable it in the Version Manager.
Click Review & Deploy to review the configuration.¶
Ops Manager displays the full configuration for you to review.
Click Confirm & Deploy.¶
To view deployment progress, click View Agent Logs and select an agent at the top of the Agent Logs page. To check for updated entries, refresh the page.
If you diagnose an error and need to correct the deployment configuration, click Edit Configuration and then click Edit Configuration again. Reconfigure the deployment through the deployment arrow button or through the Add button. If you cannot find a solution, shut down the deployment. When you complete your changes, click Review & Deploy and then Confirm & Deploy.