Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jul 06, 2015 6:00 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
I have a site running on 10.04 and want to upgrade to 14.04 and I considering this clean option...

Create a new Linode with the standard 14.04LTS stack. Install all my files, setup MySQL, test everything on the new server, then when I am happy it all seems to work, simply swap the IP from my old Linode to the new One. I would block any remote/database updates before the move and do a full MySQL dump and restore it on the new Linode before switching the IP.

1, Is this a good approach?

2, How long does an IP Swap take?


Thanks for any feedback.

_________________
Regards

Mark


Top
   
PostPosted: Mon Jul 06, 2015 9:59 am 
Offline
Senior Member

Joined: Sun Aug 31, 2008 4:29 pm
Posts: 177
markunit wrote:
1, Is this a good approach?


Yes. I've done exactly the same procedure twice with no issues.

Quote:
2, How long does an IP Swap take?


It's near-instantaneous, though when I last did it (more than a year ago) it was necessary to shutdown both Linodes before swapping IPs. Don't know if that has changed....

_________________
sleddog


Top
   
PostPosted: Tue Jul 07, 2015 3:10 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
I second sleddog's comments, although I have only gone through the process once myself. Note that both Linodes need to be in the same datacenter.


Top
   
PostPosted: Tue Jul 07, 2015 9:03 am 
Offline
Junior Member

Joined: Fri Nov 01, 2013 8:16 am
Posts: 21
Website: http://purbeckpixels.com
Location: England
Thirded. I upgraded from 12.04 LTS to 14.04 LTS earlier this year using the same approach. Worked flawlessly apart from the IP swap, which required a reboot of the new server to work. I contacted support and they supplied this command to run after swapping IPs instead of rebooting:

Code:
ifdown -a && ifup -a


If you're running Apache, don't forget that the virtual hosts etc syntax in version 2.4 (shipped with 14.04) has changed:

https://httpd.apache.org/docs/current/upgrading.html


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group