Log in

View Full Version : My New Super Redundant config!


kil0
September 28th, 2006, 09:49 PM
HAI GUYZ!!!!
I AM 19 YRS OLD, AND I JUST SETUP MY FIRST REDUNDANT SUPER CONFIG LOL!!!!

here, check it out, it's like this:

( internet )
|
( firewall )
|
( load balancer )
| |
| |
( web1 ) ( web2 )
\ /
\ /
\ /
( MySQL )

and it's all redundant, I have used NIC teaming/bonding to ensure that a multiple routes to the internet are in place, in case one goes down.

it's all done with hardware in my house:

internet: 15MBit Fiber Connection
load balancer: 1.8GHz gentoo linux box (plb is the load balancer software)
web1: Athlon XP 2400+ gentoo linux box (lighttpd is the web server)
web2: P4 2.93GHz gentoo linux box (lighttpd is the web server)
MySQL: PowerEdge 6450 4x700MHz gentoo linux box (mysql is the db duhhh)
firewall: Cisco PIX 515e (PIX OS 6.3.5)
switches: generic 8 port 100MBit switches

all the software used in this config is FREE to download (except PIX OS):

OS: http://gentoo.org
HTTPD: http://lighttpd.org
DB: http://mysql.com
SCRIPTS: http://php.net

please feel free to comment or ask questions.

Skhorpion
September 28th, 2006, 10:01 PM
Load balancers are supposed to have two internets and balance the load between them. Not one internet and multiple computers.... defeats the purpose.

kil0
September 28th, 2006, 10:06 PM
Load balancers are supposed to have two internets and balance the load between them. Not one internet and multiple computers.... defeats the purpose.

http://en.wikipedia.org/wiki/Load_balancer

um, I hope you can read.

Skhorpion
September 28th, 2006, 10:19 PM
Yeah i can read, i still dont see the purpose. The load is balanced between to cables going to the same internet. You have redundancy yes but seriously, only reason it would go out is a bad cable, which doesnt happen often.

kil0
September 28th, 2006, 10:23 PM
Yeah i can read, i still dont see the purpose. The load is balanced between to cables going to the same internet. You have redundancy yes but seriously, only reason it would go out is a bad cable, which doesnt happen often.

um, let me explain it to you:

one server can process 150 requests/sec (~approx), so with 2 servers, I can process 300 requests/sec (again, ~approx)

also, it doesn't just cover bad cables, what if one of the servers fails? then the site stays up since there is another server. if it was just one server, and it failed, the site would go down.