IP Library Granted Patent US 12,130,716
Granted Patent B2
US 12,130,716 · App. 18/260,607 · Granted Oct 29, 2024

Multi-path failover group management method, system, storage medium and server

Inventor: Feihu Yang (Jiangsu, CN)
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
G06F11/2025G06F11/0793G06F11/1423
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 12,130,716
App. No.
18/260,607
Granted
Oct 29, 2024
Kind
B2
Abstract

The disclosure provides a multi-path failover group management method, which includes: acquiring Small Computer System Interface (SCSI) address information of a physical volume, and determining physical link information in the SCSI address information; determining target port group information of a storage to which the physical volume belongs; determining whether port group information corresponding to a storage array subscript value is null; when the port group information is null, creating first subscript port group information corresponding to the storage array subscript value, creating a failover group node according to the physical link information, and adding the physical volume to the failover group node; when the port group information is not null, determining whether the port group information is consistent with the target port group information; and when the port group information is inconsistent with the target port group information, updating the storage array subscript value and reselecting appropriate port group information.

Claims (40)

1. A multi-path failover group management method, comprising:

S1: acquiring Small Computer System Interface (SCSI) address information of a physical volume, and determining physical link information in the SCSI address information;

S2: determining target port group information of a storage to which the physical volume belongs;

S3: determining whether port group information corresponding to a storage array subscript value is null; when the port group information corresponding to the storage array subscript value is null, entering S4; and when the port group information corresponding to the storage array subscript value is not null, entering S5;

S4: creating first subscript port group information corresponding to the storage array subscript value, creating a failover group node according to the physical link information, and adding the physical volume to the failover group node;

S5: determining whether the port group information corresponding to the storage array subscript value is consistent with the target port group information; and when the port group information corresponding to the storage array subscript value is inconsistent with the target port group information, entering S6; and

S6: updating the storage array subscript value and returning S3;

wherein when the first target failover group node whose target physical link information is consistent with the physical link information does not exist in the failover group linked list, the method comprises:

creating a second target failover group node according to the physical link information, and adding the second target failover group node to the failover group linked list; and

adding the physical volume to the second target failover group node;

wherein before adding the physical volume to the first target failover group node, the method comprises:

determining whether the first target failover group node is active; and

when the first target failover group node is not active, modifying the first target failover group node to be active, and adding the physical volume to the second target failover group node.

2. The multi-path failover group management method according to claim 1 , wherein when the port group information corresponding to the storage array subscript value is inconsistent with the target port group information, the method comprises:

looking up a failover group linked list corresponding to the storage array subscript value;

determining whether a first target failover group node whose target physical link information is consistent with the physical link information exists in the failover group linked list; and

when the first target failover group node whose target physical link information is consistent with the physical link information exists in the failover group linked list, adding the physical volume to the first target failover group node.

3. The multi-path failover group management method according to claim 1 , wherein after creating the failover group node according to the physical link information, the method comprises:

adding the failover group node to the failover group linked list corresponding to the storage array subscript value.

4. The multi-path failover group management method according to claim 1 , wherein the updating the storage array subscript value and returning S3 comprises:

adding one to the storage array subscript value as the updated storage array subscript value, and returning S3.

5. The multi-path failover group management method according to claim 1 , wherein determining target port group information of a storage to which the physical volume belongs comprises:

acquiring the corresponding target port group information according to a connection port of the physical volume.

6. The multi-path failover group management method according to claim 1 , wherein the storage array subscript value is configured to find the corresponding port group information.

7. The multi-path failover group management method according to claim 1 , wherein determining whether port group information corresponding to a storage array subscript value is null comprises:

determining whether port group information corresponding to an initial value of the storage array subscript value is null.

8. The multi-path failover group management method according to claim 7 , wherein the initial value is zero.

9. The multi-path failover group management method according to claim 7 , wherein the initial value is one.

10. The multi-path failover group management method according to claim 1 , wherein the updating the storage array subscript value and returning S3 comprises:

adding two to the storage array subscript value as the updated storage array subscript value, and returning S3.

11. The multi-path failover group management method according to claim 1 , wherein the updating the storage array subscript value and returning S3 comprises:

adding an integer to the storage array subscript value as the updated storage array subscript value, and returning S3.

12. The multi-path failover group management method according to claim 1 , wherein the failover group node to which the physical volume is added is an existing failover group node or a new failover group node.

13. The multi-path failover group management method according to claim 2 , the method comprises:

performing state detection on the failover group node before adding the physical volume to the first target failover group node.

14. The multi-path failover group management method according to claim 7 , wherein when the state of the first target failover group is deleted, the first target failover group node is modified to be active.

15. The multi-path failover group management method according to claim 1 , the method comprises:

ensuring that the first target failover group node is active before adding the physical volume to the second target failover group node.

16. The multi-path failover group management method according to claim 1 , the method comprises:

for all existing and new failover group nodes, performing state detection on the failover group node before the physical volume is added.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 7, 2023
From: YANG, FEIHU
To: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 064190/0049 →
Priority Claims (1)
CN 202110848216.3 · Jul 27, 2021 · national
Continuity (1)
Related Publication 20240061755A1 · Feb 22, 2024