Forum Moderators: phranque

Message Too Old, No Replies

Load Balancer info required

         

sdbhabal

8:53 am on Jul 27, 2018 (gmt 0)

5+ Year Member



Hello Experts,

We are looking for the open source load balancing solution for our Apache Web Servers.
Can someone please suggest best open source load balancer for Apache Web Server.

Regards
sdbhabal.

keyplyr

9:24 am on Jul 27, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi sdbhabal and welcome to WebmasterWorld [webmasterworld.com]

sdbhabal

9:26 am on Jul 27, 2018 (gmt 0)

5+ Year Member



Thank you.

Dimitri

11:40 am on Jul 27, 2018 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



Do you mean , integrated to Apache, or a front end ?

In Apache, you have this : [httpd.apache.org...]

If this is a front end, I would use nginx

sdbhabal

12:02 pm on Jul 27, 2018 (gmt 0)

5+ Year Member



I mean to say separate layer of load balancer like HAProxy.

robzilla

1:42 pm on Jul 27, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It's like asking what the best operating system is. There isn't one, it just depends on what you're looking for. HAproxy and nginx are popular choices, so you'll find stability with those, as well as plenty of documentation.

sdbhabal

7:45 am on Jul 31, 2018 (gmt 0)

5+ Year Member



Basically my requirement is whether the outgoing traffic from backend servers under the LB can translate to a unique public IP instead of firewall IP.

sdbhabal

4:25 am on Aug 1, 2018 (gmt 0)

5+ Year Member



Any thought on this ?

robzilla

7:40 am on Aug 1, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Basically my requirement is whether the outgoing traffic from backend servers under the LB can translate to a unique public IP instead of firewall IP.

I'm not sure I understand what you're saying here.

sdbhabal

12:09 pm on Aug 1, 2018 (gmt 0)

5+ Year Member



Let say for example.

Below is my setup:
LB : 192.168.1.1
Web Node 1 : 192.168.1.2
Web Node 2 : 192.168.1.3
On firewall, I have one public IP associated (NATed) to LB IP.

Whenever someone from internet access public IP, traffic then routed to LB & then it is distributed to underneath Nodes. This is I am talking about incoming traffic.

What I wanted to achieve is, whenever there is a outbound traffic, meaning whenever my nodes initiate any traffic to the internet or for the outside of my network.
That traffic should take my LB public IP to go out & not my default firewall WAN IP.

Please let me know if anything unclear here.

robzilla

3:52 pm on Aug 1, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If that traffic is not in response to an incoming request, then I guess you'd have to set up a proxy (forward as opposed to reverse) on the load balancer and skip the firewall to achieve that. I know nginx can do that, although it's not necessarily built for it. You can use proxy_pass to pass on any traffic. That probably goes for HAproxy too, but I've never used it.

sdbhabal

4:00 am on Aug 2, 2018 (gmt 0)

5+ Year Member



Okies, let me try this & come up with some output.
Thanks.