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
  #11  
Old 6th June 2009, 10:49
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,808
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

You can not use ispconfig on the second server for a failover setup as ispconfig does not support mirroring in the current release. For your setup, as you use mysql replication, ispconfig should be installed only on the first server and not on the second server and then you will have to replicate the data to the second server with mysql replication and rsync.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 6th June 2009, 14:34
wxman wxman is offline
Senior Member
 
Join Date: May 2007
Posts: 189
Thanks: 11
Thanked 2 Times in 2 Posts
Default

Don't I need ISPConfig to run all the services? ISPConfig controls them after the install, so if it's on the primary server the second server, even if replicated, wouldn't work. My setup seems to be working as is. The DB replication ignores tables server, monitor_data, and the log. If you can explain how I can run the second server without ISPConfig, I'd be happy to try it.
Reply With Quote
  #13  
Old 7th June 2009, 14:36
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,808
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

If it would work why are we having this thread then?

In a master slave setup a ispconfig sytsem relicates the data itself, so if you use ispconfig on both servers plus replication from mysql the updates collides and you get the errors that you posted here like that ispconfig tries to insert a database while this databse already exists because you mirrored it.

Either you wait for ispconfig 3.0.2 which will provide mirroring or you remove ispconfig from the second server and copy all changed config files, system users etc to the second server with rsync and restart the services on the second server afterwards.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 7th June 2009, 14:53
wxman wxman is offline
Senior Member
 
Join Date: May 2007
Posts: 189
Thanks: 11
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
If it would work why are we having this thread then?

In a master slave setup a ispconfig sytsem relicates the data itself, so if you use ispconfig on both servers plus replication from mysql the updates collides and you get the errors that you posted here like that ispconfig tries to insert a database while this databse already exists because you mirrored it.

Either you wait for ispconfig 3.0.2 which will provide mirroring or you remove ispconfig from the second server and copy all changed config files, system users etc to the second server with rsync and restart the services on the second server afterwards.
When I said it was working, I meant that it seemed to be working until I did the upgrade.

If I remove ISPConfig from the second server, and copy the changed files over, will the second server work in case of failover? Isn't ISPC controlling, for example, the DNS service, Postfix, etc.?

Any ideas how long before 3.0.2?
Reply With Quote
  #15  
Old 7th June 2009, 14:56
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,808
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

ISPConfig is a controlpanel, this mean that it writes config files etc. It is not controllind any services, it writes just the configuration for these services.

Quote:
Any ideas how long before 3.0.2?
In a few months. But you will have to remove your kind of replication in this ca
ase anyway as it conflicts with ispconfig.

Maybe you should leave your setup just as it is if it works for you and dont upadte ispconfig on the second server for now.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #16  
Old 7th June 2009, 16:32
wxman wxman is offline
Senior Member
 
Join Date: May 2007
Posts: 189
Thanks: 11
Thanked 2 Times in 2 Posts
 
Default

OK Till, Thanks. I'll keep things as they are and hope it all works together in case of failure. In the mean time I'll keep testing my setup.
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
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
slow download through webserver problem snewp Technical 14 9th May 2008 05:25
Outlook does not Authenticates aberrio Server Operation 30 1st November 2007 19:21
No ftp login for ispconfig-webuser agri Installation/Configuration 12 19th March 2007 10:06
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19


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


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