HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   ISPConfig Load Balanced (

SnakeSolidNL 20th February 2012 23:16

ISPConfig Load Balanced

I was wondering if the setup below is possible and how to achieve:

[Connection In]
Internet > Router (SiteCom) > Firewall (IPCop) > Switch (Dell P3448) >

[Server Netwerk]

Load Balancer 1 - Load Balancer 2 (heartbeat / keepalive)

(rsync, same content)
Web Server 1 (ISPConfig 3) - Webserver 2 (ISPConfig 3) - ... (ISPConfig 3)

[No Load Balance Needed Below]

MySQL Server

Mail Server

Backup Server

I'm trying to achieve that I can manage the web server(s) (duplicates), db server, mail server and backup server from ISPConfig and that the Web traffic is balanced over the available web servers and contain all the same web content and configuration files, if one webserver fails, others take over and keep balancing traffic on the remaining web servers. No needed for the DB, Mail and Backup server, only Web.

To make a long story short, I want ISPConfig load balanced :P

(I have a website which generates heavy load for (both http/https/mysql), which I want to balance over (if possible 6 systems) and still be able to host other websites, have a mail server and a mysql server to provide sponsored mail / web hosting, all manageable from ISPConfig)

till 21st February 2012 12:15

Thats possible by using the ispconfig mirror feature plus a shared storage for /var/www for all web servers.

Please see here for a similar setup:

SnakeSolidNL 21st February 2012 14:36

Thanks for your reply.

So I should just go for clustering you say, which should allow me to spread the traffic over all servers and even with the Master Server going dead, the mirrors should take over.

[info_example: Router IP=, Firewall IP-in: (80/443 open for this IP only, or should I use DMZ ?) Firewall IP-out: (to switch / server network with DHCP) Master IP:, Slave 1 IP:, etc count++]

Do I need to create a VLAN (which the Dell P3448 supports) for my cluster, since on the Router (80/443) access is only open for the IP-Address ( to the Firewall, and on the firewall (80/443) are only open for the Master ( ?

I'm afraid that if my Master Server dies, the mirrors will take over, but aren't accessable from the outside, since (80/443) is only open on the Master Server ( and not the Slaves, example: Slave 1 (

kiddiak 22nd February 2012 15:19


I use haproxy and keepalived with two backends ( haproxy ) for each webfarm, one for sites that only need backup, another for lb/backup and ACL rules to determain what's loadbalanced and whats not. For a shared storage I use unison. My ISP administers my vlan, a 224/27 network, simpler then natting of some sort, it's a pretty simple setup when you get to know haproxy/keepalived/unison and haproxy is just awesome.

in my case for ubuntu..


All times are GMT +2. The time now is 01:36.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.