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)
-   -   Heartbeat and ISpConfig 3 cluster (http://www.howtoforge.com/forums/showthread.php?t=59437)

Captain 6th November 2012 10:42

Heartbeat and ISpConfig 3 cluster
 
Hello everyone!

I have question about this tutorial (cluster creation):
http://www.howtoforge.com/installing...th-ispconfig-3

If master server goes down - the slave is get his functions after failture?
Or in this case we need to reconfigure the router to route ports to another IP?
If it is, can we use a heartbeat package with ISPConfig3?

Big thnks.

till 6th November 2012 11:15

Quote:

If master server goes down - the slave is get his functions after failture?
No, not automatically.

Quote:

Or in this case we need to reconfigure the router to route ports to another IP?
If it is, can we use a heartbeat package with ISPConfig3?
Thats both possible.

Captain 6th November 2012 11:21

BIg thnks Till for your fast answer.

Next week I will try to install and configure heartbeat with your Perfect cluster install.
I will post about it.

webguyz 6th November 2012 13:31

Looking forward to your results as I'm interested in trying this myself.

Captain 26th November 2012 12:17

Hello!

Try to install cluster on virtual machines.

Replications is Ok.
I see on both server dbispconfig1 and dbispconfig2 DB.

But when I try to install ISPConfig3 on srv2 have the error:

Code:

Unable to read server configuration from database.root@srv2:/tmp/ispconfig3_install/install
How to solve it?

Thank you.

till 26th November 2012 12:26

Which directories are mirrored by drbd and did you use different mysql users for the local ispconfig instances as described in the mirror guide?

Captain 26th November 2012 12:39

Thank you for fast answer Till!

I use your perfect tutorial - cluster debian 6.0

For file replication I use Unison - (/var/vmail and /var/www)

on srv1 -
dbispconfig1 - user ispconfig
dbispconfig2 - user ispconfig2

on srv2 -
dbispconfig1 - user ispconfig
dbispconfig2 - user ispconfig2

till 26th November 2012 13:05

Are you are sure that you executed the install.php script and not the update.php script on srv2? The error message that you posted exists in the updater only, not the installersoit can not appear during installation.

Captain 26th November 2012 13:38

I reinstall ISPConfig on second server and now it works ok.

Now I try to configurate heartbeat.

Later I post about it.

Thank you.

Captain 26th November 2012 17:32

I cofigured heartbeat wotk great.
If need configuration steps I can post it.

When I stop the master server. Slave goes on.

After that I power on it (slave).

Create new Client on srv1, but there are no replication now.
on srv2 I did not see new client.

in show slave status:

Code:

Error 'Table 'attempts_login' already exists' on query. Default database: 'dbispconfig2'. Query: 'CREATE TABLE `attempts_login` (
 `ip` varchar(39) NOT NULL,
 `times` int(11) DEFAULT NULL,
 `login_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=utf8'

How to solve it?


All times are GMT +2. The time now is 22:11.

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