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)
-   -   Multi server advice (http://www.howtoforge.com/forums/showthread.php?t=62154)

onastvar 9th June 2013 19:43

Multi server advice
 
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

Horfic 9th June 2013 21:21

You can go with this tutorial.

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

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.

onastvar 13th June 2013 16:57

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?

Thanks.

till 13th June 2013 17:21

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.

onastvar 14th June 2013 21:50

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

Code:

Commented out the following line from both php.ini files:
 
#allow_call_time_pass_reference

PHP.INI
vi /etc/php5/cgi/php.ini

PHP.INI
vi /etc/php5/apache2/php.ini

RELOAD APACHE
/etc/init.d/apache2 reload

If anyone has same issue with upgrading to debian wheezy, this post could perhaps help.

onastvar 3rd July 2013 20:10

Quote:

Originally Posted by Horfic (Post 298404)
Mysql is replicated per master-master replication. Which works in wheezy a little bit diffrent as in the tutorial.

Do you know what works different? Would I be okay following the same guide?

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


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

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