CM

Availability

This feature is available since openGauss 3.0.0.

Introduction

Cluster manager (CM) is a database management software, which consists of cm_server and cm_agent.

  • cm_agent is a database management component deployed on each database host. It is used to start, stop, and monitor database instance processes.
  • cm_server is a component used for managing database instances and arbitrating instances.

Benefits

It manages and monitors the running status of functional units and physical resources in a database system, ensuring stable running of the system.

Description

It supports customized resource monitoring and provides capabilities such as monitoring of the primary/standby database status, network communication faults, file system faults, and automatic primary/standby switchover upon faults. It also provides various database management capabilities, such as starting and stopping nodes and instances, querying database instance status, performing primary/standby switchover, and managing logs.

Enhancements

The CM supports external status query and push.

  • The HTTP/HTTPS service is used to remotely query the cluster status, helping management personnel and O&M platforms monitor the cluster status.
  • When an primary/standby switchover occurs in the database cluster, the latest primary/standby information of the cluster is pushed to the receiving address registered by the application through the HTTP/HTTPS service in time. In this way, the application can detect the primary/standby change of the cluster in time and quickly connect to the new primary and standby nodes.

Constraints

In scenarios where there are one primary node and one standby node, CM supports only basic capabilities, such as installation, startup, stop, and detection.

Dependencies

None.

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