Preparing the Software and Hardware Installation Environment

This section describes the preparations for installation. It is recommended that servers to be deployed on openGauss have the same software and hardware configurations.

Hardware requirements

Table 1 lists the minimum hardware requirements of the openGauss server. When planning the hardware configuration of a product, consider the data scale and expected database response speed. Plan hardware as required.

Table 1 Hardware requirements

Item

Configuration Description

Memory

It is recommended that the memory be 32 GB or above for function debugging. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

In performance tests and commercial deployment, it is recommended that the memory be 128 GB or above for single-instance deployment. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

Complex queries require much more memory, and therefore, the memory may be insufficient in high-concurrency scenarios. In this case, it is recommended that a large-memory server or load management be used to restrict concurrences on the system. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

CPU

It is recommended at least one 8-core 2.0 GHz CPU be used for function debugging. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

In performance tests and commercial deployment, it is recommended that one 16-core 2.0 GHz CPU be used. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

Both

You can set CPUs to hyper-threading or non-hyper-threading mode. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

Note:

For individual developers, the minimum configuration is 2 cores and 4 GB memory, and the recommended configuration is 4 cores and 8 GB memory. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

Currently, openGauss supports only the CPUs of ARM servers and x86_64-based universal PC servers. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

Disk

Hard disks used for installing openGauss must meet the following requirements:

  • At least 1 GB is used to install the openGauss applications.
  • About 300 MB is used for each host to store metadata.
  • More than 70% of available disk space is reserved to store data.

You are advised to configure the system disk to RAID 1 and data disk to RAID 5 and plan four groups of RAID 5 data disks for installing openGauss. RAID configuration is not described in this document. You can configure RAID by following instructions in the hardware vendors' manuals or using common methods found on the Internet. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

openGauss supports using an SSD with the SAS API and NVMe protocol deployed in RAID mode as the primary storage device of the database. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

Network Requirements

Minimum 300 Mbit/s Ethernet is required. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

You are advised to bond two NICs for redundancy. For details about how to configure it, see the instructions in the manual provided by the hardware manufacturer. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

Software Requirements

Table 2 Software requirements

Software

Configuration Description

Linux OS

  • ARM:
    • openEuler 20.3 LTS (recommended)
    • Kirin V10
    • Asianux 7.5
  • X86:
    • openEuler 20.3LTS
    • CentOS 7.6
    • Asianux 7.6
      Note:

      The current installation package can be used only on the English operating system. Set Disk Cache Policy to Disabled to avoid data loss in an unexpected power-off.

Linux file system

It is recommended that the number of remaining inodes be greater than 1.5 billion.

Tool

bzip2

Software Dependency Requirements

Table 3 describes the openGauss software dependency requirements.

You are advised to use the default installation packages of the dependent software in the listed OS installation CD-ROMs or sources. If the software does not exist, refer to the recommended versions of the software.

Table 3 Software dependency requirements

Software

Recommended Version

libaio-devel

0.3.109-13

flex

2.5.31 or later

bison

2.7-4

ncurses-devel

5.9-13.20130511

glibc-devel

2.17-111

patch

2.7.1-10

redhat-lsb-core

4.1

readline-devel

7.0-13

libnsl (in the openEuler + x86 environment)

2.28-36

Feedback
编组 3备份
    openGauss 2024-05-07 00:46:52
    cancel