Health Check is not working, always shows a node up.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am testing with 3backend nodes, 1st returns 404, the third is not responding at all, but Apache seems never tries to send a health check there. All nodes are shown Init OK in Balancer Manager all the time. Apache 2.4.23 RHEL

ProxyHCExpr ok234 {%{REQUEST_STATUS} =~ /^[23]/}
ProxyHCTemplate acut hcmethod=GET hcexpr=ok234  hcfails=1 hcinterval=2 hcpasses=1 hcuri=/universal/login/index.jsp


<Proxy balancer://acutprodlb>
    BalancerMember http://172.28.89.174:8080 hctemplate=acut route=1 ping=500ms
    BalancerMember http://172.28.89.175:8080 hctemplate=acut route=2 ping=500ms
    BalancerMember http://172.28.90.177:8080 hctemplate=acut route=3 ping=500ms
    ProxySet   stickysession=ROUTEID

</Proxy>

<Location "/acutprodlb/>
     Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
     RequestHeader unset Accept-Encoding
     RequestHeader set Host hidden.com
     ProxyPass balancer://acutprodlb/    stickysession=ROUTEID
     ProxyPassReverse balancer://acutprodlb/
     ProxyPassReverse /
     ProxyPassReverseCookiePath "/" "/acutprodlb/"
</Location>
 

LoadBalancer Status for balancer://acutprodlb [pcfdb3b05_acutprodlb]

MaxMembersStickySessionDisableFailoverTimeoutFailoverAttemptsMethodPathActive
3 [3 Used]ROUTEIDOff02byrequests/acutprodlb/Yes

Worker URLRouteRouteRedirFactorSetStatusElectedBusyLoadToFromHC MethodHC IntervalPassesFailsHC uriHC Expr
http://172.28.89.174:8080110Init Ok50-1011K5.4KGET21 (0)1 (0)/universal/login/index.jspok234
http://172.28.89.175:8080210Init Ok00500GET21 (0)1 (0)/universal/login/index.jspok234
http://172.28.90.177:8080310Init Ok00500GET21 (0)1 (0)/universal/login/index.jspok234


Thanks

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux