WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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: Miguel <miguelrvs@xxxxxxxxx>
Date: Fri, 11 Dec 2009 09:40:27 -0600
Cc: lists@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 11 Dec 2009 07:41:32 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=o5zFV/i1U/hwvwo/lJdRkalx6vh/KIZQr5hcsorZUCU=; b=NRqsUrKJmQOferZ/wOp//c4J9/o32w1HJqd6MULaKgdiJnFUa042CdswsIDE57TFnN gZe188jEgQtCOA3sI2Uj1OyXZg2e5PNZZ9O3ob9aHM16slXE8fQFb8VBRX56rFDBfqfa /XiUTO2c+Ke2IbYNetpW32PUddERw9Z/frOhw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Hbh2RfRcD2KkKuOHAbY0aRF+GyJVNegDppLDDJQVLmfPB/ErarFDyt/3x4isBrHHWX 88W4KlBFzzEGGPlxHfo7KPbIxx3xjfhSc1GmZ/vz3UL4rqkFdPB5ph+i83REpcUngylN LqSA0CARneb9wzGHWlPhNQVJz2LjU2gJ++AXw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b06c3c4d0912110318xd70a6f5ue46c756f3ab93a8c@xxxxxxxxxxxxxx>
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> <1260477615.20474.12856.camel@sl300> <b06c3c4d0912110318xd70a6f5ue46c756f3ab93a8c@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
You can try booting the VM from an .iso live disc and using the above
trick to copy the entire FS at the block level to a premade
partition/logical volume.


Si quieres ser más positivo, pierde un electrón
Miguel Ruiz Velasco Sobrino



On Fri, Dec 11, 2009 at 05:18, Edward Smith <bm.unpersonal@xxxxxxxxx> wrote:
> Hi Thomas,
> first of all I appreciate your suggestion. But I can't do this with the VMs
> running on Hyper-V.
> I need shutdown all VMs on the Hyper-V and them move them to the Xen
> Hypervisor.
> The idea is copy the vhd or convert it with something... mount this disk??
> to a lvm in dom0 and boot the VMs...
> Any ideas???
>
> Or other procedures, ideas, suggestions are welcome.
>
> Thanks,
> Edward
>
>
> On Thu, Dec 10, 2009 at 9:40 PM, Thomas Halinka <lists@xxxxxxxxx> wrote:
>>
>> 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
>>
>>  eg.
>>  # 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,
>>
>> hth,
>>
>> Thomas
>>
>> > Edward
>> >
>> > _______________________________________________
>> > Xen-users mailing list
>> > Xen-users@xxxxxxxxxxxxxxxxxxx
>> > http://lists.xensource.com/xen-users
>>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

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