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

Method and device for preventing split brain on basis of disk service lock

A disk and split-brain technology, applied in the direction of digital transmission systems, electrical components, transmission systems, etc., can solve problems such as short-term split-brain, split-brain, and uncertain service stop success, so as to prevent the occurrence of split-brain and avoid short-term split-brain problem effect

Active Publication Date: 2013-07-17
GUANGDONG ZHONGXING NEWSTART TECH CO LTD
View PDF4 Cites 28 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
[0006] 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 preventing split brain on basis of disk service lock
  • Method and device for preventing split brain on basis of disk service lock
  • Method and device for preventing split brain on basis of disk service lock

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be clearly and completely described below with reference to the accompanying drawings and embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0027] 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 other nodes and their running service status, resulting in split-brain and data destruction. The embodiments of the present invention provide a method and device for effectively preventing split brains without restarting the system or isolating storage based on a disk service lock.

[0028] like figure 1 As shown, it is a representative t...

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

(1) Technical field [0001] The invention belongs to the technical field of computer clusters, is suitable for high-availability clusters, and is especially suitable for a method and device for split-brain prevention of a high-availability system based on disk service locks. (2) Background technology [0002] With the rapid development of communication network technology, the requirements for server availability in key fields such as telecommunications, finance, and e-government are getting higher and higher, 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, 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. . [0003] The current high-availability cluster system is mainly connected through the net...

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): 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