Hi
I am facing issue with LCDS clustring
Following are the architechture I am using
1. I have two
jboss application server they are in clustered mode and it has LCDS server which are also in clustered mode.
2. Systems between client and application server are Edge server and load balancer.
3. Client uses RTMP protocol to call Remote services and push data to server.
request from client to server follow the following path
Client ------> Edge server(Deployed in
Tomcat) ----------> Load balancer (S/w load balancer + It uses Sticky session) -------> any one of the jboss application server which have LCDS server.
If any one application server goes down the transparent failover happened and client are able to connect the anothe server. It does not ask user to login again or subscribe the consumer But I am using the FlexSesion to store some user authentication data and I am accessing those data in subsequent call to identify user to run buisiness logic. Since I am using Non http prtocol or NIO based protocol (RTMP) so I am not getting session replicated on another server and I am getting null value from session when client send next request to another server.
I have also used the FlexClient to store the data but i have got similar behaviour. I am not sure whether FlexClient is created new on another server. Or I am missing some step in LCDS clustring.
I have also like to know what are the data replicated in case of server failure and does Remote service has access to those data. so that I can utilize those method to store the data which is replicated in LCDS clustring enviornment and i can be able to access those data in Remote services.
I can't used the httpsession to store data because I am getting request from NIObased channel and I don't have access to
J2EE HttpSession.
I have seen that ClientId is same on both the server. I am looking whether i can use this information to store the data somewhere and get the data based on ClientId on another server.
Can any one help me out how can I manage the Client state in case of clustered environment.
Best Regards,
Sandesh