Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th November 2012, 11:42
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 287
Thanks: 82
Thanked 8 Times in 7 Posts
Exclamation 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.
Reply With Quote
Sponsored Links
  #2  
Old 6th November 2012, 12:15
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following 2 Users Say Thank You to till For This Useful Post:
Biliaevosse (4th December 2012), Captain (6th November 2012)
  #3  
Old 6th November 2012, 12:21
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 287
Thanks: 82
Thanked 8 Times in 7 Posts
Default

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.
Reply With Quote
The Following User Says Thank You to Captain For This Useful Post:
till (6th November 2012)
  #4  
Old 6th November 2012, 14:31
webguyz webguyz is offline
Senior Member
 
Join Date: Oct 2012
Location: Earth
Posts: 144
Thanks: 38
Thanked 18 Times in 15 Posts
Default

Looking forward to your results as I'm interested in trying this myself.
Reply With Quote
  #5  
Old 26th November 2012, 13:17
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 287
Thanks: 82
Thanked 8 Times in 7 Posts
Question

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.
Reply With Quote
  #6  
Old 26th November 2012, 13:26
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

Which directories are mirrored by drbd and did you use different mysql users for the local ispconfig instances as described in the mirror guide?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 26th November 2012, 13:39
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 287
Thanks: 82
Thanked 8 Times in 7 Posts
Default

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
Reply With Quote
  #8  
Old 26th November 2012, 14:05
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 26th November 2012, 14:38
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 287
Thanks: 82
Thanked 8 Times in 7 Posts
Default

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

Now I try to configurate heartbeat.

Later I post about it.

Thank you.
Reply With Quote
  #10  
Old 26th November 2012, 18:32
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 287
Thanks: 82
Thanked 8 Times in 7 Posts
 
Question

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?

Last edited by Captain; 26th November 2012 at 18:50.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP redirection in Cluster Captain Installation/Configuration 0 24th October 2012 15:04
ISPConfig Load Balanced SnakeSolidNL Installation/Configuration 3 22nd February 2012 15:19
ispconfig 3 multiple mail servers lifeisboost Installation/Configuration 1 4th May 2010 10:26
Mirroring ISPConfig with DRBD rodriglm General 5 2nd January 2006 13:48
High Availability and clustering with ISPconfig jeanjacquesjeanjacques General 1 22nd November 2005 13:22


All times are GMT +2. The time now is 20:21.


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