Load switch command including identification of source server cluster and target server cluster
AssigneeHangzhou H3C Technologies Co., Ltd.
InventorQi YANG
Life of this patent
Estimating the term…
Abstract
A software defined network (SDN) controller sends a load switch command to a network device. The load switch command includes identification of a source server cluster and identification of a target server cluster.
Claims14
A method for load balancing across clusters, including:
- obtaining, by a software defined network (SDN) controller, load information which is reported by a source server cluster;
- determining based on the load information that the source server cluster is in an overload state;
- in response to determining that the source server cluster is in an overload state, updating the state of the source server cluster in a cross-cluster table of the SDN controller;
- searching the cross-cluster table for a target server cluster which is in an idle state and which is located in a server cluster group which the source server cluster belongs to;
- sending a load switch command to a predetermined network device which is located in a front path of the source server cluster, wherein the load switch command includes identification of the source server cluster and identification of a target server cluster.
A method for transferring access across clusters, comprising:
- receiving, by a network device, a load switch command from a software defined network (SDN) controller, wherein the load switch command includes identification of a source server cluster and identification of a target server cluster, wherein the source server cluster and the target server cluster belong to a server cluster group;
- and
- performing a switch processing mode for the source server cluster;
- wherein the process of performing a switch processing mode comprises:
- receiving a packet for accessing the source server cluster;
- determining whether the packet belongs to a session which has already been established for the source server cluster, and if the packet belongs to a session which has already been established for the source server cluster, forwarding the packet to the source server cluster, otherwise, acting as proxy for an external host to access the target server cluster.
A non-transitory computer readable storage medium on which is stored machine readable instructions that when executed by a processor cause the processor to:
- obtain load information reported by a source server cluster;
- update the state of the source server cluster in a cross-cluster table in accordance with the load information;
- in response to determining that the source server cluster is in an overload state, search the cross-cluster table for a target server cluster that is in an idle state and which is located in a same server cluster group as the source server cluster, and send a load switch command to a predetermined network device which is located in a front path of the source server cluster, wherein the load switch command includes identification of the source server cluster and identification of a target server cluster.
A non-transitory computer readable storage medium on which is stored machine readable instructions that when executed by a processor cause the processor to:
- receive a load switch command from a software defined networks (SDN) controller, wherein the load switch command has identification of a source server cluster and identification of a target server cluster, wherein the source server cluster and the target server cluster belong to a server cluster group;
- perform a switch processing mode for the source server cluster;
- receive a packet for access the source server cluster;
- determine whether the packet is a session which has already been established for the source server cluster, and if the packet is a session which has already been established for the source server cluster, forward the packet to the source server cluster, otherwise, act as proxy for an external host to access the target server cluster.
Dependencies are inferred from the claim text.