This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] RHEL VMs in HyperV to Xen

To: Edward Smith <bm.unpersonal@xxxxxxxxx>
Subject: Re: [Xen-users] RHEL VMs in HyperV to Xen
From: Thomas Halinka <lists@xxxxxxxxx>
Date: Thu, 10 Dec 2009 21:40:15 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 10 Dec 2009 13:13:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B215B0C.4090300@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4B215B0C.4090300@xxxxxxxxx>
Reply-to: lists@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Edward,

Am Donnerstag, den 10.12.2009, 21:33 +0100 schrieb Edward Smith:
> Hello,
> I have several RHEL VMs running in the MS HyperV2, but now I need move
> them to Xen hypervisor.
> In the MS HyperV I have a vhd for each VM.
> In Xen hypervisor I want use a logical volume for each machine.
> So I need to convert images?
> There are any procedure that I can follow? because I'm not really
> familiarized with Xen.

This will work for you....

Shutdown ALL Services in the VMs on the HyperV-Box, like mysql and
whatever because of "opened Files" which could cause a FS-Error....

All Steps below are done on the dom0....

Create a LVol on the XEN-Box

  lvcreate -L 15G -n VM1-Disk $VG

Create a FS

  # mkfs.ext3 /dev/$VG/VM1-Disk

Mount the LVol in Dom0

  # mount /dev/$VG/VM1-Disk /mnt

Copy the entire /-FS from your Hyper-V-VM to the dom0

On the Dom0:

  # rsync -avzH --numeric-ids -e ssh root@OLD-IP:/* /mnt/

Create a xen-config for your new Host and boot it up....

> I appreciate any help,
> Thanks,



> Edward
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Xen-users mailing list