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

Method for sharing arbitration disks by dual-active systems

A technology of arbitration logic and arbitration procedure, applied in the database field, can solve the problems of difficulty in improving IO performance and high cost, and achieve the effect of ensuring data consistency

Active Publication Date: 2018-04-17
HANGZHOU WOQU NETWORK TECH
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Aiming at the shortcomings of difficulty in improving IO performance and high cost in the prior art, the present invention provides a method for sharing an arbitration disk in a dual-active system

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 for sharing arbitration disks by dual-active systems

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] In this embodiment, the specific steps for setting up a shared arbitration disk in a hyperbolic system are as follows:

[0029] In the two computer rooms A and B, there are two storage nodes and two computing nodes respectively. The operating system is Redhat 6.6 or above, 2 CPUs, 32 cores, 64G memory, and 320G storage space.

[0030] The two computer rooms A and B each select a storage node AS1 and BS1, and divide the arbitration mirror disk as a subsequent logical arbitration disk.

[0031] It is confirmed that the two computer rooms of A and B can communicate, and both computing nodes and storage nodes can communicate with each other;

[0032] The mirror disks of the storage node AS1 and the storage node BS1 are respectively initialized, and the mirror disks of the storage node AS1 and the storage node BS1 are connected to form a logical arbitration disk.

[0033] Output both the logical arbitration disks of the local computer room and the physical arbitration disks...

Embodiment 2

[0041] The conditions of embodiment 2 are basically the same as those of embodiment 1, except that after the implementation is completed and the service is provided, the computer room fails.

[0042] 1. When the link in the computer room fails, the arbitration disk monitoring programs in the two computer rooms successively find that the link is interrupted, and trigger the link interruption processing program.

[0043] 2. The link interruption processing program executes the link interruption processing flow, first locks the logical arbitration disks of AS1 and BS1, executes lock grabbing through the arbitration link, the lock is grabbed by AS1, AS1 releases the lock of the logical arbitration disk and continues to provide service and mark itself as alive, AS2 marks itself as dead because it did not grab the lock.

Embodiment 3

[0045] The conditions of embodiment 3 are basically the same as those of embodiment 1, except that the implementation is completed and the recovery after the arbitration judgment has occurred.

[0046] 1. The link failure is restored, the arbitration program executes the online operation, and the arbitration disk monitoring program executes the recovery process;

[0047] 2. The AS1 arbitration disk monitoring program detects which node in the A / B computer room is the surviving node. It finds that the AS1 node has been marked as surviving. It will overwrite the AS1 mirror disk data to AS2 and reconnect.

[0048] Go to the arbitration disk of the dead node, and pull up the mirrored volume.

[0049] When the link is restored, both nodes provide services at the same time.

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 the field of databases, and discloses a method for sharing arbitration disks by dual-active systems. The method is characterized by comprising the following steps of: (1) configuring a machine room structure; (2) arranging a distributed lock; (3) connecting generation architecture; (4) carrying out fault processing; and (5) recovering data. The method is based on technologies of a shared arbitration disk and a distributed lock; under a dual-data center scene, a database node of each data center can normally provide services; when a link has a fault, the fact that onlythe database of one data center can normally provide service is ensured through the distributed lock and an arbitration lock grabbing mechanism, so that data consistency of the data centers is ensuredand dual-active data centers are possible. When a certain arbitration disk has a fault, due to an arbitration disk voting mechanism, the fault of a single arbitration disk does not influence the using of the whole cluster. When a certain node has a fault, services can be continuously provided by a plurality of nodes, so that the using of the whole cluster is not influenced.

Description

technical field [0001] The invention relates to the field of databases, in particular to a method for sharing an arbitration disk in a dual-active system. Background technique [0002] For the purpose of disaster recovery, at least two data centers are generally built, one data center undertakes the business of users, and the other data center backs up data, configuration, business, etc. Active-active data centers mean that two data centers undertake business at the same time and back up each other to improve the overall service capability and system resource utilization of the two data centers. [0003] The two data centers in the active-active data center will send a heartbeat packet to each other every set time. If the heartbeat packet from the other party is not received within the set time, the backup will be interrupted. At this time, if both data centers continue to undertake business, data inconsistency will occur. The arbitration mechanism is currently one of the ...

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/20
CPCG06F11/201G06F11/2089
Inventor 金戈李建辉熊中哲魏兴华臧冰凌李春陈栋张文件罗春
Owner HANGZHOU WOQU NETWORK TECH
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More