Avatar of digibrad
digibrad

asked on 

Load balanced/redundant web infrastructure in geographically separated datacenters using LAMP

I'm in a company experiencing great growth and we need to expand our web infrastructure.  I'm currently setting up a LAMP instance in a single datacenter (DC1) that uses mod_proxy to load balance requests among 3 apache web servers, and it works very well.  I'm looking to grow our web infrastructure to a second data center for business continuation and spreading the request load among datacenters.  I just don' t know how to go about setting up a geographically separated load balanced system to host a mirrored dynamic webspace.

What I've thought about is duplicating the setup I have at DC1 to DC2, and setting up a round robin DNS that directs requests to each DC.

I'm really a newbie at setting up web infrastructure on this level, so any suggestions are welcome.  The constraint is that I must keep a linux/apache/mysql/php,perl setup.

Thanks.
Apache Web Server

Avatar of undefined
Last Comment
JWSmythe
ASKER CERTIFIED SOLUTION
Avatar of JWSmythe
JWSmythe

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of digibrad
digibrad

ASKER

I'm thinking that I'm going to be doing a MySQL master/ro-slave setup.  We're not really heavy on write queries to the database, but very heavy on the read queries, so having a ro-slave take over isn't a big deal right now.  I'm running everything on virtual machine images stored on shared storage.  The idea is that I can ship over my webserver/mysql master images to DC2 and bring them online there to be up and running should I experience an extended outage.

Thanks for your answer, it was exactly the help I'm looking for.
Avatar of digibrad
digibrad

ASKER

Thanks for your answer, it's exactly what I am looking for.
Avatar of JWSmythe
JWSmythe


  No problem.  I like to share my experience here, to help folks like you out, so you don't have to reinvent the wheel every time. :)
Apache Web Server
Apache Web Server

The Apache HTTP Server is a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards. Typically Apache is run on a Unix-like operating system, but it is available for a wide variety of operating systems, including Linux, Novell NetWare, Mac OS-X and Windows. Released under the Apache License, Apache is open-source software.

21K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo