Automatically performing failover operations with a load balancer
First Claim
Patent Images
1. A method comprising:
- designating a first port on a first server as a master port, and designating a second port on the first server as a slave port;
designating a first port on a second server as a first replication port, and designating a second port on the second server as a second replication port;
receiving, in a load balancer, a status message from each of a plurality of services operating on a plurality of servers coupled behind the load balancer;
detecting, in the load balancer, a failure of a first service executing on the first server of the plurality of servers based on a status message; and
responsive to the failure detection, automatically enabling the second server corresponding to a failover server to the first server to enable a failover service to be activated to execute the first service, via the load balancer.
5 Assignments
0 Petitions
Accused Products
Abstract
A load balancer includes a failover logic unit to identify servers to execute services, generate and store in the load balancer a failover rule and a service rule, and to determine a failure in a first server that executes a first service responsive to a lack of response by the first server to a keepalive message sent by the load balancer to the first server. The load balancer can then perform an operation to cause an automatic failover of the first service to another server based on the failover and service rules.
8 Citations
17 Claims
-
1. A method comprising:
-
designating a first port on a first server as a master port, and designating a second port on the first server as a slave port; designating a first port on a second server as a first replication port, and designating a second port on the second server as a second replication port; receiving, in a load balancer, a status message from each of a plurality of services operating on a plurality of servers coupled behind the load balancer; detecting, in the load balancer, a failure of a first service executing on the first server of the plurality of servers based on a status message; and responsive to the failure detection, automatically enabling the second server corresponding to a failover server to the first server to enable a failover service to be activated to execute the first service, via the load balancer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A load balancer comprising:
a failover logic unit to identify a plurality of servers coupled behind the load balancer to execute a plurality of services, generate and store in the load balancer a failover rule including a plurality of entries each having a service identifier, a primary server identifier and a secondary server identifier, generate and store in the load balancer a service rule including a plurality of entries each having a service identifier and a primary server identifier, and to determine a failure in a first server that executes a first service responsive to a lack of response by the first server to a keepalive message sent by the load balancer to the first server, wherein, if the first server is a secondary server for a second service, the failover logic unit is to ignore the failure in the first server, and not switch the second service from a primary server for the second service. - View Dependent Claims (12, 13)
-
14. An article comprising a non-transitory machine-accessible storage medium including instructions that when executed cause a system to:
-
receive, in a load balancer, a status message from each of a plurality of services operating on a plurality of servers coupled behind the load balancer; detect a failure of a first service executing on a first server of the plurality of servers based on a status message; and determine if the first server is a primary server for the first service, automatically enable a second server corresponding to a failover server to the first server to activate a failover service to execute the first service, via the load balancer, and if not ignore the failure for the first service and not automatically enable the second server to execute the first service. - View Dependent Claims (15, 16, 17)
-
Specification