Loadbalancer question.

Bes

Bes

Soldato
Joined
18 Oct 2002
Posts
7,318
Location
Melbourne
Hi there,

I have a loadbalancer, but I don't think it is doing its job properly...

I have the following setup:

Apache server -> LB -> 2x boxes.

Apache server is doing ProxyRemote to the VIP on the LB which is the supposed to balance the traffic across the two other boxes. However, if I snoop port 80 on one of the two boxes, I am seeing requests come from the Apache server's IP addressed to the LB's VIP.... but looking at the packets in

WireShark, they have the MAC of the LB as the from, and the MAC of the box it is supposed to hit as the 'to'.

This doesn't look right to me, and I am seeing my app listening on port 80 ignoring the requests (probably because they are not addressed to it). Am I right in my thinking here? Is my LB misconfigured?

Thanks
 
What kind of load balancer, there's different types?

From your description, sounds like it is acting as a bridge and you need to also configure the LB VIP address on each of the servers - done as a loopback address.
 
Back
Top Bottom