Hey all,
I needed some advice for the hosting of an application that I'd developed. The LAMP application is essentially a site for a natural wildlife reserve which is expected to receive a high amount of traffic and fashions a combination of streaming videos, forums, profiles, as well as webcam views from across the park. Users will need to register and will maintain their own interest profiles as well.
Now for the setup, I have 4 servers at my disposal which have the following setup for each of them:
- 2xAMD Opteron 2Ghz
- 2GB RAM
- 320GB HD RAID
The environment I see having for the web/db servers is:
- Debian Linux 4.0 Etch
- Lighttpd
- PHP5/ MySQL 5.1
- Fast-CGI
- eAccelerator
All the 4 servers are connected to each other over 1Gb ethernet and are in the same subnet. For the setup, I'm hoping to have the following layout:
Server1:
Web server load balancer
MySQL Master
Server2:
Web server 1
MySQL Slave 1
Server3:
Web server 2
MySQL Slave 2
Server4:
Video Converter Server (to convert uploaded videos by users or admin to FLV)
MySQL Slave 3
I just wanted to get a sanity check on my design for the network and how I intend to lay things out. Is there anything I'm doing horribly wrong? How have others managed when working with a finite number of servers? Is there anything I'll have to be considerate of further?
I welcome your feedback!