Load balancing using a client swapping operation
First Claim
1. A method for load balancing a cluster of host computers, the method comprising:
- analyzing load metrics of clients running on the host computers in the cluster;
selecting a first client that can be migrated from a first host computer in the cluster to a second host computer in the cluster to improve load balance for the cluster based on the analyzing of the load metrics of the clients;
selecting a second client running on the second host computer that can be swapped with the first client running on the first host computer; and
performing a client swapping operation that simultaneously migrate the first client from the first host computer to the second host computer and migrate the second client from the second host computer to the first host computer,wherein the client swapping operation is an atomic operation performed in an indivisible manner such that both the first and second clients being migrated are returned to their source host computers if the client swapping operation is not fully successful.
2 Assignments
0 Petitions
Accused Products
Abstract
A management server and method for load balancing a cluster of host computers analyzes load metrics of clients naming on the host computers in the cluster to select a first client that can be migrated from a first host computer in the cluster to a second host computer in the cluster to improve load balance for the cluster and a second client running on the second host computer that can be swapped with the first client running on the first host computer for a client swapping operation. The client swapping operation involves simultaneously migrating the first client from the first host computer to the second host computer and migrating the second client from the second host computer to the first host computer.
-
Citations
21 Claims
-
1. A method for load balancing a cluster of host computers, the method comprising:
-
analyzing load metrics of clients running on the host computers in the cluster; selecting a first client that can be migrated from a first host computer in the cluster to a second host computer in the cluster to improve load balance for the cluster based on the analyzing of the load metrics of the clients; selecting a second client running on the second host computer that can be swapped with the first client running on the first host computer; and performing a client swapping operation that simultaneously migrate the first client from the first host computer to the second host computer and migrate the second client from the second host computer to the first host computer, wherein the client swapping operation is an atomic operation performed in an indivisible manner such that both the first and second clients being migrated are returned to their source host computers if the client swapping operation is not fully successful. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer-readable storage medium containing program instructions for a method for load balancing a cluster of host computers, wherein execution of the program instructions by one or more processors of a computer system causes the one or more processors to perform steps comprising:
-
analyzing load metrics of clients running on the host computers in the cluster; selecting a first client that can be migrated from a first host computer in the cluster to a second host computer in the cluster to improve load balance for the cluster based on the analyzing of the load metrics of the clients; selecting a second client running on the second host computer that can be swapped with the first client running on the first host computer; and performing a client swapping operation that simultaneously migrate the first client from the first host computer to the second host computer and migrate the second client from the second host computer to the first host computer, wherein the client swapping operation is an atomic operation performed in an indivisible manner such that both the first and second clients being migrated are returned to their source host computers if the client swapping operation is not fully successful. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A management server in a distributed computer system with a cluster of host computers, the management server comprising:
-
memory; and a processor configured to; analyze load metrics of clients running on the host computers in the cluster; select a first client that can be migrated from a first host computer in the cluster to a second host computer in the cluster to improve load balance for the cluster based on the analyzing of the load metrics of the clients; select a second client running on the second host computer that can be swapped with the first client running on the first host computer; and perform a client swapping operation that simultaneously migrate the first client from the first host computer to the second host computer and migrate the second client from the second host computer to the first host compute, wherein the client swapping operation performed by the client migration module is an atomic operation performed in an indivisible manner such that both the first and second clients being migrated are returned to their source host computers if the client swapping operation is not fully successful. - View Dependent Claims (18, 19, 20, 21)
-
Specification