Rate This Document
Findability
Accuracy
Completeness
Readability

Environmental Requirements

This document provides guidance based on the Kunpeng server and CentOS or openEuler OS. Before performing operations, ensure that your software and hardware meet the requirements.

Hardware Requirements

Table 1 lists the hardware requirements.

Table 1 Hardware requirements

Item

Description

Server

Kunpeng server

Processor

Kunpeng 920 processor

Drive

  • If a performance test needs to be performed, at least two drives are required: one system drive and one data drive.
  • If no performance test needs to be performed, a data directory can be created on the system drive.
  • Configure the number of drives based on actual requirements.

OS and Software Requirements

  • Run the cat /etc/*-release command to query the OS information.

    Run the lscpu command to query the processor information.

    Run the uname -r command to query the kernel version.

    Run the uname -a command to query the environment information.

  • If you need to install an OS, choose Minimal Install and select Development Tools to minimize manual operations.

Table 2 lists the OS and software requirements.

  • For MongoDB 3.6.13, the /root partition must be equal to or greater than 100 GB. For MongoDB 4.0.12, the /root partition must be equal to or greater than 50 GB. For MongoDB 6.1.0, the /root partition must be equal to or greater than 500 GB.

    Run the following command to check the size of the /root partition:

    1
    df -h /root
    

    or

    1
    lsblk
    
  • After the MongoDB file is decompressed and compiled, the directory is 133 GB. It is recommended that the MongoDB compilation directory be greater than 150 GB.

Table 3 lists the mapping between MongoDB versions and OS versions.

Table 3 Mapping between MongoDB versions and OS versions

MongoDB Version

OS Version

  • MongoDB 3.6.13
  • MongoDB 4.0.12
  • openEuler 20.03
  • CentOS 7.6
  • CentOS 8.1
  • MongoDB 3.6.13
  • MongoDB 4.0.12
  • MongoDB 6.1.0

openEuler 22.03