Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th January 2011, 17:23
Ryanmt Ryanmt is offline
Member
 
Join Date: Apr 2008
Posts: 92
Thanks: 15
Thanked 6 Times in 4 Posts
Default Moving all customers from one server to another..

Hi all,

Im currently tasked with moving all the stuff off my old webserver (ispconfig and all) onto a new webserver.

I have this post to hand, http://www.howtoforge.com/forums/showthread.php?t=2717 by falko

Old : Ubuntu 8.04, ISPconfig 2

New : Centos 5.5 ISpconfig 2 <- fresh install!

Im aiming to move my customers over with minimal downtime, both servers are in the same network so can just have the IPs switched over. The server currently has 2 ips and operates as its own DNS server

Im considering moving the core of the /var/www folder over using scp and trying to preserve the permissions. Or maybe use rsync. Im open to suggestions to keep the most amount of data/permissions in tacked. The advantage of using rsync is i can just run it again right at the switchover time to ensure everything is upto date, the downsides is it seems not to have permissions for certain folders and things like .foward .no_reply etc

Also important is the mysql, both from the ispconfig db and the sites databases. I could setup 1 way replication which would be fairly easy and ensure the sql database is maintained right up to the change over is that feesable??

As for email my plan is to just stop postfix so the server will not accept mail during the ip changeover, that way mail wont be trapped on the old server.

Thats all i can think of that might cause an issue, I only have one chance to get it right so any advice, tips etc would be very much appreciated.

Thanks
Ryan

Last edited by Ryanmt; 16th January 2011 at 17:27.
Reply With Quote
Sponsored Links
  #2  
Old 17th January 2011, 13:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by Ryanmt View Post
Old : Ubuntu 8.04, ISPconfig 2

New : Centos 5.5 ISpconfig 2 <- fresh install!
First, you might run into some problems if you use a different distribution because of different paths, etc.

Im aiming to move my customers over with minimal downtime, both servers are in the same network so can just have the IPs switched over. The server currently has 2 ips and operates as its own DNS server

Quote:
Originally Posted by Ryanmt View Post
the downsides is it seems not to have permissions for certain folders and things like .foward .no_reply etc
Do you run rsync as root?

Quote:
Originally Posted by Ryanmt View Post
Also important is the mysql, both from the ispconfig db and the sites databases. I could setup 1 way replication which would be fairly easy and ensure the sql database is maintained right up to the change over is that feesable??
Yes, you can do that with replication.

Quote:
Originally Posted by Ryanmt View Post
As for email my plan is to just stop postfix so the server will not accept mail during the ip changeover, that way mail wont be trapped on the old server.
IF you want to transfer the old emails to the new server as well, you can do this with imapsync: http://www.howtoforge.com/how-to-mig...-with-imapsync
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
Ryanmt (19th January 2011)
  #3  
Old 19th January 2011, 01:14
Ryanmt Ryanmt is offline
Member
 
Join Date: Apr 2008
Posts: 92
Thanks: 15
Thanked 6 Times in 4 Posts
 
Default

Thanks falko,

I i didnt run it as root - roots disabled, i had created an rsync user speciflcally for backing up to my home server. I guess for the changeover period i can enable root!

Will readup on imap sync.
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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Centos5.4/ISPConfig 3--Virtual site not working MichaelCaditz Installation/Configuration 25 25th March 2011 11:37
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 17:02
Email doesn't work... Ventzy Installation/Configuration 1 14th February 2010 11:49
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 16:11


All times are GMT +2. The time now is 03:56.


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