Simon,
To add on to this question:
Is it possible to run a VM (RHEL 5.2) which I had created on XCP 0.5 on XCP
1.0 whenever it is released?
Regards,
Prateek
>
>
>
> ---------- Forwarded message ----------
> From: Simon Hobson <linux@thehobsons.co.uk>
> To: xen-users@lists.xensource.com
> Date: Wed, 18 Aug 2010 17:10:33 +0100
> Subject: Re: [Xen-users] Cloning VM from Xen
> Benjamin Knoth wrote:
>
> i created some virtual machines on SLES 10 with Xen.
>> Now i would like to use Xen on SLES 11.
>> My harddisks from all vm are lvm.
>> Is it possible to clone my existing vm to my new server which runs with
>> SLES 11?
>>
>
> Short answer - copy the LVs and guest config from one server to the other.
>
> Longer answer :
> Create each LV on the new server, copy the contents across from the old
> one. If the LV is identical in size then you can probably just do a
bytewise
> copy of the LV. Alternatively, you can mount the LV on the DomU and copy
all
> the files across using your favourite tool.
>
> My personal preference is :
> mount LV on /mnt on each Dom0
> rsync -avH --numeric-ids /mnt/ root@the_new_server.yourdomain:/mnt/
> scp /etc/xen/guest_cofig_file root@the_new_server.yourdomain:/etc/xen
> unmount /mnt on each machine
> repeat above for each LV
>
> startup guest on new server
>
> Obviously you can take this opportunity to resize volumes, and even
> re-arrange then (eg you can split a single LV on the old server and make it
> separate / and /var on the new one - don''t forget to alter both
the guest
> config and the guest''s /etc/fstab.
>
> --
> Simon Hobson
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users