LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2009, 06:24 AM   #1
lakshmi4linux
LQ Newbie
 
Registered: Mar 2009
Posts: 26

Rep: Reputation: 15
Migration of Xen


Hi,

I'm having debian etch server,in which i'm running xen machines using LVM based.

Now i'm provided with debian Lenny server. what i need to do is, i want to migrate all xen domains from debian etch server to debian Lenny. Live migration is not needed,even i'm happy if it is possible to take the backup of the domain and start over there(Lenny server).

I dono how to backup the xen domain and how the images are, please help me in this migration operation.

Thanks in Advance!
 
Old 04-23-2009, 06:39 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
The images should be stored where you declared them to be stored. I use CentOS so might be some differences but the image configuration files should be stored at /etc/xen/ and in them you can find out where the images are stored by looking at the disk value, it won't be the only thing on the line but I assume you should be able to figure it out from what appears their.
 
Old 04-28-2009, 04:36 AM   #3
lakshmi4linux
LQ Newbie
 
Registered: Mar 2009
Posts: 26

Original Poster
Rep: Reputation: 15
Hi
Thnaks for ur reply.

my /etc/xen/xenmachine.cfg file looks like this

# Disk device(s).
#
root = '/dev/xvda2 ro'
disk = [
'phy:/dev/private_cloud/c4-swap,xvda1,w',
'phy:/dev/private_cloud/c4-disk,xvda2,w',
]
my VM's are running under the LVM's.

Can u pl tell how to backup the machine and restore the same in different machine.

Thanks in Advance!
 
Old 04-29-2009, 03:25 AM   #4
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
you are using lvm on local machine.
You can migrate the disks from the machine and put it in the new machine
do a vgchange -a y to get the LVM enabled and use the same config file.
The Xen is transparent to the underlying LVM partitions.

if you want to backup and restore ... you have to dump the whole of the LVM partition
using dd or similar command and create the partition again in a new machine (same size or more)
dump back the backup and do all extend operations - check validity of PVs VGs and LVs and
enable then by vgchange -> if this is what you meant by backup up and restore from one machine to
other.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'connection reset by peer' on xen migration harsshal Linux - Software 0 04-13-2009 12:53 PM
XEN migration issue using GFS2 fft9qh Linux - Enterprise 0 11-07-2008 04:29 AM
SAN Setup for migration of Xen Domains dmpatra Red Hat 0 07-10-2007 03:45 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM
LXer: Live migration of Xen domains LXer Syndicated Linux News 0 07-25-2006 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration