1 Reply Latest reply on Oct 9, 2014 5:05 AM by jfclere

    Jboss-AS-7 Cluster unable to replicate the session in one Node

    mail2mphani

      Hi,

       

      I am trying to configure mod_cluster on Jboss-AS-7 .below is my configuration

       

      Node1 192.168.20.252

      node2 192.168.20.253

      Apache cluster 192.168.20.100

       

      mod_cluster.conf configuration

      <IfModule manager_module>

        Listen 192.168.20.100:6666

        ManagerBalancerName mycluster

       

        <VirtualHost 192.168.20.100:6666>

          <Location />

            Order deny,allow

            Deny from all

            Allow from 192.168.

          </Location>

       

          KeepAliveTimeout 300

          MaxKeepAliveRequests 0

          ServerAdvertise on http://192.168.20.100:6666

          AdvertiseFrequency 5

          #AdvertiseSecurityKey secret

          #AdvertiseGroup @ADVIP@:23364

          EnableMCPMReceive

       

      <Location /mod_cluster_manager>

            SetHandler mod_cluster-manager

            Order deny,allow

            Deny from all

            Allow from 192.168.

          </Location>

        </VirtualHost>

      </IfModule>

       

       

      Jboss-AS-Node1 and Jboss-AS-Node2 (both servers) standalone-ha.xml configuration

      <subsystem xmlns="urn:jboss:domain:modcluster:1.1">

                  <mod-cluster-config advertise-socket="modcluster" connector="ajp" proxy-list="192.168.20.100:6666">

                      <dynamic-load-provider>

                          <load-metric type="busyness"/>

                      </dynamic-load-provider>

                  </mod-cluster-config>

              </subsystem>

       

      i am using below command to run the jboss

      ./standalone.sh -c standalone-ha.xml -b 192.168.20.25X -Djboss.node.name=nodeX

       

      My problem is if i stopped the node1 the session was replicated successfully on Node2. If i stopped the node2 the session was unable to replicate  on Node1.

      I have stopped the iptables and disabled the selinux. and i have replaced the new standalone-ha.xml in node1.

      Still i am unable to replicate the session on Node1. Please help me to solve this issue.

       

      Regards,

      Kumar