Adding a third server

Discussion in 'General' started by johnq, Dec 6, 2010.

  1. johnq

    johnq New Member

    Hi.

    I have 2 servers using ispconfig 3.0.3. A master server and a slave that is used only as a mysql server. The slave server was added because of high load of master server.

    Now i have again high server load on the master server because of apache. I want to add a third server to share the load of apache, but i don't want the server to be just a slave server dedicated for apache, i want some of the websites to use apache on the master server and other to use the slave server.

    How can this be done since you can only forward port 80 only on one local ip? is it possible to somehow redirect some websites to use another server?

    Thanks
    JohnQ
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please see here for instructions on mirror installations:

    http://www.howtoforge.com/installin...tabase-cluster-on-debian-5.0-with-ispconfig-3

    you need some kind of load balancer. e.g. something like this:

    http://www.howtoforge.com/load_balancing_apache_mod_proxy_balancer
    http://www.howtoforge.com/haproxy_loadbalancer_debian_etch

    But before you add another server, you should check if you can optimize the current server to handle the load. e.g. with php caches or page offload caches for the cms systms that your sites use.
     

Share This Page