×

System and method for enabling site failover in an application server environment

  • US 7,702,947 B2
  • Filed: 04/03/2006
  • Issued: 04/20/2010
  • Est. Priority Date: 11/29/2005
  • Status: Active Grant
First Claim
Patent Images

1. A system for enabling site failover in an application server or clustered environment, comprising:

  • a first cluster, including a first plurality of servers executing therein that processes requests, and having a first local load balancer associated therewith that forwards session requests within the first cluster;

    a second cluster, including a second plurality of servers executing therein that processes requests, and having a second local load balancer associated therewith that forwards session requests within the second cluster;

    a replication channel provided between the first cluster and the second cluster, which is configured to communicate, prior to failover, session state information between servers in the first cluster and servers in the second cluster;

    a global load balancer for distributing the session requests to the first and second clusters via their corresponding first and second local load balancers;

    wherein, when a session is requested, a primary server is selected from the first plurality of servers in the first cluster to handle requests within the session, and wherein the primary server establishes the session and subsequently, prior to failover, replicates current session information to a secondary server selected from the second plurality of servers in the second cluster, via the replication channel, for use in enabling site failover between the plurality of clusters;

    wherein, for a particular session, each of the global, first local, and second local load balancers maintains affinity for subsequent requests within the particular session to its primary server, to ensure that the subsequent requests are not transferred to another server in the same cluster, or from one cluster to another cluster, unless a site failover occurs; and

    whereinif the system is configured for use in a metropolitan area network (MAN), the plurality of clusters are distributed on a MAN wherein the session is an HTTP session, and wherein the replication channel uses an in-memory replication that operates between the first cluster and the second cluster, and allows HTTP session state to be replicated synchronously from the first cluster to the second cluster, andif the system is configured for use in a wide area network (WAN), the plurality of clusters are distributed on a WAN wherein each of the plurality of clusters has a database associated therewith, that includes session information stored therein, which the replication channel then uses to provide failover across the plurality of clusters using asynchronous data replication at periodic intervals.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×