Managing failover of J2EE compliant middleware in a high availability system
First Claim
1. A system for managing a high availability cluster during failover, comprising:
- a primary node running a middleware stack for supporting web applications, wherein a plurality of layers of said middleware stack are active, wherein said primary node is assigned a virtual IP address to which requests are directed;
a secondary node running a redundant middleware stack mirroring said plurality of layers of said middleware stack of said primary node, wherein a first selection of said plurality of layers of said redundant middleware stack are active and a second selection of said plurality of layers of said redundant middleware stack are in standby;
a data replication partition shared between said primary node and said secondary node with data accessible to a selection of said plurality of layers of said active middleware stack, wherein said selection of said plurality of layers of said active middleware stack correspond to said second selection of said plurality of layers of said redundant middleware stack in standby; and
a heartbeat monitor for detecting a failure at said primary node, wherein in response to detecting said failure at said primary node, said heartbeat monitor transfers said virtual IP address from said primary node to said secondary node, said heartbeat monitor turn off power to said primary node, said heartbeat monitor remounts said data replication partition for access by said secondary node, said heartbeat monitor activates said second selection of said plurality of layers of said redundant middleware stack requiring access to said data within said data replication partition.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and program for managing failover of J2EE compliant middleware in a high availability system are provided. A primary node and a secondary node each run the same J2EE compliant middleware stack comprising layers including a load balancer, a web server, a web application server, a message control server, a monitoring server, and a database control server. In the primary node, all layers are active. In the secondary node, part of the layers are active and part of the layers are in standby. A data replication partition shared between the primary node and the secondary node includes persistent resource data accessible to a selection of the layers of the primary node. A heartbeat controller monitors each node, including the middleware stack, and upon detection of a failure, controls transfer of the services provided by the primary node to the secondary node by transferring virtual IP addresses from the primary node to the secondary node, remounting the data replication partition for access by the secondary node, and activating the standby layers which require access to the data in the data replication partition.
-
Citations
33 Claims
-
1. A system for managing a high availability cluster during failover, comprising:
-
a primary node running a middleware stack for supporting web applications, wherein a plurality of layers of said middleware stack are active, wherein said primary node is assigned a virtual IP address to which requests are directed;
a secondary node running a redundant middleware stack mirroring said plurality of layers of said middleware stack of said primary node, wherein a first selection of said plurality of layers of said redundant middleware stack are active and a second selection of said plurality of layers of said redundant middleware stack are in standby;
a data replication partition shared between said primary node and said secondary node with data accessible to a selection of said plurality of layers of said active middleware stack, wherein said selection of said plurality of layers of said active middleware stack correspond to said second selection of said plurality of layers of said redundant middleware stack in standby; and
a heartbeat monitor for detecting a failure at said primary node, wherein in response to detecting said failure at said primary node, said heartbeat monitor transfers said virtual IP address from said primary node to said secondary node, said heartbeat monitor turn off power to said primary node, said heartbeat monitor remounts said data replication partition for access by said secondary node, said heartbeat monitor activates said second selection of said plurality of layers of said redundant middleware stack requiring access to said data within said data replication partition. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system for managing middleware during failover in a high availability cluster, comprising:
-
a primary node comprising an active load balancing controller assigned to a first virtual IP address, an active HTTP server, an active web application server, an active management queue controller, and an active database controller each monitored by a first heartbeat;
a secondary node comprising a standby redundant load balancing controller, an active redundant HTTP server, an active redundant web application server, a standby redundant management queue controller, and a standby redundant database controller each monitored by a second heartbeat;
a drbd data storage partition shared between said primary node and said secondary node, wherein a message queue and a database implemented by said active management queue controller and said active database controller of said primary node are activated at said drbd data storage partition, and wherein said drbd allows access to said active management queue controller and said active database controller configured at a second virtual IP address; and
a heartbeat monitor for detecting a failure at said primary node, wherein in response to detecting said failure at said primary node, said heartbeat monitor transfers said first virtual IP address from said active load balancing controller to said redundant load balancing controller and activates said redundant load balancing controller, said heartbeat monitor calls STONITH to turn off power to said primary node, said heartbeat monitor activates and assigns said second virtual IP address to said redundant management queue controller and said redundant database controller, and said heartbeat monitor remounts said drbd partition for access by said redundant management queue controller and said redundant database controller.
-
-
14. A system for managing J2EE compliant middleware in a high availability cluster during failover, comprising:
-
a first node for running an active stack of J2EE compliant middleware;
a second node for running a partially active and partially standby redundant stack of J2EE compliant middleware;
a data replication partition shared between said first node and said second node enabling access to persistent data resources to only said first node; and
a heartbeat monitor for detecting a failure in said first node and transferring services provided by said first node to said second node, wherein said heartbeat monitor activates said partially standby redundant stack and remounts said data replication partition for access by said activated partially standby redundant stack.
-
-
15. A method for managing a high availability cluster during failover, comprising:
-
controlling a primary node running a middleware stack for supporting web applications, wherein a plurality of layers of said middleware stack are active, wherein said primary node is assigned a virtual IP address to which requests are directed;
controlling a secondary node running a redundant middleware stack mirroring said plurality of layers of said middleware stack of said primary node, wherein a first selection of said plurality of layers of said redundant middleware stack are active and a second selection of said plurality of layers of said redundant middleware stack are in standby;
managing a data replication partition shared between said primary node and said secondary node with data accessible to a selection of said plurality of layers of-said active middleware stack, wherein said selection of said plurality of layers of said active middleware stack correspond to said second selection of said plurality of layers of said redundant middleware stack in standby; and
responsive to detecting a failure at said primary node, transferring said virtual IP address from said primary node to said secondary node, turning turn off power to said primary node, remounting said data replication partition for access by said secondary node, activating said second selection of said plurality of layers of said redundant middleware stack which require access to said data within said data replication partition. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A computer program product, residing on a computer readable medium, for managing a high availability cluster during failover, comprising:
-
means for controlling a primary node running a middleware stack for supporting web applications, wherein a plurality of layers of said middleware stack are active, wherein said primary node is assigned a virtual IP address to which requests are directed;
means for controlling a secondary node running a redundant middleware stack mirroring said plurality of layers of said middleware stack of said primary node, wherein a first selection of said plurality of layers of said redundant middleware stack are active and a second selection of said plurality of layers of said redundant middleware stack are in standby;
means for managing a data replication partition shared between said primary node and said secondary node with data accessible to a selection of said plurality of layers of said active middleware stack, wherein said selection of said plurality of layers of said active middleware stack correspond to said second selection of said plurality of layers of said redundant middleware stack in standby; and
means, responsive to detecting a failure at said primary node, transferring said virtual IP address from said primary node to said secondary node, for turning turn off power to said primary node, remounting said data replication partition for access by said secondary node, activating said second selection of said plurality of layers of said redundant middleware stack which require access to said data in said data replication partition. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33)
-
Specification