Deployment Solutions

openGauss can be deployed in standalone mode or with one primary node and multiple standby nodes. openGauss does not provide the CM. Therefore, the high availability solution in the subsequent description is achieved based on the cluster management, arbitration, and recovery provided by users.

Common Concepts

  • Standalone

    There is only one database instance.

  • Primary/Standby

    There are primary and standby database instances in the system. The primary instance supports read and write, and the standby instance supports read-only.

  • Hot/Cold backup

    Cold backup: There is only a simple backup set that cannot provide services.

    Hot backup: Backup databases can provide services for external systems.

Deployment Modes

For details about the standalone and primary/standby deployment modes, see Table 1.

Table 1 Deployment modes in openGauss

Deployment Mode

Technical Solution

High Availability

Basic Configuration Requirement

Service Scenario

Characteristics

Specifications

Standalone

Standalone

HA is not supported.

Single equipment room

Physical machine

  • No system reliability and availability requirements
  • Applicable to trial use and commissioning scenarios
  • RTO and RPO are uncontrollable.
  • Instance-level DR is not supported. The system is unavailable when instance faults occur.
  • Lost instance data cannot be restored.

Primary/Standby

Primary and standby nodes

Instance faults can be withstood.

Single equipment room

Physical machine

  • No network delay between nodes
  • Able to withstand instance faults in the database
  • Applicable to scenarios without high reliability requirements
  • RPO = 0
  • Instance fault RTO < 10s
  • AZ-level DR is not supported.
  • The primary and standby nodes in maximum availability mode are recommended.

Hardware and Software Specifications

openGauss supports the following CPUs and OSs:

Table 2 openGauss software and hardware specifications

Delivery Mode

CPU

OS

Onsite

x86

EulerOS V2.0SP10 and SUSE 12.5

Arm

EulerOS V2.0SP10

Introduction to Deployment Solutions

The overall deployment solutions can be classified into two types: standalone and primary/standby.

  • Standalone deployment

    The standalone deployment does not ensure reliability or availability. There is only one data copy. Once data is damaged or lost, only physical backup can be used to restore data. Therefore, this deployment mode applies to scenarios such as experiencing databases and commissioning syntax functions in the test environment. You are not advised to use this mode on the commercial live network.

    Figure 1 Standalone deployment

  • Primary/standby deployment

    The primary/standby mode is equivalent to two data copies, one for the primary node and the other for the standby node. The standby node receives logs and plays back the logs.

    Figure 2 Primary/standby deployment

Feedback
编组 3备份
    openGauss 2024-07-27 00:59:22
    cancel