3 Replies Latest reply on Jan 17, 2018 8:46 AM by pferraro

    Wildfly 10 replication issue

    avix1989

      Hi,

       

      I followed the instruction given in Clustering and Domain Setup Walkthrough - WildFly 10 - Project Documentation Editor  and it is working fine. Also session replication takes place in case i shutdown my MASTER but same is not happening for reverse case i.e whenever i stop my slave it's sessions are not replicating over to MASTER.What could be the reason for that?

        • 1. Re: Wildfly 10 replication issue
          pferraro

          I'm a little confused by the question.  Replication can *only* happen when both of your nodes are up.  If you shutdown your master, there is nowhere for the session updates made on the slave to go.  Same goes for the reverse.

          • 2. Re: Wildfly 10 replication issue
            avix1989

            There are two scenario.In first scenario when my both master and slave nodes are up and i try to kill my master than session is getting replicated to slave and i am able to access my web application with continuous session without any hindrance but in second scenario when again my both master and slave nodes are up  and i try to kill my slave than time session is not getting replicated to master and my web application session is lost.

            • 3. Re: Wildfly 10 replication issue
              pferraro

              Your logs for each server should indicate cluster formation.  Can you paste these (anything from org.jgroups or org.infinispan) for each server?