# US 2022/0283914 A1 · Service takeover method, storage device, and service takeover apparatus

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

- Number: US 2022/0283914 A1
- Document ID: US20220283914A1
- Status: Published application
- Kind: A1
- Application number: 17/826,428
- Filed: 2022-05-27
- Published: 2022-09-08
- Earliest claimed: 2015-12-23
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Cheng ZHANG
- Web page: https://patentgrep.com/patent/US20220283914A1

## CPC

- G06F 11/2033: {switching over of hardware resources}
- G06F 11/1645: {and the comparison itself uses redundant hardware}
- G06F 11/165: {with continued operation after detection of the error}
- G06F 11/2025: {using centralised failover control functionality}
- G06F 11/2035: {without idle spare hardware}
- G06F 11/2048: {where the redundant components share neither address space nor persistent storage}
- G06F 11/2097: {maintaining the standby controller/processing unit updated (initialisation or re-synchronisation thereof G06F11/1658 and subgroups)}
- H04L 1/22: using redundant apparatus to increase reliability
- 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]
- G06F 11/2028: {eliminating a faulty processor or activating a spare}
- G06F 11/2056: {by mirroring}
- G06F 11/3024: {where the computing system component is a central processing unit [CPU]}
- G06F 11/3409: {for performance assessment}
- G06F 11/3485: {for I/O devices}
- G06F 2201/805: Real-time
- 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 describes example service takeover methods, storage devices, and service takeover apparatuses. In one example method, when a communication fault occurs between two storage devices in a storage system, the two storage devices respectively obtain running statuses of the two storage devices. A running status can reflect current usage of one or more system resources of a particular storage device. Then, a delay duration is determined according to the running statuses, where the delay duration is a duration for which the storage device waits before sending an arbitration request to a quorum server. The two storage devices respectively send, after the delay duration, arbitration requests to the quorum server to request to take over a service. The quorum server then can select a storage device in a relatively better running status to take over a host service.

## Claims

### Claim 1

A service takeover method in an active-active (AA) storage system, comprising:
determining that a communication fault occurs on a link between a first storage device and a second storage device included in the AA storage system;
obtaining a first running status of the first storage device and a second running status of the second storage device, wherein the first running status is configured to indicate a performance of data processing by the first storage device; the second running status is configured to indicate a performance of data processing by the second storage device; and
selecting the first storage device as a winner to remain accessible to a host in response to determining that the communication fault occurs on the link between the first storage device and the second storage device; wherein the performance of data processing by the first storage device is higher than the performance of data processing by the second storage device, wherein the second storage device being set inaccessible to the host.

### Claim 2 (depends on 1)

The method according to the claim 1, further comprising:
checking that a communication between the first storage device and the host is available.

### Claim 3 (depends on 1)

The method according to the claim 1, further comprising:
receiving a first arbitration request sent by the first storage device; and
receiving a second arbitration request sent by the second storage device, wherein the second arbitration request is sent later than the first arbitration request.

### Claim 4 (depends on 3)

The method according to the claim 3, wherein the first arbitration request is sent based on the first running status of the first storage device, and wherein the second arbitration request is sent based on the second running status of the second storage device.

### Claim 5

An active-active (AA) storage system, comprising a first storage device, a second storage device, and a quorum server,
wherein the quorum server is configured to:
determine that a communication fault occurs on a link between the first storage device and the second storage device;
obtain a first running status of the first storage device, wherein the first running status is configured to indicate a performance of data processing by the first storage device;
obtain a second running status of the second storage device, wherein the second running status is configured to indicate a performance of data processing by the second storage device; and
select the first storage device as a winner to remain accessible to a host in response to determining that the communication fault occurs on the link between the first storage device and the second storage device; wherein the performance of data processing by the first storage device is higher than the performance of data processing by the second storage device, wherein the second storage device being set inaccessible to the host.

### Claim 6 (depends on 5)

The storage system according to claim 5,
wherein the quorum server is further configured to check that a communication between the first storage device and the host is available.

### Claim 7 (depends on 5)

The storage system according to claim 5, wherein the first storage device is configure to send the first Ruining status to the quorum server, and wherein the second storage device is configured to send the second running status to the quorum server.

### Claim 8

An active-active (AA) storage system, comprising a first storage device, a second storage device, and a quorum server,
wherein the quorum server is configured to determine that a communication fault occurs on a link between the first storage device and the second storage device;
wherein the first storage device is configured to obtain a first running status of the first storage device, wherein the first running status is configured to indicate a performance of data processing by the first storage device;
wherein the second storage device is configured to obtain a second running status of the second storage device, wherein the second running status is configured to indicate a performance of data, processing by the second storage device; and
wherein the quorum server is further configured to select the first storage device as a winner to remain accessible to a host in response to determining that the communication fault occurs on the link between the first storage device and the second storage device; wherein the performance of data processing by the first storage device is higher than the performance of data processing by the second storage device, wherein the second storage device being set inaccessible to the host.

### Claim 9 (depends on 8)

The storage system according to claim 8, wherein the first storage device is further configured to send the first running status to the quorum server, and wherein the second storage device is further configured to send the second running status to the quorum server.

### Claim 10 (depends on 8)

The storage system according to claim 8,
wherein the first storage device is further configured to send a first arbitration request to the quorum server based on the first running status,
wherein the second storage device is further configured to send a second arbitration request to the quorum server based on the second running status, and wherein the second arbitration request received by the quorum server is later than the first arbitration request received by the quorum server.
