PDA

View Full Version : load balanced cluster


blocker
4th June 2009, 16:06
Hello Forumers,

is it possible to set a load balancer (like haproxy) that balances lets sat example1.org to 2 apache web servers - server1 and server2, and example2.org to 2 other apache servers - server3 and server4.

Is it possible to do so with mysql? Is it possible to do so with apache+mysql at the same time?

Need just an answer yes or no, and probably small hints

Thanks!

Regards!

falko
5th June 2009, 14:31
I'd use Perlbal instead of HAProxy for this because Perlbal supports virtual hosts.
http://www.howtoforge.com/setting-up-a-high-availability-load-balancer-with-perlbal-heartbeat-on-debian-etch

blocker
5th June 2009, 14:42
Many thanks for the hint, ill notify in this tread when i start the project