Skip to main content

Thread: Load Balancer Setup


i'm recreating company's server setup , i'm looking make stable , reliable possible (read hate customers complaining).

i'd distribute different services (web, mail, database, dns, etc.) among different physical machines. each of these machines linked identical machine through drdb data syncing , heartbeat/pacemaker failover. this:

web 1 <--> web 2
mail_a 1 <--> mail_a 2
mail_b 1 <--> mail_b 2
mail_c 1 <--> mail_c 2

in front of of these set ubuntu+lvs load balancer pair (again linked heartbeat/pacemaker failover) further reduce chance of downtime.

main question how people connect self-made load balancer many machines? also, usual recommended specs load balancer?

what mean, how connect?

pair of load balancing machines have third common ip on both external , internal interfaces.

so, on server configure gateway internal common ip of load balancing front-end.

if servers organized in pairs load balancing (or failover), have common ip on interface (i assume need 1 interface them).

like:

x.x.x.x (public ip of router)
internet router
192.168.1.1 private ip of router

192.168.1.2 common ip
load balancer 1, 192.168.1.100, 10.10.0.100
load balancer 2, 192.168.1.101, 10.10.0.101
10.10.0.1 common ip

10.10.0.10 common ip
web 1, 10.10.0.200
web 2, 10.10.0.201

flow of traffic. on router forward necessary services (ports) 192.168.1.2 accepted load balancing pair on common ip, doesn't matter if 1 server down.

load balancers forward traffic 10.10.0.10, common ip web, again doesn't matter if 1 server down.

exit router, gateway web servers 10.10.0.1, common ip, if of load balancers offline other 1 still provide exit route.

etc, etc...


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Load Balancer Setup


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?