摘要 |
According to an example, in a method for load balancing among servers, the GLB device may receive detection results of performance of the servers sent by each SLB device, in which the detection results include a performance parameter and a corresponding IP address of each server of the servers. In addition, the GLB device may determine which server of the servers has a highest performance among the servers according to the performance parameters of the servers sent by the SLB devices, and the IP address of the determined server may be stored. Moreover, the GLB device may receive an access request from a client, obtain the stored IP address of the determined server, and send the IP address of the determined server to the client. |
主权项 |
1. A method for load balancing among a plurality of servers, the method is applied to a Global Load Balancing (GLB) device in a multi-data center environment under which each data center comprises at least one Server Load Balancing, SLB, device, the method comprises:
receiving, by the GLB device, detection results of performance of a plurality of servers sent by each Server Load Balancing (SLB) device, wherein the detection results comprise a performance parameter and a corresponding IP address of each server of the plurality of servers; determining, by the GLB device, which server of the plurality of servers has a highest performance among the plurality of servers according to the performance parameters of the plurality of servers sent by the SLB devices, and storing the IP address of the determined server; and receiving, by the GLB device, an access request from a client, obtaining the stored IP address of the determined server, and sending the IP address of the determined server to the client. |