Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Oct 17, 2010 6:48 pm 
Offline
Senior Newbie

Joined: Tue Jan 19, 2010 7:59 pm
Posts: 14
Website: http://www.scottphillips.com
Is there a cleaner or direct way to copy disk images between linodes?

Looking around the new web interface under the 'Backups' I can make a current snapshot, then restore that brand new snapshot into a second linode instance. With the old interface under "settings & utilities" there is an option to clone an instance. However, Both of these options copy *all* disk images into the second linode instance.


That's a lot of un-needed copying when I just want to move one image. If the second instance was an actually installed, running, and configured I could easily do something like rsync. But my current use case is for testing my next OS upgrade with all it's install scripts. I'm trying to make sure my installs are 100% scripted. So there's nothing in the second zone.


Top
   
 Post subject:
PostPosted: Sun Oct 17, 2010 10:07 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
New interface: under 'Advanced options', check the box beside one or more disk images and hit copy. You will be offered a choice of destination Linodes.

Old interface: under 'Settings and Utilities' click 'Copy individual disk images to another Linode'. You will be offered a list of images to select and a drop down menu of destination Linodes.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Mon Oct 18, 2010 10:45 am 
Offline
Senior Newbie

Joined: Tue Jan 19, 2010 7:59 pm
Posts: 14
Website: http://www.scottphillips.com
Ah, Okay. Thanks.

I guess what tripped me up was the protection on the copy screens for running linode instances. The new interface prevents you from copying from a mounted disk image.


Top
   
 Post subject:
PostPosted: Tue Oct 19, 2010 9:06 pm 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
You should never copy a mounted image, anyway... You're likely to get a corrupt copy. If you can't afford the downtime to copy the disk, buy Backup service, create a snapshot, and restore the disk from backup to the destination VPS.


Top
   
 Post subject:
PostPosted: Tue Oct 19, 2010 9:12 pm 
Offline
Senior Member

Joined: Thu Jul 22, 2010 8:23 pm
Posts: 60
So live migration that is supported by Xen is buggy?


Top
   
 Post subject:
PostPosted: Wed Oct 20, 2010 8:19 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
fiat wrote:
So live migration that is supported by Xen is buggy?

Moving disk images isn't live migration, just copying files (which contain your file system) from one host to another.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Wed Oct 20, 2010 11:11 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Live migration tends to require either your storage to be on a SAN, or for you to be running network-mirrored storage.

It's not technically impossible to live-migrate the storage in a similar way to how memory is live-migrated, but it'd be tricky since the disk is so much slower than RAM. I don't think Xen implements this.


Top
   
 Post subject:
PostPosted: Mon Nov 15, 2010 2:15 pm 
Offline

Joined: Mon Nov 15, 2010 2:14 pm
Posts: 1
hmm... does this mean no live migration is possible at linode?


Top
   
 Post subject:
PostPosted: Mon Nov 15, 2010 5:02 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
No, that's not what it means, because this has nothing to do with live migration, but yes, live migration isn't possible for other reasons.


Top
   
 Post subject:
PostPosted: Mon Nov 15, 2010 5:31 pm 
Offline
Senior Member

Joined: Thu Jul 22, 2010 8:23 pm
Posts: 60
Live migration is definitely possible with XEN, however it depends on how the hardware architecture has been designed.

Given Linodes pretty amazing uptime, i would be surprised if they didn't use live migration in some instances to take down servers for service windows etc.


Top
   
 Post subject:
PostPosted: Mon Nov 15, 2010 6:34 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
They don't use an architecture that supports live migration. That's, arguably, one reason why the uptime is phenomenal.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Mon Nov 15, 2010 6:46 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
fiat wrote:
Given Linodes pretty amazing uptime, i would be surprised if they didn't use live migration in some instances to take down servers for service windows etc.

Good uptimes are achieved by Linode using top-quality hardware -- unlike some providers. In the event of a total (non-disk) hardware failure, the disks are moved to another server. For flaky but not completely busted hardware, you get the chance to migrate your Linode to another host at a time of your choosing (for which your 'node must be shut down), subject to a deadline -- after which the migration is done for you before the flaky gear is taken out of service.

_________________
/ Peter


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