Unlock instant, AI-driven research and patent intelligence for your innovation.

High-availability cluster power failure automatic recovery method, device, equipment and storage medium

A technology for automatic recovery and storage media, applied in the Internet field, which can solve the problems of long restart time and cumbersome restart of the cluster.

Active Publication Date: 2021-01-12
WUXI CHINAC DATA TECH SERVICE
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The restart of the existing Gelara database cluster after a power failure requires manual intervention, and the restart is cumbersome, resulting in a long time for the cluster restart

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • High-availability cluster power failure automatic recovery method, device, equipment and storage medium
  • High-availability cluster power failure automatic recovery method, device, equipment and storage medium
  • High-availability cluster power failure automatic recovery method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The applicant believes that the above-mentioned defects in the prior art are the result of the applicant's practice and careful research. Therefore, the discovery process of the above-mentioned problems and the solutions to the above-mentioned problems proposed by the embodiment of the application in the afternoon All proposals should be the applicant's contribution to this application during the application process.

[0032]In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0033] Some implementations of the present application will be described in detail below in conjunction with the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

[...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a high-availability cluster power failure automatic recovery method and device, equipment and a storage medium. The method comprises the steps that when a first database node in a high-availability cluster is restarted, state information of each database node is acquired; when all the database nodes are powered down before the first database node is restarted and the first database node is a first started node, the first database node is started and serves as a main node of the high-availability cluster; and when the database nodes are all powered down before the first database node is restarted but the first database node is not the first started node, the first database node is started and added into the first started node. Under the condition that all the database nodes in the high-availability cluster are powered down, when power-down restarting is carried out, the sequence of IDs of the nodes before power-down of the database nodes does not need to be considered, so that cluster restarting is more convenient, meanwhile, the cluster restarting time can be effectively shortened, and the restarting speed of the cluster is increased.

Description

technical field [0001] The present application relates to the Internet field, and in particular, relates to a method, device, device and storage medium for automatically recovering from power failure of a high-availability cluster. Background technique [0002] At present, the database is indispensable in the networking business, and the Galera database cluster is currently the most used database in the industry. The excellent performance of the Galera database is used by more and more IT companies, but when all the databases in the Gelara database cluster are powered off at the same time, the Galera database cluster cannot start normally when it is started next time. [0003] However, at present, in order to restart the Gelara database cluster after power failure, it is generally manually logged in to the server to judge the information of each database node, then manually compare the information of each node, and finally determine the manual start of each node according to...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F1/30G06F1/24G06F16/27
CPCG06F1/24G06F1/30G06F16/27
Inventor 吴业亮
Owner WUXI CHINAC DATA TECH SERVICE