2 Replies Latest reply on Apr 30, 2013 6:25 AM by softmahi

    why session is not replicated from master node to slave node

    softmahi

      why session is not replicated from master node to slave node , when master node goes down.

       

       

      But if slave node goes down, session replicated from slave to master. on jboss 7.2.0 and infinispan 5.2.5 Final

       

       

      Is there any specific setting need to do. ?

        • 1. Re: why session is not replicated from master node to slave node
          rhusar

          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

            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