This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Load Balancing not load balancing

So I setup Server Load Balancing and well its not working.

Balancing Rule
Service: HTTP
Virtual Server: External WAN Address

Real Servers
web1 - 10.1.1.1
web2 - 10.1.1.2

Check type: HTTP Host
Check URL: index.html
Check interval: 15
Checked Automatic packet filter rules 

If I navigate to the website it works.

But... if I kill httpd on web1, it shows web1 as down.
If I navigate to the website now, it doesn't load and a tcpdump on web2 doesn't show the HTTP request. 

However the tcpdump shows the HTTP check from Astaro is working as desired.  The log files show the server going up and down as I stop and start httpd on web1.

2011:04:02-19:08:56 gate service_monitor[9039]: id="4000" severity="info" sys="System" sub="loadbalancing" name="REF_xKWwKekOVe 1 TCP 10.1.1.2:80 changed state to ONLINE"
2011:04:02-19:08:56 gate service_monitor[9039]: id="4000" severity="info" sys="System" sub="loadbalancing" name="REF_xKWwKekOVe 0 TCP 10.1.1.1:80 changed state to ONLINE"
2011:04:02-19:09:26 gate service_monitor[9039]: id="4000" severity="info" sys="System" sub="loadbalancing" name="REF_xKWwKekOVe 0 TCP 10.1.1.1:80 changed state to OFFLINE"
2011:04:02-19:09:57 gate service_monitor[9039]: id="4000" severity="info" sys="System" sub="loadbalancing" name="REF_xKWwKekOVe 0 TCP 10.1.1.1:80 changed state to ONLINE"
2011:04:02-21:35:56 gate service_monitor[9039]: id="4000" severity="info" sys="System" sub="loadbalancing" name="REF_xKWwKekOVe 0 TCP 10.1.1.1:80 changed state to OFFLINE"
2011:04:02-21:36:41 gate service_monitor[9039]: id="4000" severity="info" sys="System" sub="loadbalancing" name="REF_xKWwKekOVe 0 TCP 10.1.1.1:80 changed state to ONLINE"
2011:04:02-21:37:56 gate service_monitor[9039]: id="4000" severity="info" sys="System" sub="loadbalancing" name="REF_xKWwKekOVe 0 TCP 10.1.1.1:80 changed state to OFFLINE"
2011:04:02-21:38:26 gate service_monitor[9039]: id="4000" severity="info" sys="System" sub="loadbalancing" name="REF_xKWwKekOVe 0 TCP 10.1.1.1:80 changed state to ONLINE"
2011:04:02-21:41:26 gate service_monitor[9039]: id="4000" severity="info" sys="System" sub="loadbalancing" name="REF_xKWwKekOVe 0 TCP 10.1.1.1:80 changed state to OFFLINE"
2011:04:02-21:42:11 gate service_monitor[9039]: id="4000" severity="info" sys="System" sub="loadbalancing" name="REF_xKWwKekOVe 0 TCP 10.1.1.1:80 changed state to ONLINE"

Any tips or tricks to make this work correctly.

TIA


This thread was automatically locked due to age.
Parents
  • I was attempting to access it from a public address different from the Astaro box.

    Nothing weird in the logs either when web1 is down and its tried to be access.
    10:36:09  Connection using NAT  TCP  Public IP Access Site : 30819 →  External WAN Address : 80 [SYN]  len=48 
    10:36:09  Connection using NAT  TCP  Public IP Access Site : 30820 →  External WAN Address : 80 [SYN]  len=48  10:36:09  Connection using NAT  TCP  Public IP Access Site : 30821 →  External WAN Address : 80 [SYN]  len=48
Reply
  • I was attempting to access it from a public address different from the Astaro box.

    Nothing weird in the logs either when web1 is down and its tried to be access.
    10:36:09  Connection using NAT  TCP  Public IP Access Site : 30819 →  External WAN Address : 80 [SYN]  len=48 
    10:36:09  Connection using NAT  TCP  Public IP Access Site : 30820 →  External WAN Address : 80 [SYN]  len=48  10:36:09  Connection using NAT  TCP  Public IP Access Site : 30821 →  External WAN Address : 80 [SYN]  len=48
Children
No Data