Link handover method for service in storage system, and storage device
AssigneeHuawei Technologies Co., Ltd.
InventorChao Leng
Life of this patent
Estimating the term…
Abstract
A storage system including a first controller and a second controller, where the first controller and the second controller each coupled to at least one interface card, and each interface card includes at least one port. A bound port group is preconfigured in the storage system, and the bound port group includes ports from the first controller and the second controller. A link handover method includes when the first controller detects that a link of a first port in the bound port group is faulty, marking a status of the first port as unavailable in the bound port group, selecting a second port in an available state from the bound port group, and handing over a service carried on the link of the first port to a link of the second port.
Claims20
A link handover method implemented by a first controller for a service in a storage system comprising the first controller and a second controller, wherein the method comprises:
- detecting that a link of a first port in a bound port group is faulty;
- marking a status of the first port as unavailable when the first controller detects that the link of the first port is faulty, wherein the first controller and the second controller communicate with a single switch, wherein the first controller and the second controller are each coupled to at least one interface card, wherein each interface card comprises at least one port, wherein the bound port group is preconfigured in the storage system, and wherein the bound port group comprises ports from the first controller and the second controller;
- selecting a second port in an available state from the bound port group;
- and
- handing over a service carried on the link of the first port to a link of the second port.
A storage device, comprising:
- a first controller coupled to at least one interface card;
- a second controller coupled to the at least one interface card, wherein the first controller and the second controller communicate with a single switch, and wherein each interface card comprises at least one port;
- and
- a memory coupled to the first controller and configured to store instructions, wherein the instructions cause the first controller to:
- preconfigure a bound port group, the bound port group comprising ports from the first controller and the second controller;
- detect that a link of the first port is faulty;
- mark a status of a first port as unavailable when the link of the first port is faulty;
- select a second port in an available state from the bound port group;
- and
- hand over a service carried on the link of the first port to a link of the second port.
Dependencies are inferred from the claim text.