MongoDB Utility – Frequently Asked Questions

Article ID: 54270

Article Type: Technical Reference

Last Modified:

The Commvault Content Store uses the MongoDB database engine to provide a subset of its functionality. This article provides a basic description of how Commvault uses the MongoDB database engine.

General

What version of the MongoDB database engine is installed?

Commvault installs the following versions of MongoDB Community Edition on Windows and Linux computers:

MongoDB version Oldest supported Commvault release Newest supported Commvault release Unsupported platforms
MongoDB 6.0.2 Platform Release 2023E (11.32) Platform Release 2024E (11.34)
o Windows 2012 operating system
o A computer that uses a processor that doesn't have the AVX instruction set enabled.

In these cases, MongoDB 4.2.20 is installed.
MongoDB 4.2.16 11.26 Platform Release 2023 (11.30)
MongoDB 4.2.4 11.21 11.25
MongoDB 4.0.4 11.16 11.20

How can I verify that MongoDB is installed?

MongoDB Community Edition is installed as a Commvault service, and is visible in the Commvault Process Manager on Windows and Linux computers.

Where can I find the MongoDB configurations?

MongoDB configurations can be found in the config file located in the Commvault installation directory as follows:

Where can I find the MongoDB server binaries?

For both Windows and Linux, you can find the MongoDB server binaries in the following directory:

Is the MongoDb installation secure?

To make sure that the MongoDB utility is secure, the following authentication is configured:

Are MongoDB operations logged? If yes, where can I view them?

Yes. MongoDB operations are logged in the following log file in the Commvault installation directory: <commvault_installation_directory>\Log Files\cvmongod.log

Note: Beginning with Feature Release 11.19 up to Platform Release 2023E (11.32), MongoDB logging is disabled by default. This is required to keep the MongoDB.log from becoming too large because rollover with MongoDB is not automatic. However, for Platform Release 2024 (11.34) and later releases, MongoDB logging is enabled by default, since Commvault supports automatic rollover of MongoDB log files. To disable or enable logging, see the KB article Disabling and Enabling Logging for MongoDB Instances.

Maintenance, Issues, and Resolutions

When is MongoDB upgraded to a newer version?

When you upgrade a Commvault release, MongoDB is upgraded to the latest supported version. To determine which version of MongoDB is deployed with a given release, see "What version of the MongoDB database engine is installed?" above.

Can I manually upgrade MongoDB to a newer version?

While you cannot manually upgrade MongoDB to a newer major release (for example, MongoDB 4.0 to MongoDB 4.2), Commvault does provide instructions for upgrading to a newer minor version of MongoDB (for example, MongoDB 4.2.2 to MongoDB 4.2.3).

The instructions that Commvault provides are designed to ensure that Commvault continues to work seamlessly with MongoDB after the upgrade. For more information about upgrading to a newer minor release, see KB article "Manually Upgrading the MongoDB Minor Version".

What should I do if MongoDB is not working ?

For information about troubleshooting MongoDB, see Resolving Errors Detected by a MongoDB Health Check.

What should I do if MongoDB log files occupy an unusually large amount of disk space?

Beginning with Feature Release 11.19 up to Platform Release 2023E (11.32), MongoDB logging is disabled by default, because MongoDB logs are not automatically rotated or cleaned up in those releases. If logging is enabled in these releases, this can lead to MongoDB log files consuming much of the available disk space. You can disable logging if this occurs. For information about disabling or enabling logging, see Disabling and Enabling Logging for MongoDB Instances.

What should I do if I have two instances of MongoDB in the Windows Service Manager?

Note: This applies only to Windows computers that were first installed with Commvault Feature Release 11.20 or previous versions.

Commvault uses only one MongoDB service per instance. The service can be found in the Windows Services Manager as Commvault MongoDB(InstanceXYZ), where XYZ refers to the instance number. If there are additional MongoDB instances installed on the computer that currently runs Commvault, uninstall the additional MongoDB instances using the following steps:

  1. Go to Control PanelAdd/Remove Programs, and then uninstall any MongoDB instance listed.
  2. Go to the Windows Service Manager, and then remove or delete any instance named MongoDB Server. To delete the instance, open the command prompt in administrator mode, and then run the following command: sc delete [service-name]

How do I un-install or remove the MongoDB package?

Do not remove the MongoDB utility package (not to be confused with the MongoDB database agent), since it is required for the Commvault Commserve and Webserver packages. For any other questions or issues with the MongoDB utility, contact Commvault Customer Support.

1 Commvault Way, Tinton Falls, NJ 07724 Sitemap | Legal Notices | Trademarks | Privacy Policy
Copyright © 2022 Commvault | All Rights Reserved.