Arbitration method for split brain of dual-computer cluster

An arbitration method and cluster technology, applied in the field of data processing, can solve problems such as service interruption and dual-machine clusters that do not achieve high availability, and achieve the effect of reducing switching time, reducing the possibility of service interruption, and saving arbitration time

Pending Publication Date: 2022-05-10
国能朗新明南京环保科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The logic of this arbitration mechanism is clear, but there are some defects in the application: from the confirmation of the fact that the heartbeat line is disconnected, to the ping of the reference IP of the two nodes, and then to the node that starts the ping of the reference IP to start the service, during this period of time , the dual-machine cluster does not achieve high availability, which means that service interruption may occur

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
  • Arbitration method for split brain of dual-computer cluster
  • Arbitration method for split brain of dual-computer cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further elaborated below in conjunction with the accompanying drawings.

[0025] In this example, if figure 2 As shown, the client performs information exchange with the active node and the standby node of the two-machine cluster through the local area network. The master node and the standby node of the dual-machine cluster are connected through a heartbeat line, and the connection between the heartbeat line and the reference host is independent of each other. The reference host is respectively connected to the master node and the backup node of the dual-machine cluster in parallel, and continuously and regularly sends ping commands to the master node and the backup node of the dual-machine cluster.

[0026] see figure 1 As shown, the present invention proposes a kind of arbitration method for two-machine cluster split-brain, including step...

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 an arbitration method for split brain of a dual-computer cluster, which comprises the following steps: when the dual-computer cluster normally runs, a reference host regularly sends a command to a main node and a standby node in the cluster to detect the activeness of the two nodes; when the heartbeat line between the main node and the standby node is disconnected, the system breaks down, the heartbeat line is disconnected at the moment, and meanwhile the reference host continuously and actively sends a command; due to the fault, the reference host detects the node with the fault by sending a command and informs all the client hosts; forwarding connection and data requests of all client hosts to a fault-free node; after the switching is completed, the reference host gives related prompt information of related fault nodes and still sends commands to the two nodes regularly according to specifications; the fault node is restarted, and the whole cluster system works normally. Aiming at the split-brain problem of the dual-computer cluster, the speed of the arbitration process is improved, and long-time service interruption caused by the defects is shortened as much as possible, so that the split-brain problem is solved quickly.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to an arbitration method for split-brain split-brain in a dual-machine cluster. Background technique [0002] A High Availability Cluster (HA Cluster for short) is a group of computers that provide network resources to users as a whole. It can be considered as a host group composed of multiple node computers that can operate like a stand-alone system. Two-machine cluster, that is, a high-availability cluster with only two nodes, is a common and simple cluster implementation method, that is, two servers are used to adopt the active and standby mode: the active node provides services while the standby node is on standby, and the active and standby nodes use hot backup. When the main node fails, the standby node can provide services, so that the system service is not interrupted automatically without manual intervention. [0003] The so-called split brain is based...

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 Applications(China)
IPC IPC(8): G06F11/07
CPCG06F11/0709G06F11/0793
Inventor 王飞王煜伟胡洋王海锋钱陈虎胡伟许敏何轩
Owner 国能朗新明南京环保科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products