Method and device for solving dual-computer cluster split brain

A cluster and split-brain technology, applied in the field of massive data storage, can solve problems such as split-brain in cluster systems, and achieve the effect of prolonging service life and avoiding split-brain

Inactive Publication Date: 2016-04-06
TOYOU FEIJI ELECTRONICS
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the present invention is to solve the problem of split-brain in the cluster system caused by the failure of the heartbeat network, and propose a method and device for solving the split-brain of the dual-machine cluster, and realize information exchange by setting an arbitration disk and writing / reading information to it , to prevent the occurrence of split brain

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 solving dual-computer cluster split brain
  • Method and device for solving dual-computer cluster split brain
  • Method and device for solving dual-computer cluster split brain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention will be described in detail below in conjunction with specific embodiments.

[0044] A method for solving split-brain in a dual-machine cluster includes the following:

[0045] 1: Implement iSCSI, FC and SAS initiators on the nodes to connect and map other iSCSI, FC or SAS direct-attached storage. Create an arbitration disk in the shared pool, and set an information exchange area that both nodes can read and write on the disk, such as figure 1 As shown, in this embodiment, its size is set to 2M, and the information exchange area is divided into two parts: the arbitration information area and the response information area; generally speaking, the space size of each area is much higher than the required storage area The space occupied by the information, the reserved extra space is mainly used when there is a bad block in the effective information area and cannot be written, and then a piece of space is divided as the effective information area, wh...

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 relates to a method and a device for solving dual-computer cluster split brain, belonging to the technical field of mass data storage. According to the method, one or more storage pools are created through a rear-end shared disk, the same storage pool can be assigned to a certain node according to user selection, a quorum disk for storing exchange information is created for each node in the storage pool, and the exchange information comprises a quorum superblock for identifying clusters and position and length of related information, a quorum information for identifying resource competing result and a response information for identifying that other nodes give up competition for the resource; when split brain happens, the node obtaining the resource writes quorum information into the quorum disk, which indicates that the resource of the node of the quorum disk is obtained by the node obtaining the resource; and the node obtaining no resource writes the response information into the quorum disk, which indicates that the node obtaining no resource knows that the resource of the node of the quorum disk is taken over by other node, and itself is going to give up competition for the resource. As compared with the prior art, by application of the method and the device provided by the invention, occurrence of split brain is avoided successfully.

Description

technical field [0001] The present invention relates to a method and device for solving split-brain in a dual-machine cluster, in particular to a method and device for preventing split-brain when a dual-machine cluster storage system uses back-end shared storage, which is suitable for a dual-machine cluster storage system and belongs to massive data field of storage technology. Background technique [0002] In the field of modern storage, in order to improve the reliability of stored data and improve the input and output performance of storage systems, people have designed a variety of data storage solutions, which are usually various types of redundant arrays of independent disks (Redundant Arrays of Independent Disks, RAID ). By using specific hardware or software, RAID combines multiple physical storage devices such as disks to form a unified logical storage device. Most of the technologies based on dual-machine cluster are used in application systems. The dual-machine ...

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): H04L29/08H04L12/26G06F9/50
CPCH04L67/1097G06F9/5077H04L43/0876H04L43/0882H04L67/1004
Inventor 王道邦周泽湘沈晶罗华李艳国潘兴旺张恒段舒文于召鑫扬威
Owner TOYOU FEIJI ELECTRONICS
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