RMI-IIOP request failover mechanism
First Claim
1. An application server cluster system, comprising:
- two or more application server instances in a cluster; and
an IIOP or RMI-IIOP client of one of the application server instances, wherein the client is configured to;
detect failure of the application server instance; and
failover to an alternate one of the application server instances in the cluster in response to said failure of the application server instance.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of a request failover mechanism may be used to failover requests from clients of server instances in a cluster to alternative server instances. One embodiment may use cluster-aware remote references that include the IIOP endpoints at which the application server instances forming the cluster listen to IIOP requests. Using a cluster-aware remote reference to an object on an application server instance, a request to the object may be failed-over to an alternate endpoint in the cluster when the primary endpoint is unreachable. In one embodiment, once a request for a referenced object is failed over to a new server instance, all the subsequent requests to that object will continue to go to the same server instance even if the original server instance becomes available. One embodiment may provide client-side IIOP request load balancing in clustered application server environments through a load balancer subsystem using the cluster-aware remote references.
-
Citations
74 Claims
-
1. An application server cluster system, comprising:
-
two or more application server instances in a cluster; and an IIOP or RMI-IIOP client of one of the application server instances, wherein the client is configured to; detect failure of the application server instance; and failover to an alternate one of the application server instances in the cluster in response to said failure of the application server instance. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. An application server cluster system, comprising:
-
two or more application server instances in a cluster; and an IIOP or RMI-IIOP client of one of the application server instances, wherein the client is configured to; obtain a cluster-aware remote reference to an object on the application server instance from the application server instance, wherein the cluster-aware remote reference indicates a primary endpoint for accessing an instance of the object on the application server instance and one or more alternate endpoints for accessing other instances of the object on the other application server instances; detect a communication failure for a request to the primary endpoint for accessing the instance of the object on the application server instance; and failover the request to one of the alternate endpoints on one of the other application server instances in response to said communication failure. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. A system, comprising:
-
a processor; and a memory comprising program instructions, wherein the program instructions are executable by the processor to implement an IIOP or an RMI-IIOP client application for accessing a cluster comprising a plurality of application server instances, wherein the client application is configured to; obtain a cluster-aware remote reference to an object on the application server instances from the cluster, wherein the cluster-aware remote reference indicates a primary endpoint for accessing an instance of the object on one of the application server instances and one or more alternate endpoints for accessing other instances of the object on other application server instances in the cluster; detect a communication failure for a request to the primary endpoint for accessing the instance of the object on the application server instance; and failover the request to one of the alternate endpoints on one of the other application server instances in response to said communication failure. - View Dependent Claims (34, 35, 36, 37, 38)
-
-
39. A system, comprising:
-
a processor; and a memory comprising program instructions, wherein the program instructions are executable by the processor to implement an application server instance in a cluster of application server instances, wherein the application server instance is configured to; receive a failed-over request to an object on a failed application server instance in the cluster from a client of the failed application server instance; and restore a state of the object on the failed application server instance to the application server instance in response to said failed-over request received from the client. - View Dependent Claims (40, 41, 42, 43, 44, 45)
-
-
46. A system, comprising:
-
client-side means for failing over remote references for IIOP and RMI-IIOP clients of a cluster of application server instances from a failed one of the application server instances to an alternate application server instance; and means for load balancing requests from the IIOP and RMI-IIOP clients among the application server instances in the cluster.
-
-
47. A method, comprising:
-
providing a cluster-aware remote reference to an object on an application server instance in a cluster of two or more application server instances to an IIOP or RMI-IIOP client of the application server instance, wherein the cluster-aware remote reference indicates a primary endpoint on the application server instance and one or more alternate endpoints on other application server instances in the cluster; the client issuing a request to the object via the cluster-aware remote reference; detecting a communication failure for the request, wherein the communication failure indicates failure of the application server instance; selecting an alternate endpoint on one of the other application server instances from the one or more alternate endpoints indicated by the cluster-aware remote reference; and failing over the cluster-aware remote reference to the alternate endpoint on the other application server instance. - View Dependent Claims (48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60)
-
-
61. A computer-readable storage medium, storing program instructions, wherein the program instructions are computer-executable to implement:
-
providing a cluster-aware remote reference to an object on an application server instance in a cluster of two or more application server instances to an IIOP or RMI-IIOP client of the application server instance, wherein the cluster-aware remote reference indicates a primary endpoint on the application server instance and one or more alternate endpoints on other application server instances in the cluster; the client issuing a request to the object via the cluster-aware remote reference; detecting a communication failure for the request, wherein the communication failure indicates failure of the application server instance; selecting an alternate endpoint on one of the other application server instances from the one or more alternate endpoints indicated by the cluster-aware remote reference; and failing over the cluster-aware remote reference to the alternate endpoint on the other application server instance. - View Dependent Claims (62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74)
-
Specification