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

Method and device for split-brain prevention based on disk service lock

A disk and split-brain technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as short-term split-brain, split-brain, and data destruction, and achieve the effect of avoiding short-term split-brain problems and preventing the occurrence of split-brain

Active Publication Date: 2017-05-17
GUANGDONG ZHONGXING NEWSTART TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the inventors found that these methods cannot meet the requirements of the market. In actual implementation, other important services are also running on the standby node, and the customer does not allow the operating system to be restarted or the entire shared storage to be isolated
[0008] In the process of solving the cluster to prevent split-brain, the inventor found that the existing technology has the following problems: when the cluster heartbeat network is interrupted, it is impossible to distinguish whether the heartbeat network is faulty or the node is dead, and it is easy to make wrong judgments, resulting in split-brain ;In the above judgment, it can be detected that the working machine is still alive, but it cannot be determined whether the service has stopped successfully, and there is a possibility of a short-term brain split, resulting in data corruption; in the above judgment, if it is judged that the node is down, there are multiple nodes that start at the same time service, resulting in a split brain, resulting in the possibility of data being destroyed

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
  • Method and device for split-brain prevention based on disk service lock
  • Method and device for split-brain prevention based on disk service lock
  • Method and device for split-brain prevention based on disk service lock

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be clearly and completely described below in conjunction with the accompanying drawings and embodiments. Apparently, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0032] In order to solve the problem that when the cluster heartbeat network is interrupted, it is easy to make wrong strategies due to the inability to effectively judge the status of other nodes and their running services, resulting in split-brain and data destruction. Embodiments of the present invention provide a method and device for effectively preventing split-brain based on a disk service lock without restarting the system or isolating storage.

[0033] Such as figure 1 As shown, it is a representative topological d...

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 method and a device for preventing split brain on the basis of a disk service lock, belongs to the technical field of computer cluster and is suitable for a high availability cluster. The method and the device for preventing the split brain on the basis of the disk service lock avoids the problem that when a cluster heartbeat network is interrupted, states of other nodes and operation service of the nodes cannot be judged accurately, service cannot be taken over, and the split brain is hard to avoid especially under the condition that the technology for restarting or storing and isolating a system is not used. The technical scheme includes: when the heartbeat network is interrupted, whether the heartbeat network is broken down or the nodes are halted is judged effectively; whether smooth stopping of service can be obtained correctly through inquiry of the disk service lock so as to avoid the problem of short split brain; a plurality of nodes grab the service lock simultaneously, only the successful node can start service to avoid split brain.

Description

[0001] (1) Technical field [0002] The invention belongs to the technical field of computer clusters and is applicable to high-availability clusters, in particular to a split-brain prevention method and device for a high-availability system based on a disk service lock. [0003] (2) Background technology [0004] With the rapid development of communication network technology, key fields such as telecommunications, finance, and e-government have higher and higher requirements for server availability, and high-availability cluster systems are increasingly accepted and widely used by more and more users. In order to avoid the huge economic loss caused by the failure of the server or switch to stop the business, the high availability (High Availability, HA) system can greatly reduce the routine maintenance of the business system and the downtime of the business due to software and hardware failures. [0005] The current high-availability cluster system is mainly connected through ...

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): H04L12/24
Inventor 莫庆良蔡强董春青袁泉
Owner GUANGDONG ZHONGXING NEWSTART 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