uCosminexus Application Server, Expansion Guide
The EADs session failover functionality manages session information on an EADs server and inherits session information between J2EE servers when a failure occurs. When a failure occurs, you can re-create the session based on the session information stored in the EADs server and can continue the normal operations.
However, if the global session information of the same session ID is concurrently updated from multiple J2EE servers, consistency of global session information might be lost.
This subsection describes an overview of the processing of the EADs session failover functionality.
If you use the EADs session failover functionality and a session creation processing occurs, the processing is extended and the session information is stored on an EADs server. The EADs server for storing the session information is decided for each Web application.
For details on the EADs, server see the Elastic Application Data store User Guide.
The following figure shows the flow of storing the session information.
Figure 5-9 Flow of storing the session information (the EADs session failover functionality)
No. corresponds to the numbers in the figure.
Hereafter, the EADs server on which the session information is stored is called a session information storage destination server. The EADs server, onto which the session information stored on the session information storage destination server is copied, is called a session information copy destination server.
If a failure occurs on a Web server or a J2EE server, you can re-create the session on another J2EE server on the basis of the session information stored in the session information cache on the EADs server and continue the normal operations.
The following figure shows the processing when a failure occurs on a J2EE server.
Figure 5-10 Processing when a failure occurs on a J2EE server (the EADs session failover functionality)
The session is successfully inherited and you can continue the operations in the state before failure.
When you restart the J2EE server 1 and J2EE server 1 recovers from failure, the requests are again sent to J2EE server 1.
If a failure occurs on an EADs server, the EADs functionality automatically disconnects the EADs server on which the failure occurred, from the cluster. If the EADs server on which the failure occurred, is a session information storage destination server, a normal EADs server in the cluster (the session information copy destination server) switches as a session information storage destination server. Because the EADs Sever connected from the J2EE server also automatically switches with the switching of the session information storage destination server, you can continue the operation as is.
If the EADs server, on which the failure occurred is a session information copy destination server, you can connect to the session information storage destination EADs server from the J2EE server and thus continue the operation as is.
The following figure shows the processing when a failure occurs on the session information storage destination EADs server.
Figure 5-11 Flow of processing when a failure occurs on an EADs server
All Rights Reserved. Copyright (C) 2013, 2015, Hitachi, Ltd.