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
<https://nexus-rp.int.bell.ca/balancer-manager/?b=acutprodlb&nonce=63b166b2-a78d-11e6-b240-6932438e2df7>
 [pcfdb3b05_acutprodlb]
MaxMembersStickySessionDisableFailoverTimeoutFailoverAttemptsMethodPath
Active
3 [3 Used] ROUTEID Off 0 2 byrequests /acutprodlb/ Yes
Worker URLRouteRouteRedirFactorSetStatusElectedBusyLoadToFromHC MethodHC
IntervalPassesFailsHC uriHC Expr
http://172.28.89.174:8080
<https://nexus-rp.int.bell.ca/balancer-manager/?b=acutprodlb&w=http://172.28.89.174:8080&nonce=63b166b2-a78d-11e6-b240-6932438e2df7>
1 1 0 Init Ok 5 0 -10 11K 5.4K GET 2 1 (0) 1 (0) /universal/login/index.jsp
ok234
http://172.28.89.175:8080
<https://nexus-rp.int.bell.ca/balancer-manager/?b=acutprodlb&w=http://172.28.89.175:8080&nonce=63b166b2-a78d-11e6-b240-6932438e2df7>
2 1 0 Init Ok 0 0 5 0 0 GET 2 1 (0) 1 (0) /universal/login/index.jsp ok234
http://172.28.90.177:8080
<https://nexus-rp.int.bell.ca/balancer-manager/?b=acutprodlb&w=http://172.28.90.177:8080&nonce=63b166b2-a78d-11e6-b240-6932438e2df7>
3 1 0 Init Ok 0 0 5 0 0 GET 2 1 (0) 1 (0) /universal/login/index.jsp ok234


Thanks

Reply via email to