System Requirements for MongoDB

Verify that your environment meets the system requirements for MongoDB.

Application

MongoDB

  • 3.2.x

  • 3.4.x

  • 3.6.x

  • 4.0.x

  • 4.2.x

  • 4.4.x

Percona Server for MongoDB

  • 4.2.x

  • 4.4.x

Operating System

Linux

Operating system

Processor architecture

Amazon Linux 2 AMI (HVM) - Kernel 5.10, SSD Volume Type

  • x86

  • x64

  • ARM64

  • Compatible processors

Debian 10.x

  • x86

  • x64

Debian 9.x

  • x86

  • x64

Debian 8.x

  • x86

  • x64

Red Hat Enterprise Linux/CentOS 8.x with glibc 2.17.x

  • x86

  • x64

Red Hat Enterprise Linux/CentOS 7.x with glibc 2.17.x or a more recent version

  • x86

  • x64

Red Hat Enterprise Linux/CentOS 6.x with glibc 2.12.x

x64

SuSE Linux 12 (Initial Release/SP1/SP2/SP3/SP4/SP5) with glibc 2.19.x

  • x86

  • x64

Ubuntu 20.04 LTS

  • x86

  • x64

Ubuntu 18.04 LTS

  • x86

  • x64

Ubuntu 16.04 LTS

  • x86

  • x64

Windows

Operating system

Processor architecture

Microsoft Windows Server 2019 Core Editions

All Windows-compatible processors are supported

Microsoft Windows Server 2012 R2 Editions

All Windows-compatible processors are supported

Microsoft Windows Server 2016 Editions

All Windows-compatible processors are supported

Other Requirements

  • A secondary node is required to perform backups in a replica set configuration. In a sharded cluster configuration, each sharded server has to be a replica set with at least one secondary node.

  • Verify that all mongod and mongos instances are running with config files. The config files must be in YAML format on all the operating system platforms.

  • For MongoDB databases that have authentication enabled, use a database user that has any of the following roles on the admin database:

    • The Root role. This is a superuser role.

    • A subset of roles (backup, restore, clusterMonitor, hostManager). These roles should be used if the you do not want to assign the superuser role to the database user.

    In a sharded cluster deployments, verify that the same database user is created on all the sharded servers and on the config server.

  • Commvault software is not required on the arbitor node of the MongoDB cluster.

  • On Linux platforms, by default, the default subclient uses the IntelliSnap Native engine (Logical Volume Manager (LVM) snapshots) for the snapshot operations.

    For Linux LVM snaps, there must be adequate free space in the LVM volume group for snapshot creation. The default COW cache size is set to 4096 MB or 5% of the volume size, whichever is greater. To increase the COW cache size, configure the nSnapCowSizeMB additional setting. For instructions about adding the additional setting, see Adding a Setting for a CommCell Entity.

Loading...