Multi server advice

Discussion in 'Installation/Configuration' started by onastvar, Jun 9, 2013.

  1. onastvar

    onastvar Member

    I'm looking to install new physical server #2 on location #2, in case of server #1 goes offline (power failure or internet connection issue) would like to keep everything online (i.e. Failover).

    Server #1 has debian squeeze with latest ISPConfig. What's the best guide to follow to setup server #2? Anyone has this setup or experience with same. Any advice is greatly appreciated.

    Thank You
  2. Horfic

    Horfic Member

    You can go with this tutorial.

    It is a little bit older but still works without a problem.

    Mysql is replicated per master-master replication. Which works in wheezy a little bit diffrent as in the tutorial.

    File replication is done per unison, you can do it as written. maybe some more folders. depends on your setup.

    ispconfig is installed as expert mode, because the mysql is a master-master replication, the db has to be named different then the one for server 1.
  3. onastvar

    onastvar Member

    Currently, server #1 has debian squeeze installed.
    Do you recommend I update server #1 to debian wheezy?
    Is it recommended to install debian wheezy also on server #2
    or I can I just have debian squeeze on both?

    Anyone has any thoughts?

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Debian squeeze is still fine in general and you will get updates for some time. But for a new setup I would update to wheezy before I start to configure the servers.
  5. onastvar

    onastvar Member

    FYI: In preparation for multiserver setup, I've updated server #1 from debian squeeze to debian wheezy.

    Upgrade went fine, however after I rebooted I couldn't access ISPConfig control panel, I was getting Internal Server Error. Also, websites were showing 500 error. After some troubleshooting I had to do the following to be able to access ISPConfig control panel

    Commented out the following line from both php.ini files:
    vi /etc/php5/cgi/php.ini
    vi /etc/php5/apache2/php.ini
    /etc/init.d/apache2 reload
    If anyone has same issue with upgrading to debian wheezy, this post could perhaps help.
    Last edited: Jun 14, 2013
  6. onastvar

    onastvar Member

Share This Page