ISPConfig Load Balanced

Discussion in 'Installation/Configuration' started by SnakeSolidNL, Feb 20, 2012.

  1. SnakeSolidNL

    SnakeSolidNL New Member

    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: Feb 21, 2012
  2. till

    till Super Moderator

  3. SnakeSolidNL

    SnakeSolidNL New Member

    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: Feb 21, 2012
  4. kiddiak

    kiddiak New Member

    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-u...ancer-with-haproxy-keepalived-on-debian-lenny

    http://www.howtoforge.com/setting-up-unison-file-synchronization-between-two-servers-on-ubuntu-11.10

    in my case for ubuntu..

    Regards,
    Kristinn.
     
    Last edited: Feb 22, 2012

Share This Page