A method to automatically restore a power-down mariadb Galera Cluster
An automatic recovery and node technology, applied in the field of cloud platform basic databases, can solve the problems of database cluster functions that cannot be automatically recovered, does not meet construction requirements, and is time-consuming and labor-intensive.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0017] see figure 1 As shown, the present invention provides a method for automatically restoring a power-off MariaDB Galera Cluster, which is used to restore services of a MariaDB Galera Cluster that is powered off and powered on again. MariaDB Galera Cluster is a multi-master read-write database cluster. MariaDB Galera Cluster is a synchronous multi-master cluster of MariaDB database. MariaDB database is a branch of MySQL, which is a relational database management system. The present invention comprises the following steps:
[0018] Step S1: After the nodes of MariaDB Galera Cluster are powered off and powered on, report the status IDs of all nodes to the service discovery cluster through the startup script. In this embodiment, the service discovery cluster is the Etcd service discovery cluster;
[0019] Step S2: After confirming that the status IDs of al...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
