# US 2017/0302502 A1 · Arbitration processing method after cluster brain split, quorum storage apparatus, and system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0302502 A1
- Document ID: US20170302502A1
- Status: Published application
- Kind: A1
- Application number: 15/636,340
- Filed: 2017-06-28
- Published: 2017-10-19
- Earliest claimed: 2014-12-31
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co.,Ltd.
- Inventors: Rui Feng
- Web page: https://patentgrep.com/patent/US20170302502A1

## CPC

- G06F 11/1425: {by reconfiguration of node membership}
- G06F 3/06: Digital input from, or digital output to, record carriers {, e.g. RAID, emulated record carriers or networked record carriers}
- G06F 9/5061: {Partitioning or combining of resources}
- G06F 9/5072: {Grid computing}
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/14: Error detection or correction of the data by redundancy in operations (error detection or correction of the data by redundancy in hardware G06F11/16)
- G06F 11/2046: {where the redundant components share persistent storage (G06F11/2043 takes precedence)}
- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F 16/25: Integrating or interfacing systems involving database management systems
- H04L 41/044: comprising hierarchical management structures
- H04L 41/0659: by isolating or reconfiguring faulty entities
- H04L 41/0661: {by reconfiguring faulty entities}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 69/28: Timers or timing mechanisms used in protocols
- H04L 69/40: for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06)
- G06F 11/187: {Voting techniques}
- G06F 2209/505: Clust
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure discloses an arbitration processing solution when brain split occurs in cluster. The solution includes: receiving, by the quorum storage apparatus, first master quorum node preemption requests within a first master quorum node preemption detection period sent by the at least two quorum nodes when brain split occurs in the cluster; sending, by the quorum storage apparatus, a first master quorum node preemption success response message to the initial master quorum node when the first master quorum node preemption request sent by the initial master quorum node is received; where the first master quorum node preemption success response message indicates the initial master quorum node succeeds in master quorum node preemption.

## Claims

### Claim 1

An arbitration processing method in a system comprising a cluster and a quorum storage apparatus, wherein the cluster comprises at least two quorum nodes and the quorum storage apparatus pre-records one of the at least two quorum nodes in the cluster as an initial master quorum node, and the method comprises:
receiving, by the quorum storage apparatus, first master quorum node preemption requests within a first master quorum node preemption detection period sent by the at least two quorum nodes when a brain split occurs in the cluster;
determining, by the quorum storage apparatus, whether a first master quorum node preemption request sent by the initial master quorum node is received in the first master quorum node preemption requests; and
sending, by the quorum storage apparatus, a first master quorum node preemption success response message to the initial master quorum node when the first master quorum node preemption request sent by the initial master quorum node is received, wherein the first master quorum node preemption success response message indicates the initial master quorum node succeeds in master quorum node preemption.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the method further comprises:
receiving, by the quorum storage apparatus, second master quorum node preemption requests within a second master quorum node preemption detection period sent by the at least two quorum nodes when brain split occurs in the cluster;
determining, by the quorum storage apparatus, whether a second master quorum node preemption request sent by the initial master quorum node is received in the second master quorum node preemption requests;
setting, by the quorum storage apparatus, a quorum node which first sends a master quorum node preemption request sequent to the second master quorum node preemption detection period when the second master quorum node preemption request sent by the initial master quorum node is not received within the second master quorum node preemption detection period, and sending a second master quorum node preemption success response message to the quorum node succeeding in master quorum node preemption.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the method further comprises:
sending, by the quorum storage apparatus, a master quorum node preemption failure response message to all quorum nodes sending the second master quorum node preemption requests.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the method further comprises:
receiving, by the quorum storage apparatus, a first permission control message sent by the initial master quorum node, wherein the first permission control message comprises an identifier of a first-category quorum node that does not connect to the initial master quorum node; and
sending, by the quorum storage apparatus, an access denial notification message to the first-category quorum node, to instruct the first-category quorum node to perform a node restart operation.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the method further comprises:
receiving, by the quorum storage apparatus, a second permission control message sent by the initial master quorum node, wherein the second permission control message comprises an identifier of a second-category quorum node that connects to the initial master quorum node; and
sending, by the quorum storage apparatus, a master quorum node preemption failure notification message to the second-category quorum node, to instruct the second-category quorum node to stop sending a master quorum node preemption request to the quorum storage apparatus.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the method further comprises:
sending, by the quorum storage apparatus, a notification message used to change a firewall policy to denial to the first-category quorum node, wherein the notification message used to change a firewall policy to denial is used to instruct the first-category quorum node to change a firewall policy in a firewall of the first-category quorum node to denial, to block a master quorum node preemption request sent by the first-category quorum node to the quorum storage apparatus.

### Claim 7 (depends on 4)

The method according to claim 4, wherein the method further comprises:
sending, by the quorum storage apparatus, a notification message used to change a firewall policy to admission to the first-category quorum node, to instruct the first-category quorum node to change the firewall policy in the firewall of the first-category quorum node to admission, to allow the first-category quorum node to send a master quorum node preemption request to the quorum storage apparatus when the first-category quorum node performs the restart operation and re-joins the cluster.

### Claim 8

A quorum storage apparatus comprising:
a communications interface is configured to communicate with at least two quorum nodes in a cluster; wherein one of the at least two quorum nodes in the cluster is pre-recorded as an initial master quorum node;
a memory comprising instructions; and
one or more processors coupled to the communications interface and the memory, wherein the one or more processors execute the instructions to perform:
receiving first master quorum node preemption requests within a first master quorum node preemption detection period sent by the at least two quorum nodes when brain split occurs in the cluster;
determining whether a first master quorum node preemption request sent by the initial master quorum node is received in the first master quorum node preemption requests; and
sending a first master quorum node preemption success response message to the initial master quorum node when the first master quorum node preemption request sent by the initial master quorum node is received; wherein the first master quorum node preemption success response message indicates the initial master quorum node succeeds in master quorum node preemption.

### Claim 9 (depends on 8)

The quorum storage apparatus according to claim 8, wherein the one or more processors execute the instructions to perform:
receiving second master quorum node preemption requests within a second master quorum node preemption detection period sent by the at least two quorum nodes when brain split occurs in the cluster;
determining whether a second master quorum node preemption request sent by the initial master quorum node is received in the second master quorum node preemption requests;
setting a quorum node which first sends a master quorum node preemption request sequent to the second master quorum node preemption detection period when the second master quorum node preemption request sent by the initial master quorum node is not received within the second master quorum node preemption detection period, and sending a second master quorum node preemption success response message to the quorum node succeeding in master quorum node preemption.

### Claim 10 (depends on 9)

The quorum storage apparatus according to claim 9, wherein the one or more processors execute the instructions to perform:
sending a master quorum node preemption failure response message to all quorum nodes sending the second master quorum node preemption requests.

### Claim 11 (depends on 8)

The quorum storage apparatus according to claim 8, wherein the one or more processors executes the instructions to perform:
receiving a first permission control message sent by the initial master quorum node, wherein the first permission control message comprises an identifier of a first-category quorum node that does not connect to the initial master quorum node; and
sending an access denial notification message to the first-category quorum node, to instruct the first-category quorum node to perform a node restart operation.

### Claim 12 (depends on 8)

The quorum storage apparatus according to claim 8, wherein the processor execute the instructions to perform:
receiving a second permission control message sent by the initial master quorum node, wherein the second permission control message comprises an identifier of a second-category quorum node that connects to the initial master quorum node; and
sending a master quorum node preemption failure notification message to the second-category quorum node, to instruct the second-category quorum node to stop sending a master quorum node preemption request to the quorum storage apparatus.

### Claim 13 (depends on 11)

The quorum storage apparatus according to claim 11, wherein the one or more processors execute the instructions to perform:
sending a notification message used to change a firewall policy to denial to the first-category quorum node, wherein the notification message used to change a firewall policy to denial is used to instruct the first-category quorum node to change a firewall policy in a firewall of the first-category quorum node to denial, to block a master quorum node preemption request sent by the first-category quorum node to the quorum storage apparatus.

### Claim 14 (depends on 11)

The quorum storage apparatus according to claim 11, wherein the one or more processors execute the instructions to perform:
sending a notification message used to change a firewall policy to admission to the first-category quorum node, to instruct the first-category quorum node to change the firewall policy in the firewall of the first-category quorum node to admission, to allow the first-category quorum node to send a master quorum node preemption request to the quorum storage apparatus when the first-category quorum node performs the restart operation and re-joins the cluster.

### Claim 15

An arbitration processing system comprising:
a cluster and a quorum storage apparatus, wherein the cluster comprises at least two quorum nodes, and one of the at least two quorum nodes in the cluster is configured to be an initial master quorum node; and
wherein the quorum storage apparatus is configured to:
receive first master quorum node preemption requests within a first master quorum node preemption detection period sent by the at least two quorum nodes when a brain split occurs in the cluster,
determine whether a first master quorum node preemption request sent by the initial master quorum node is received in the first master quorum node preemption requests,
send a first master quorum node preemption success response message to the initial master quorum node when the first master quorum node preemption request sent by the initial master quorum node is received, and
wherein the first master quorum node preemption success response message indicates the initial master quorum node succeeds in master quorum node preemption.

### Claim 16 (depends on 15)

The arbitration processing system according to claim 15, wherein the quorum storage apparatus is further configured to:
receive second master quorum node preemption requests within a second master quorum node preemption detection period sent by the at least two quorum nodes when brain split occurs in the cluster;
determine whether a second master quorum node preemption request sent by the initial master quorum node is received in the second master quorum node preemption requests; and
set a quorum node which first sends a master quorum node preemption request sequent to the second master quorum node preemption detection period when the second master quorum node preemption request sent by the initial master quorum node is not received within the second master quorum node preemption detection period, and send a second master quorum node preemption success response message to the quorum node succeeding in master quorum node preemption.

### Claim 17 (depends on 16)

The arbitration processing system according to claim 16, wherein the quorum storage apparatus is further configured to:
send a master quorum node preemption failure response message to all quorum nodes sending the second master quorum node preemption requests.

### Claim 18 (depends on 15)

The arbitration processing system according to claim 15, wherein the quorum storage apparatus is further configured to:
receive a first permission control message sent by the initial master quorum node, wherein the first permission control message comprises an identifier of a first-category quorum node that does not connect to the initial master quorum node; and
send an access denial notification message to the first-category quorum node, to instruct the first-category quorum node to perform a node restart operation.

### Claim 19 (depends on 15)

The arbitration processing system according to claim 15, wherein the quorum storage apparatus is further configured to:
receive a second permission control message sent by the initial master quorum node, wherein the second permission control message comprises an identifier of a second-category quorum node that connects to the initial master quorum node; and
send a master quorum node preemption failure notification message to the second-category quorum node, to instruct the second-category quorum node to stop sending a master quorum node preemption request to the quorum storage apparatus.

### Claim 20 (depends on 18)

The arbitration processing system according to claim 18, wherein the quorum storage apparatus is further configured to:
send a notification message used to change a firewall policy to denial to the first-category quorum node, wherein the notification message used to change a firewall policy to denial is used to instruct the first-category quorum node to change a firewall policy in a firewall of the first-category quorum node to denial, to block a master quorum node preemption request sent by the first-category quorum node to the quorum storage apparatus.
