Results 1 to 8 of 8
-
12-26-2013, 09:48 PM #1New Member
- Join Date
- May 2005
- Location
- Toronto, Canada
- Posts
- 3
Cloud to Cloud Migrations - How to deal with configs?
Merry Christmas!
I'm trying to do a large migration of 5 servers from Rackspace Cloud to Softlayer CloudLayer, and am wondering what the proper procedure for a task like this might be. Each server is different (one for www, one for MySQL, three for separate apps), and have different packages installed on them with unique configurations (i.e. Varnish, git, NodeJS, etc). They're all Ubuntu servers.
Being my first time, I'd love to get some advice .
It doesn't sound to be as simple as migrating everything under "/" from the old server to the new server. Anyone have any ideas as to what the correct procedure should be to get everything moved and working together at the new provider?
Thanks!
Donny
-
12-27-2013, 12:02 AM #2Web Hosting Master
- Join Date
- Jan 2011
- Location
- Canada
- Posts
- 938
Normally best practice is to use chef or puppet to stand up another cluster with the appropriate configs and then migrate the data using rsync and mysql replication.
If you're in a pinch and doing this the old fashioned way, dpkg -l , hand install the missing packages and then copy over /etc folders as needed. Then do the data migration as above.
-
12-27-2013, 06:06 PM #3Newbie
- Join Date
- Jun 2008
- Posts
- 10
Best to use infrastructure automation tools like (chef, puppet, cfengine).
If in a rush you can rsync all the old files over to say /var/tmp/oldhost and then copy files you need manually until you have a chance to get your infrastructure automation into place.
-
12-27-2013, 11:55 PM #4WHT Addict
- Join Date
- May 2013
- Posts
- 112
How much data do you have?
Typically, if it is a linux operating system like Ubuntu it can be done fairly easy with rsync and have an exclude file to ignore some OS files. Copy over all the configurations, packages/software, etc. Have had pretty good success in migrating linux machines using rsync without having to reconfigure everything.
EDIT: Just noticed you said Ubuntu!Last edited by CloudVZ; 12-27-2013 at 11:59 PM.
█ Cloud IaaS Solutions Provider - www.CloudVZ.com
█ SSD SANs | High IOPs | Public & Private Cloud Solutions | Content Delivery Network
█ Create your virtual datacenter in seconds!
-
12-29-2013, 11:40 AM #5Junior Guru Wannabe
- Join Date
- Jun 2013
- Posts
- 36
If you are happy with the OS and build, then a better option may be a V2V copy. Just pickup the entire VM and copy it. At the destination end its little more than changing IP, hostname etc and you're done.
It really does depend on what you want to achieve from a provider. Most Linux migrations we've done have involved an OS change, or a move from apache/mod-php to fastcgi/php-fpm so frankly its easier to just build new VMs and copy files/databases as others have described using rsync etc.
Acronis is what we use to do full system copies. If your VM has had many hours of build time put into it and you don't fancy re-learning all the tweaks you made the first time around, a complete copy could be better.
We had a customer who reckoned they had spent weeks getting their application to work on a vanilla server and wouldn't have endured a provider move if they had to go through that again. Moving a 60GB VM required just 45 minutes of downtime and as its the same machine, it worked perfectly after the move.
You can also do a full copy followed by incremental copies. Typically used for large customers. We moved a 3TB customer from the USA to ourselves using this technique; trying to do a single full copy would have required a whole weekend outage I guess.
The only thing which might be a stumbling block is that at the destination end you need the ability to create an empty VM with the acronis ISO mounted as a boot device. Worth a look though.
-
01-08-2014, 03:25 PM #6Junior Guru Wannabe
- Join Date
- Nov 2005
- Location
- Nassau, The Bahamas
- Posts
- 74
Secure Hosting | Premium Cloud & Dedicated hosting solutions since 2001
email: sales(at)securehost(dot)com • +1-242-502-8700 • 24/7 support by phone/helpdesk
Located in The Bahamas & Bermuda: Redundant Cooling, Power & Network, PCI DSS compliant, 7ms from USA
-
01-18-2014, 02:39 PM #7WHT Addict
- Join Date
- Dec 2000
- Location
- Scotland
- Posts
- 134
There is a fairly new approach appearing from a few vendors I really quite like, instead of trying to do v2v conversion, they analyse and extract the application and it's data from the underlying operating system, and then import it into a brand new VM, thus removing some of the headaches in traditional conversions.
It also has the benefits of being able to p2v as well as p2v, and even upgrade operating systems etc as part of the upgrade.
https://www.usharesoft.com/products/migration.html has more information.
(Non needed disclaimer: I have no commercial interest in mentioning these guys apart from I think they are doing some cool stuff).
Regards,
TonyFounder & SVP Product
Flexiant Ltd
Simplifying the Cloud - Designed for Service Providers
http://www.flexiant.com
-
01-20-2014, 11:07 AM #8New Member
- Join Date
- Jan 2014
- Posts
- 3
Hello,
I have seen the usharesoft migration solution work and it is nice.
In the open source world, maybe https://pypi.python.org/pypi/Pysa/ is something to look at. It is developed by the guys behind Madeira Cloud.
Similar Threads
-
Oh MA MA MIA! That's What We Call A Cloud DAMN DEAL! Check This OUT!
By WizzSupport in forum Cloud Hosting OffersReplies: 0Last Post: 09-27-2012, 03:26 PM -
HIVELOCITY- ICE Cloud (Independent Cloud Environment) @ $459! Cloud VMs @ $59!
By hivelocitygm in forum Cloud Hosting OffersReplies: 0Last Post: 04-17-2012, 11:04 AM -
[UK] Low End Deal on Cloud VPS - Ł4.40/month!
By jhadley in forum VPS Hosting OffersReplies: 0Last Post: 03-01-2012, 08:43 AM -
[UK] Best Deal On Cloud Hosting
By Josh-A in forum Cloud Hosting OffersReplies: 0Last Post: 01-18-2012, 06:09 AM -
HIVELOCITY SIMPLY SCALABLE CLOUD- Public Cloud @ $59. Managed Private Cloud @ $599
By hivelocitygm in forum Cloud Hosting OffersReplies: 0Last Post: 06-01-2011, 10:20 AM