Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Aug 08, 2010 8:39 pm 
Offline
Newbie

Joined: Sun Aug 08, 2010 8:31 pm
Posts: 3
Website: http://www.619cloud.com
Location: San Diego, CA.
We recently migrated Slicehost slices to Linode and wrote a shell script to automate the entire process. The script works with Red Hat based Linux distributions such as Fedora and CentOS.

You should be able to use this script to do the following:

1.) Move existing Linode servers to different Linode data centers.
2.) Migrate Linode servers to completely different provides such as Slicehost, Rackspace Cloud Serves, or even Amazon EC2.
3.) Import servers into Linode from other provides.

http://www.619cloud.com/blog/migrate-linux-servers-across-cloud-providers/
Download The Shell Script Directly

Let us know what you think, and if you have any questions or comments.


Top
   
 Post subject:
PostPosted: Sun Aug 08, 2010 10:27 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Quote:
1) Move existing Linode servers to different Linode datacenters.

Here at Linode, you don't need a script to do that. Cloning disk images and sending them to another linode is just a couple of mouse clicks away. But your script could be quite useful for the other scenarios.

One thing: it doesn't seem that your script will automatically change IP addresses and hostnames hard-coded into Apache and Postfix configuration files, for example. You're definitely going to have trouble with e-mail if Postfix HELOs with the wrong hostname. So the user must still manually track down and change those entries, including the crucial network interfaces file.

It shouldn't be too difficult for a script to ask for a list of source IP addresses/hostnames, a corresponding list of destination IP addresses/hostnames, and automatically perform a search/replace on them. But this is likely to fail in unexpected ways if the config files are complicated, or if the destination cloud provider has special setups.


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


Who is online

Users browsing this forum: No registered users and 4 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