HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   ISPConfig Load Balanced (http://www.howtoforge.com/forums/showthread.php?t=56246)

SnakeSolidNL 20th February 2012 22:16

ISPConfig Load Balanced
 
Hello,

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 11: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:

http://www.howtoforge.com/installing...th-ispconfig-3

SnakeSolidNL 21st February 2012 13: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=10.0.0.1, Firewall IP-in: 10.0.0.100 (80/443 open for this IP only, or should I use DMZ ?) Firewall IP-out: 10.0.1.1 (to switch / server network with DHCP) Master IP: 10.0.1.101, Slave 1 IP: 10.0.1.102, 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 (10.0.0.100) to the Firewall, and on the firewall (80/443) are only open for the Master (10.0.1.101) ?

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 (10.0.1.101) and not the Slaves, example: Slave 1 (10.0.1.102).

kiddiak 22nd February 2012 14:19

haproxy/keepalived
 
Hi,

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.

http://www.howtoforge.com/setting-up...n-debian-lenny

http://www.howtoforge.com/setting-up...n-ubuntu-11.10

in my case for ubuntu..

Regards,
Kristinn.


All times are GMT +2. The time now is 23:07.

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