When using load balancers with possibilities to manipulate HTTP requests and responses it's not uncommon for people to be confused.
- On which server/member did my request end up on?
- Was the URI changed?
- Was the host header change?
- Is the page slow because of members being down?
- Was the load balancer causing the slow requests?
But the versatility of the LB can also be used to give this information to internal users with each request by adding information to the response headers.
X-Member-Status: 192.168.1.20 80 up;192.168.1.21 80 up;192.168.1.22 80 up;192.168.1.23 80 up;
I tried to paste the rule here, but the indentation disappeared and there's no syntax highlighting.
Check here instead: