System Requirements for MongoDB

Verify that your environment meets the system requirements.

All Environments

  • All instances must run with configuration files in the YAML format.

  • If the ports between the master node and the other cluster nodes are blocked, the nodes must connect through a firewall.

Linux Environments

  • Database authentication is supported on both Windows and Linux for full backups. Authentication is supported only on Linux for incremental backups.

  • The user account that you authenticate with must have one of the following role or roles on the admin database:

    • The root role. This is a superuser role. If you choose to overwrite the database or collection, you must grant the root role to the MongoDB user.

    • A set of roles (backup, restore, clusterAdmin). If you do not want to assign the superuser role to the database user, then use these roles.

  • Logical Volume Manager (LVM) volume groups must have adequate free space for creating the IntelliSnap snapshots. The default COW cache size is set to 4096 MB or 5% of the volume size, whichever is greater. You can increase the COW cache size.

Replica Set Environments

Replica sets must have at least one secondary node.

Note

If you have a single node replica set that has only a primary node, add the bMongoDBEnableBkpForSingleNodeRepSet additional setting to the client node that you want to back up.

Protect Encrypted Database

Commvault protects MongoDB Replica Set clusters with encrypted databases. MongoDB clusters should use a local master encryption key file on all the nodes to encrypt the databases. You must configure the bMongoDbEnableBkpEncryptionKey additional setting on all MongoDB clients for both backup and restore operations. The key file is backed up from the source master node during discovery or during a full backup operation.

Note

All nodes of the cluster must have the same key file contents.

Restore operations:

  • During an In-place full restore operation the key file is restored to the original location (where it was backed up) and the existing key file is renamed automatically.

  • During an Out-of-place full restore operation:

    • The key file is restored to all the destination clients.
    • The key file path is created if one is not present.
  • During a Granular restore operation the key file is created on the 3DFS share which is used to start the staging server.

  • For restore operation, the setting must be enabled on the destination clients only when restoring from encrypted backup.

Note

The Encryption at rest support feature that is enabled by bMongoDbEnableBkpEncryptionKey is only supported for replica set clusters.

Sharded Cluster Environments

  • The same database user must be created on all the sharded servers and on the config server.

  • Each sharded server must be a replica set, and the replica set must have at least one secondary node.

  • The Commvault software is not required on the arbiter node.

Supported MongoDB and Percona Server Versions

MongoDB Versions

Operating system Processor architectures MongoDB 8.x MongoDB 7.x MongoDB 6.x
Amazon Linux 2023 AMI x86_64 Yes Yes NA
Amazon Linux 2 x86_64 NA Yes Yes
Debian 12 x86_64 Yes Yes NA
Debian 11 x86_64 NA NA Yes
Debian 10 x86_64 NA NA Yes
RHEL/Rocky/Alma/Oracle Linux 9.x x86_64 Yes Yes 6.0.4+
RHEL/Rocky/Alma/Oracle Linux 8.x x86_64 Yes Yes Yes
RHEL/Oracle Linux 7.x x86_64 NA Yes Yes
RHEL/CentOS 7 PowerPC (little endian) NA NA 6.0.7+
SuSE Linux 15 x86_64 Yes Yes Yes
SuSE Linux 12 x86_64 NA Yes Yes
Ubuntu 24.04 x86_64 Yes NA NA
Ubuntu 22.04 x86_64 Yes Yes 6.0.4+
Ubuntu 20.04 x86_64 Yes Yes Yes
Ubuntu 18.04 x86_64 NA NA Yes
Windows Server 2022 x86_64 Yes Yes Yes
Windows Server 2019 x86_64 NA Yes Yes
Windows Server 2016 x86_64 NA NA Yes

Note

  • Starting from MongoDB 4.4, the mongodump and mongorestore utilities must be downloaded separately and copied to the bin path.

  • MongoDB 7.0 is supported only from CPR2023E (11.32) Maintenance Release 55 or higher. The most recent certified version of MongoDB 7.x is 7.0.14.

Percona Server for MongoDB Versions

Percona Server 7.x, 6.x, 5.x, 4.4.x, 4.2.x.

Note

  • Percona 7.x is supported only from CPR2023E (11.32) Maintenance Release 55 or higher.

  • The most recent certified version of Percona Server for MongoDB 7.x is 7.0.14-8.

×

Loading...