0 Replies Latest reply on Jun 30, 2016 12:27 AM by Leo HE

    Apache mod_cluster 1.3.1.Final never update num sessions

    Leo HE Newbie

      In mod_cluster_manager, I disable the node first and then stop the node until there are no more sessions in that context. Now, the problem is how to check number of active sessions for each node. In my mod_cluster_manager, the field of "Num sessions" is presented but the value is always 0. Has anyone encountered the same issue before, and how to resolve it?

       

      Server Version: Apache/2.4.10 (Win64) OpenSSL/0.9.8r mod_cluster/1.3.1.Final

      Mod_cluster configuration:

       

      LoadModule cluster_slotmem_module modules/mod_cluster_slotmem.so

      LoadModule manager_module modules/mod_manager.so

      LoadModule proxy_cluster_module modules/mod_proxy_cluster.so

      LoadModule advertise_module modules/mod_advertise.so

       

      # MOD_CLUSTER_ADDS

      # mod_proxy_cluster setting: Defines whether to check that the defined Alias corresponds to the ServerName.

      UseAlias On

       

      CreateBalancers 1

       

      # Displays the first 500 sessions IDs in manager interface (mod_cluster-manager)

      MaxsessionId 500

         

      # Adjust to you hostname and subnet.

      Listen 10.0.1.0:6666

       

      <VirtualHost 10.0.1.0:6666>

         

          ManagerBalancerName TISCOnlineCluster

       

          <Directory />

           Require ip 10.0.1.1

           Require ip 10.0.1.2

          </Directory>

         

          KeepAliveTimeout 60

          MaxKeepAliveRequests 0

          ServerAdvertise Off

          EnableMCPMReceive

          AllowDisplay On

                     

          ErrorLog "C:/logs/apache/mod_cluster/mod_cluster_error.log"

            <IfModule log_config_module>

                <IfModule log_rotate_module>

                  RotateLogs On

                  RotateLogsLocalTime On

                  #RotateInterval 86400 60

                  CustomLog "C:/logs/apache/mod_cluster/mod_cluster_%Y%m%d.log" combined

              </IfModule>

            </IfModule>

       

      <Location /mod_cluster_manager>

             SetHandler mod_cluster-manager

             Require ip 127.0.0.1

             Require ip 10.0.1.

          </Location>

       

      </VirtualHost>