Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
# 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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.