IP Library › Granted Patent US 11,526,276
Granted Patent B2
US 11,526,276 · App. 16/822,754 · Granted Dec 13, 2022

Upgrade management method and scheduling node, and storage system

Inventor: Fei Xu (Beijing, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F3/0607G06F3/067G06F3/0659G06F3/0683G06F9/3885G06F9/4881H04L41/082H04L67/06
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,526,276
App. No.
16/822,754
Granted
Dec 13, 2022
Kind
B2
Abstract

A storage system and method for performing upgrade management are provided. A plurality of nodes in the storage systems are divided into groups. A scheduling node obtains a constraint condition of each group. The constraint condition comprises a maximum quantity of nodes in a corresponding group that are allowed to be upgraded in parallel. Nodes in a first batch for upgrading in parallel from the groups based on the constraint condition of each group are selected. An upgrade instruction is sent to the nodes in the first batch.

Claims (39)

1. An upgrade management method in a storage system comprising a plurality of nodes, the plurality of the nodes being divided into groups; the upgrade management method comprising:

obtaining, by a scheduling node in the storage system, a respective constraint condition of each group, wherein the respective constraint condition comprises a maximum quantity of the nodes in a corresponding group that are allowed to be upgraded in parallel;

selecting, by the scheduling node, a portion of nodes from the plurality of nodes from each group for a first batch for upgrading in parallel based on the respective constraint condition of each group, wherein nodes not in the portion of the nodes selected from each group are not in the first batch and are not upgraded in parallel; and

sending, by the scheduling node, an upgrade instruction to the nodes in the first batch.

2. The method according to claim 1 , wherein the nodes in a group have a same function or belong to a same physical area.

3. The method according to claim 1 , further comprising:

selecting, by the scheduling node, nodes in a second batch, that are not in the first batch, for upgrading in parallel from the groups based on the respective constraint condition of each group; and

sending, by the scheduling node, an upgrade instruction to the nodes in the second batch.

4. The method according to claim 1 , wherein each of the groups comprises a portion of the plurality of the nodes that are unsuitable to be restarted simultaneously.

5. The method according to claim 1 , wherein the constraint condition of each group specifies a number of nodes of each group that can be restarted simultaneously, the number of nodes being less than a total number of nodes in each group.

6. A scheduling node in a storage system comprising a plurality of nodes, the plurality of nodes being divided into groups; an interface that is configured to communicate with a processor; wherein the processor is configured to:

obtain a respective constraint condition of each group, wherein the respective constraint condition comprises a maximum quantity of the nodes in a corresponding group that are allowed to be upgraded in parallel;

select a portion of the plurality of nodes from the plurality of nodes fef from each group for a first batch for upgrading in parallel based on the respective constraint condition of each group, wherein nodes not in the portion of the nodes selected fef from each group are not in the first batch and are not upgraded in parallel; and

send an upgrade instruction to the nodes in the first batch.

7. The scheduling node according to claim 6 , wherein the nodes in a group have a same function or belong to a same physical area.

8. The scheduling node according to claim 6 , wherein the processor is further configured to:

select nodes in a second batch, that are not in the first batch, for upgrading in parallel from the groups based on the respective constraint condition of each group; and

send an upgrade instruction to the nodes in the second batch.

9. The scheduling node according to claim 6 , wherein each of the groups comprises a portion of the plurality of the nodes that are unsuitable to be restarted simultaneously.

10. The scheduling node according to claim 6 , wherein the constraint condition of each group specifies a number of nodes of each group that can be restarted simultaneously, the number of nodes being less than a total number of nodes in each group.

11. A storage system comprising a scheduling node and a plurality of nodes, the plurality of the nodes being divided into groups; wherein the scheduling node is configured to:

obtain a respective constraint condition of each group, wherein the respective constraint condition comprises a maximum quantity of the nodes in a corresponding group that are allowed to be upgraded in parallel;

select a portion of the plurality of nodes from the plurality of nodes fef from each group for a first batch for upgrading in parallel based on the respective constraint condition of each group, wherein nodes not in the portion of the nodes selected fef from each group are not in the first batch and are not upgraded in parallel; and

send an upgrade instruction to the nodes in the first batch.

12. The storage system according to claim 11 , wherein the nodes in a group have a same function or belong to a same physical area.

13. The storage system according to claim 11 , wherein the scheduling node is further configured to:

select nodes in a second batch, that are not in the first batch, for upgrading in parallel from the groups based on the respective condition of each group; and

send an upgrade instruction to the nodes in the second batch.

14. The storage system according to claim 11 , wherein each of the groups comprises a portion of the plurality of the nodes that are unsuitable to be restarted simultaneously.

15. The storage system according to claim 11 , wherein the constraint condition of each group specifies a number of nodes of each group that can be restarted simultaneously, the number of nodes being less than a total number of nodes in each group.

16. A non-volatile computer readable storage medium, wherein the non-volatile computer readable storage medium stores a computer instruction that is used to be executed by a processor of a scheduling node in a storage system comprising a plurality of nodes, the plurality of the nodes being divided into groups; wherein the processor executes the computer instruction to perform operations comprising:

obtaining a respective constraint condition of each group, wherein the respective constraint condition comprises a maximum quantity of the nodes in corresponding group that are allowed to be upgraded in parallel;

selecting a portion of the plurality of nodes from the plurality of nodes for from each group for a first batch for upgrading in parallel based on the respective constraint condition of each group, wherein nodes not in the portion of the nodes selected for from each group are not in the first batch and are not upgraded in parallel; and

sending an upgrade instruction to the nodes in the first batch.

17. The non-volatile computer readable storage medium according to claim 16 , wherein the processor further executes the computer instruction to perform operations comprising:

selecting the nodes in a second batch, that are not in the first batch, for upgrading in parallel from the groups based on the respective constraint condition of each group; and

sending an upgrade instruction to the nodes in the second batch.

18. The non-volatile computer readable storage medium according to claim 10 , wherein each of the groups comprises a portion of the plurality of the nodes that are unsuitable to be restarted simultaneously.

19. The non-volatile computer readable storage medium according to claim 10 , wherein the constraint condition of each group specifies a number of nodes of each group that can be restarted simultaneously, the number of nodes being less than a total number of nodes in each group.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 27, 2020
From: XU, FEI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 053612/0817 →
Priority Claims (1)
CN 201710851312.7 · Sep 20, 2017 · national
Continuity (2)
Continuation PCTCN2018086299 · May 10, 2018
Related Publication 20200218453A1 · Jul 9, 2020