#1  
Old 20th February 2012, 22:16
SnakeSolidNL SnakeSolidNL is offline
Junior Member
 
Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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)

Last edited by SnakeSolidNL; 21st February 2012 at 13:47.
Reply With Quote
Sponsored Links
  #2  
Old 21st February 2012, 11:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,788
Thanks: 821
Thanked 5,337 Times in 4,187 Posts
Default

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
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st February 2012, 13:36
SnakeSolidNL SnakeSolidNL is offline
Junior Member
 
Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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).

Last edited by SnakeSolidNL; 21st February 2012 at 13:39.
Reply With Quote
  #4  
Old 22nd February 2012, 14:19
kiddiak kiddiak is offline
Junior Member
 
Join Date: Nov 2011
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default 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.

Last edited by kiddiak; 22nd February 2012 at 14:22.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 18:17
Hosting multiple websites and webmail dmwcool Installation/Configuration 8 30th March 2010 03:15
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 16:37.


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