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 30th April 2012, 13:58
blocker blocker is offline
Senior Member
 
Join Date: Mar 2008
Posts: 177
Thanks: 9
Thanked 4 Times in 4 Posts
Default Move main ISPConfig server to new hardware

Hello,

i am about to move a main ISPconfig server to a new hardware, it is the main server of a ISPConfig3 cluster system. What is the wise way to do that. I have to use another hostname and a new IP on the new server.

I already moved standalone ISPConfig3 servers with success - moving database, web's, users/groups and mails if any.

That works, but how about this case when moving a main server, what have to be done except the things that are normally done when moving a standalone isntallation?

thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 30th April 2012, 14:13
aibara aibara is offline
Junior Member
 
Join Date: Apr 2012
Posts: 18
Thanks: 1
Thanked 4 Times in 2 Posts
Default

I suggest you to make a clean installation, that happened to me, I don't have a REAL cluster, but I have 4 virtual machines running different services, I had to migrate from a host and ip to another.

What I first of all did, is making a huge backup of the entire server.
After that, installed the main server, following the same instructions, and manually copied the main config files for postfix, postgrey, mysql, apache2, and bind9, php, and some more.
Check the logs while you make the copy to check if you are doing good.

I think there's no way to do it 100% automatic, and if something crashes, I will be much easier for you to analyze what caused the problem.
If you make a full transfer to a new hardware... the most normal is that you have lots of errors, so for you I think the best if to do it manually, you can be 2 days making it again, but it's much better.
I sugg
Reply With Quote
  #3  
Old 30th April 2012, 14:40
blocker blocker is offline
Senior Member
 
Join Date: Mar 2008
Posts: 177
Thanks: 9
Thanked 4 Times in 4 Posts
Default

Hello,

my problem is that this is a main server, and IP and hostname should be changed, i can not use the old one IP/hostname

normally a manual move of a standalone server is not a problem, but now i am facing the problem that this one is the main server running the interface i and i am not pretty sure what have to be done except the things that are done during a normal standalone setup move. I think in this case there should be database manupulations done on the main server and on the servers in the node, in order the system to be able to function again

any help much appritiated!
Reply With Quote
  #4  
Old 30th April 2012, 15:34
aibara aibara is offline
Junior Member
 
Join Date: Apr 2012
Posts: 18
Thanks: 1
Thanked 4 Times in 2 Posts
Default

Hi again,
What you are trying I think it's very dangerous for your config.
Of course you can change all the hostname or ip address in the ispconfig database, including the additional servers, but there's more files you should modify if you copy the entire config.
What I would do is create a similar environment and after that, when you have installed the same config, would start transfering mails, dns templates, web files, ispconfig source, postfix, fail2ban configurations manually.
Reply With Quote
  #5  
Old 1st May 2012, 15:30
blocker blocker is offline
Senior Member
 
Join Date: Mar 2008
Posts: 177
Thanks: 9
Thanked 4 Times in 4 Posts
 
Default

Hey somebody already experienced this scenario?

progress:

i have already installed ispconfig3 and moved /var/www /var/lib/mysql /var/vmail, filled out the missing lines in /etc/passwd and /etc/groups, copied the sites-available and sites-enabled. The hosted sites are working perfect when i test them via my workstation's hosts file (pointing the domains to the new IP).

the problem is still to get the server act as main cluster server, i can keep the FQDN but i have to change the IP, since this is a dedicated mashine

any help apprisiated
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
No dns zone files created? sjau Installation/Configuration 7 13th March 2012 13:15
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
ISPConfig 3 - CentOS 5.4 - SSL Problems!?! owainbaber Installation/Configuration 4 26th July 2011 17:12
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 16:25
PHP warnings after upgrade to ISP config 3.03 stevegjacobs Installation/Configuration 5 30th October 2010 14:31


All times are GMT +2. The time now is 08:45.


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