0 Replies Latest reply on Dec 1, 2013 1:27 PM by zatopek

    sesion replication problem

    zatopek

      hello i am trying for testings the session replication.

      my cluster has:

      Server-1    - main-server-group - machine 1 (10.10.1.1)

      Server-2    - main-server-group - machine 2 (10.10.1.2)

      Server-3    - second-server-group - machine 1 (10.10.1.1)

      Server-4    - second-server-group - machine 2 (10.10.1.2)


      betwen the server 1 and server2 (the same servergroup) se session replecate well.

      is posible the replication betwen diferent server groups?


      if the session is into the main-server-group if i shutdown the main-server-group the apache returns 503 and i cannot see my page.

      is this normal?

      which is the correct configuration of apache mod_cluster?

      my configuration in mod_cluster is:

      LoadModule proxy_module /opt/jboss/httpd/lib/httpd/modules/mod_proxy.so

      LoadModule proxy_ajp_module /opt/jboss/httpd/lib/httpd/modules/mod_proxy_ajp.so

       

      # load the mod_cluster modules

      LoadModule slotmem_module /opt/jboss/httpd/lib/httpd/modules/mod_slotmem.so

      LoadModule manager_module /opt/jboss/httpd/lib/httpd/modules/mod_manager.so

      LoadModule proxy_cluster_module /opt/jboss/httpd/lib/httpd/modules/mod_proxy_cluster.so

      LoadModule advertise_module /opt/jboss/httpd/lib/httpd/modules/mod_advertise.so

       

      # MOD_CLUSTER_ADDS

      # Adjust to you hostname and subnet.

       

      <IfModule manager_module>

        Listen 127.0.0.1:6666

        ManagerBalancerName mycluster

       

        <VirtualHost 127.0.0.1:6666>

          <Location />

            Order deny,allow

            Deny from all

            Allow from 127.0.0

          </Location>

       

          KeepAliveTimeout 300

          MaxKeepAliveRequests 0

          AdvertiseFrequency 5

          EnableMCPMReceive

       

          <Location /mod_cluster_manager>

            SetHandler mod_cluster-manager

            Order deny,allow

            Deny from all

            Allow from 127.0.0

          </Location>

        </VirtualHost>

      </IfModule>

       

      thnaks