Method and system for detecting a dead server
First Claim
1. A system for removing a defective server from a server pool comprising:
- a first server associated with a first buddy server and a second buddy server, the first server being operative to transmit a first ping signal to the first buddy server and to transmit a second ping signal to the second buddy server and to receive a first responsive signal from the first buddy server and to receive a second responsive signal from the second buddy server;
a server database operative to maintain the association between the first server and the first buddy server and to maintain the association between the first server and the second buddy server;
wherein the first server is further operative to send a first buddy server down signal to the server database, in response to a determination that the first buddy server is down; and
wherein the server database is further operative to associate the first server with a third buddy server in response to the receipt of the first buddy server down signal.
2 Assignments
0 Petitions
Accused Products
Abstract
Method and system for detecting a dead server in a multi-server environment. A virtual ring structure is used in which each server in a server pool is only required to monitor the status of two other servers in the server pool. Thus, a server need only transmit ping signals to two other servers (its buddies) in the server pool at any given time. Because each server maintains the status of only two other servers at any given time, the size of the server pool is not limited by the ability of each server to send and process ping signals. The two servers which are monitored by any given server in the server pool are referred to as the “buddy A” server and the “buddy B” server. When the monitoring server determines that one of its buddy servers is down, the monitoring server reports the status of the down server to a SQL server that maintains a server table. The server table maintains a list of each “live” server and the buddy servers assigned to that server. Down servers are removed from the server table. When a server determines that one of its buddies is down, the report to the SQL server results in a buddy reassignment. The buddies of the down server are made buddies of one another and the virtual server ring is once more intact. The SQL server then knows not to route any client to the down server.
75 Citations
6 Claims
-
1. A system for removing a defective server from a server pool comprising:
-
a first server associated with a first buddy server and a second buddy server, the first server being operative to transmit a first ping signal to the first buddy server and to transmit a second ping signal to the second buddy server and to receive a first responsive signal from the first buddy server and to receive a second responsive signal from the second buddy server;
a server database operative to maintain the association between the first server and the first buddy server and to maintain the association between the first server and the second buddy server;
wherein the first server is further operative to send a first buddy server down signal to the server database, in response to a determination that the first buddy server is down; and
wherein the server database is further operative to associate the first server with a third buddy server in response to the receipt of the first buddy server down signal. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification