[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] cloning guests between Dom0's ?
of cource ! used dd if=/dev/sdb1 | gzip | ssh root@hostx "gzip -d > /devh/sdb1" to "copy" the partition between hosts copied guest config file also to new host and generated new uuid and mac address for it. thats it... done :) could not get virt-clone to work between xen hosts. thanks for the help ! :)
Hi Arnar Of course its possible, and there are several options. So your guest is on a partition. A physical partition or a LVM LV? For a LVM LV you can do the following (using the LVM snapshot) without shutting down the domU: lvcreate -s /dev/vg/domU -L1G -n domU_snap mkdir /mnt/domU_snap mount /dev/vg/domU_snap /mnt/domU_snap tar cvjpf /storage/path/domU_snapshot.tbz /mnt/domU_snap lvremove /dev/vg/domU_snap For a physical partition, you should shutdown the domU first (probably pausing is also ok). In this case, you can use the dd command for the backup (check the archives). virt-clone is also an option. Cheers, N. -----Original Message----- From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx on behalf of Arnar Þórarinsson Sent: Sun 22-Mar-09 12:29 PM To: xen-users@xxxxxxxxxxxxxxxxxxx Subject: [Xen-users] cloning guests between Dom0's ? Hi, Just setup a guest on a Dom0 (CentoOS 5.2) and would now like to clone or copy that host to another Dom0 (CentOS 5.2). Is that possible ? Guest uses a partition so I can't copy the image file over. The only thing I've found is about migrating a guest between Dom's. Best Regards, /Arnar Thorarinsson
Thessi tolvupostur og vidhengi hans geta innihaldid trunadarupplysingar _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |