-
1. Re: why session is not replicated from master node to slave node
rhusar Apr 26, 2013 6:15 AM (in response to softmahi)First of all, there is no master/slave concept. Replication of course works all directions by default. Seems like your test is wrong somewhere. How do you test?
-
2. Re: why session is not replicated from master node to slave node
softmahi Apr 30, 2013 6:25 AM (in response to rhusar)Yes agree with u, there is no Master/slave concept. The scenario is like that the we are having Jboss AS 7.2.0 Final clustering in domain Mode.
The HostController and Process controller on which Host [server] is running that we termed as 'Master' Node where domain.xml and host.xml are present. with server nodes : (server-one,server-two,server-three)
The other Host , we termed as slave, which is up in cluster where only server nodes (server-one,server-two,server-slave-three) in server group are running. (only host.xml)
On this Jboss AS 7.2.0 Cluster in domain mode : we deployed our applcation.
After application up on cluster with load balancer, we capture the session id.
Testing scenario:
1] when slave Host we explicitely shut down (using CLI command) request goes to mater node and session got replicated (same session id and some values which we put in session are accessed)
2]when master Host we shut down using CLI command , request goes to slave node , but new session created , we wont get the same session id here. we lost session and values stored in session.
This is the scenario...
Attached domain clustering cofig files
Message was edited by: Mahesh H
-
host.xml 2.7 KB
-
domain.xml 34.2 KB
-
host.xml 3.1 KB
-