apache2 on Ubuntu as a caching load-balancing reverse proxy in front of a group of application servers. I have noticed that the balancer maintains some state for some of the attributes visible in
/balancer-manager such as whether an IP is enabled/disabled, load factor, etc.
My site has periods of high (and low) usage, and recently as I added a new server to the working group I noticed that the load balancer picked up the new server but had it set to
Disabled. I'm curious where that data is stored, and/or how it is initialized.
Balancer config (names changed to protect the innocent:
SSLProxyEngine On <Proxy balancer://main> BalancerMember https://10.10.1.1 BalancerMember https://10.10.1.2 BalancerMember https://10.10.1.3 </Proxy> ProxyRequests Off ProxyPass /balancer-manager ! ProxyPass / balancer://main/ ProxyPassReverse / balancer://main/
UPDATE: code spelunking shows the balancer status stored in-memory only in
v2.2.0 as the struct
ap_scoreboard and reinitialized on startup. There's no way the thing I think I'm seeing is happening. Kudos to @ShaneMadden for the insights into