1 Reply Latest reply on Mar 26, 2019 2:10 PM by rhusar

    Problem with detection of bad nodes in JBoss EAP 6.4 + Apache mod_cluster


      Hello, I have an environment that is running with JBoss EAP 6.4 and Apache mod_cluster, the JBoss environment contains a machine that is the domain responsible for controlling two nodes. below I'm putting my settings:




      <IfModule manager_module>


              ManagerBalancerName test-cluster-group


                      <Location />

                              Require all granted


                      TimeOut 30

                      KeepAliveTimeout 5

                      MaxKeepAliveRequests 0

                      AdvertiseFrequency 5

                      EnableMCPMReceive on

                      <Location /modcluster_manager>

                              SetHandler mod_cluster-manager

                              Order deny,allow

                              Allow from

                              Require all granted



              <VirtualHost *:80>

                      ProxyPreserveHost On

                      ProxyPass /server-status !

                      ProxyPass /

                      ProxyPassReverse /

                      ProxyPassReverseCookiePath / /

                      <Location /server-status>

                              SetHandler server-status

                              Order deny,allow

                              Deny from all

                              Allow from







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

           <mod-cluster-config advertise-socket="modcluster" proxy-list="" balancer="test-cluster-group" sticky-session="true" sticky-session-force="false" connector="ajp">


                     <load-metric type="busyness"/>





      My question is: How does Apache know that any of the nodes are malfunctioning? Is there any way to create some kind of personalized health check? Because in some cases from what I noticed, Apache continues to send requests to bad nodes, which ends up poisoning the cluster as a whole.