Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed cluster database synchronization method, device, equipment and storage medium

A distributed cluster and database technology, applied in the field of devices, distributed cluster database synchronization methods, computer equipment and storage media, can solve the problem that the time of power failure is random, cannot be determined, database records cannot be synchronized in time, and management nodes are unknown and abnormal and other issues to achieve the effect of reducing manual intervention synchronization, preventing database information loss, and reducing maintenance costs

Active Publication Date: 2022-06-07
SUZHOU METABRAIN INTELLIGENT TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] A distributed storage cluster system is generally composed of multiple servers to provide unified external services. In this paper, the server is represented by a "node". The traditional distributed cluster has its own web management system, including the client (Client) and the server (Server) It runs on the management node, so the database (DB) it maintains is usually updated on the management node and synchronized to other nodes periodically (for example, in a period of 30s); There will also be one or more standby management nodes. When the main management node fails (such as sudden power failure, downtime, etc.), it needs to switch to the standby management node immediately. However, the time of power failure is usually random and cannot be determined. At this time It may happen that the management node database has stopped running before it is synchronized. If the latest updated database information of the main management node before the power failure has not been synchronized to the standby management node, it has failed, and these database records may be lost due to inability to synchronize in time , leading to some unknown exceptions may occur after the management node is switched, causing some management flow risks, so the existing database synchronization method of distributed storage needs to be improved urgently

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
  • Distributed cluster database synchronization method, device, equipment and storage medium
  • Distributed cluster database synchronization method, device, equipment and storage medium
  • Distributed cluster database synchronization method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention will be further described in detail below with reference to the specific embodiments and the accompanying drawings.

[0039] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for the purpose of distinguishing two entities with the same name but not the same or non-identical parameters. It can be seen that "first" and "second" It is only for the convenience of expression and should not be construed as a limitation to the embodiments of the present invention, and subsequent embodiments will not describe them one by one.

[0040] In one embodiment, please refer to figure 1 As shown, the present invention provides a distributed cluster database synchronization method, and the specific method includes the following steps:

[0041] S100, the main manageme...

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 discloses a distributed cluster database synchronization method, device, equipment and storage medium. The method includes: the main management node persists the database information to the local system disk, and backs up the database information to the main management node BMC system through in-band communication; in response to the main management node BMC system detecting that the main management node fails or switches , then send the backup database information in the BMC system of the main management node to the backup management node; the backup management node uses the backup database information to update the database of the backup management node. The scheme of the present invention backs up the database information of the main management node to the BMC system of the main management node, and the backup management node uses the backup database information of the BMC system of the main management node to update the database of the backup management node, thereby preventing the loss of database information and effectively ensuring The reliability and integrity of the database information of each node reduces manual intervention and synchronization, and reduces maintenance costs.

Description

technical field [0001] The present invention relates to the field of distributed storage, and more particularly to a distributed cluster database synchronization method, device, computer equipment and storage medium. Background technique [0002] The distributed storage cluster system is generally composed of multiple servers to provide services to the outside world. In this article, the server is represented by "node". The traditional distributed cluster has its own web management system, including the client (Client) and the server (Server). It runs on the management node, so the database (DB) it maintains is usually updated on the management node and synchronized to other nodes regularly (for example, every 30s). There will also be one or more backup management nodes. When the main management node fails (such as sudden power failure, downtime, etc.), it needs to switch to the backup management node immediately. However, the time of power failure is usually random and cann...

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): G06F11/14G06F16/23G06F16/27
CPCG06F11/1448G06F11/1469G06F16/27G06F16/2365
Inventor 张大帅
Owner SUZHOU METABRAIN INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products