# US 2017/0293613 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/0293613 A1
- Document ID: US20170293613A1
- Status: Published application
- Kind: A1
- Application number: 15/631,485
- Filed: 2017-06-23
- Published: 2017-10-12
- Earliest claimed: 2014-12-31
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co.,Ltd.
- Inventors: Rui Feng
- Web page: https://patentgrep.com/patent/US20170293613A1

## 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 a quorum storage apparatus within a first refresh packet detection period, first master quorum node preemption requests sent by at least two quorum nodes in the cluster; sending, by the quorum storage apparatus, a first master quorum node preemption success response message to the initial master quorum node indicating that the initial master quorum node succeeds in master quorum node preemption when the first master quorum node preemption requests received within the first refresh packet detection period comprise the master quorum node preemption request sent by the initial master quorum node.

## Claims

### Claim 1

A method performed by a quorum storage apparatus for arbitration processing, in a system comprising a cluster and the 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 pre-recorded as an initial master quorum node, the method comprising:
receiving, by the quorum storage apparatus within a first refresh packet detection period, first master quorum node preemption requests sent by the at least two quorum nodes in the cluster when a brain split occurs in the cluster;
determining, by the quorum storage apparatus, whether the first master quorum node preemption requests sent by the at least two quorum nodes in the cluster comprise a master quorum node preemption request sent by the initial master quorum node; and
sending, by the quorum storage apparatus, a first master quorum node preemption success response message to the initial master quorum node indicating that the initial master quorum node succeeds in master quorum node preemption when the first master quorum node preemption requests received within the first refresh packet detection period comprise the master quorum node preemption request sent by the initial master quorum node.

### Claim 2 (depends on 1)

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

### Claim 3 (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 4 (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 5 (depends on 3)

The method according to claim 3, 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 6 (depends on 5)

The method according to claim 5, 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 7

A quorum storage apparatus comprising a processor, a memory, a communications interface, and a bus, wherein the processor and the communications interface communicate with each other by using the bus;
the 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;
the processor is configured to execute the program stored in the memory to perform the steps of:
receiving first master quorum node preemption requests within a first refresh packet detection period sent by the at least two quorum nodes in the cluster when brain split occurs in the cluster;
determining whether the first master quorum node preemption requests sent by the at least two quorum nodes in the cluster comprise a master quorum node preemption request sent by the initial master quorum node; and
sending a first master quorum node preemption success response message to the initial master quorum node indicating that the initial master quorum node succeeds in master quorum node preemption when the first master quorum node preemption requests received within the first refresh packet detection period comprise the master quorum node preemption request sent by the initial master quorum node.

### Claim 8 (depends on 7)

The quorum storage apparatus according to claim 7, wherein the processor further configured to perform:
receiving second master quorum node preemption requests within a second refresh packet detection period sent by the at least two quorum nodes in the cluster when brain split occurs in the cluster;
determining a quorum node which first sends the master quorum node preemption request in the second refresh packet detection period as a quorum node succeeding in master quorum node preemption when the second master quorum node preemption requests sent by the at least two quorum nodes in the cluster do not comprise a master quorum node preemption request sent by the initial master quorum node; and
sending a second master quorum node preemption success response message indicating succeeding in master quorum node preemption to the quorum node which first sends the master quorum node preemption request in the second refresh packet detection period.

### Claim 9 (depends on 7)

The quorum storage apparatus according to claim 7, wherein the processor further configured to perform:
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 10 (depends on 7)

The quorum storage apparatus according to claim 7, wherein the processor further configured 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 11 (depends on 9)

The quorum storage apparatus according to claim 9, wherein the processor further configured 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 12 (depends on 9)

The quorum storage apparatus according to claim 9, wherein the processor further configured 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 13

An arbitration processing system, wherein the system comprises a cluster and the quorum storage apparatus, 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;
the quorum storage apparatus configured to: receive first master quorum node preemption requests within a first refresh packet detection period sent by the at least two quorum nodes in the cluster when brain split occurs in the cluster;
determine whether the first master quorum node preemption requests sent by the at least two quorum nodes in the cluster comprise a master quorum node preemption request sent by the initial master quorum node; and
send a first master quorum node preemption success response message to the initial master quorum node indicating that the initial master quorum node succeeds in master quorum node preemption when the first master quorum node preemption requests received within the first refresh packet detection period comprise the master quorum node preemption request sent by the initial master quorum node.
