cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Angus <paul.an...@shapeblue.com>
Subject RE: DISCUSS : Vmware to Cloudstack migration support
Date Fri, 07 Jul 2017 10:34:36 GMT
Maybe you should try qemu-img instead.


Kind regards,

Paul Angus


paul.angus@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 

From: Shreya Nair [mailto:shreya.nair@opcito.com]
Sent: 07 July 2017 11:30
To: users@cloudstack.apache.org; dev@cloudstack.apache.org
Cc: Vinay Patil <vinay.patil@opcito.com>; Siddheshwar More <siddheshwar.more@opcito.com>
Subject: Re: DISCUSS : Vmware to Cloudstack migration support

Hi Paul,
We explored the XenConvert solution. The XenConvert utility has been retired from XenServer
6.2 and upward. So the only solution would be using an old copy or trial version of Xen Conversion
Manager.

Instead of the qemu-img utility, we used the VirtualBox VBoxManage.exe to support conversion
of *.VMDK file to VHD. This VHD file was used to create a CS template and create an instance.
However, the VM was unable to mount the drives as it was unable to find xvdXX partitions


I get the following error on CS instance on boot:
[Inline image 2]

and the logs shows us this:

You might have to change the root from /dev/hd[a-d] to /dev/xvd[a-d]



However, on using lsblk command on the source vmware instance, we realized that the partitions
on SCSI storage devices (Used by vmware) are named as  /dev/sdXX while Xen supports /dev/xvdXX.
[Inline image 1]

Note: VMware tools has been removed from VM prior to migration



Thanks & Regards,

Shreya

On Thu, Jul 6, 2017 at 12:17 AM, Paul Angus <paul.angus@shapeblue.com<mailto:paul.angus@shapeblue.com>>
wrote:
There used to be a XenConvert utility that you do that conversion for you.  I'm not sure that
its about anymore, but a bit of googling might dig up a copy.

Alternatively there are linux and Windows versions of qemu-img convert , which usually does
a pretty good job of disk image conversions

Otherwise you could use a P2V backup/recovery tool with an agent that runs inside your VMs



Kind regards,

Paul Angus

paul.angus@shapeblue.com<mailto:paul.angus@shapeblue.com>
www.shapeblue.com<http://www.shapeblue.com>
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue




-----Original Message-----
From: Shreya Nair [mailto:shreya.nair@opcito.com<mailto:shreya.nair@opcito.com>]
Sent: 05 July 2017 09:22
To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
Subject: Re: DISCUSS : Vmware to Cloudstack migration support

Hi Oliver,

We are trying to migrate the vSphere environment to cloudstack (based on
XenServer) due to some internal product dependency which can be addressed by the CloudStack
environment.


Thanks & Regards,

Shreya

On Tue, Jul 4, 2017 at 10:27 PM, Oliver Dzombic <info@ip-interactive.de<mailto:info@ip-interactive.de>>
wrote:

> Hi,
>
> just our of intrest:
>
> Why do you want to go away from vmware ?
>
> And why do you prefere xen and not kvm ( which is as you already
> experienced much more tricky compared to kvm ) ?
>
>
> --
> Mit freundlichen Gruessen / Best regards
>
> Oliver Dzombic
> IP-Interactive
>
> mailto:info@ip-interactive.de<mailto:info@ip-interactive.de>
>
> Anschrift:
>
> IP Interactive UG ( haftungsbeschraenkt ) Zum Sonnenberg 1-3
> 63571 Gelnhausen
>
> HRB 93402 beim Amtsgericht Hanau
> Geschäftsführung: Oliver Dzombic
>
> Steuer Nr.: 35 236 3622 1
> UST ID: DE274086107
>
>
> Am 04.07.2017 um 13:22 schrieb Shreya Nair:
> > Hello,
> >
> > My team is working on a Vmware to Cloudstack migration task. The
> CloudStack
> > environment is set up on the Xenserver hypervisor.
> >
> > We are able to export a VM on vsphere to OVF template which also
> > provides the OVF, VMDK disk image(s) and MF file for the particular VM.
> > In order to create a CloudStack Template from these files, it can be
> > done by 2 methods, namely, template creation from VHD(as the
> > underlying hypervisor is XenServer) or template creation from ISO.
> >
> > VHD Template creation:
> >  - The VMDK file (Obtained after export OVF operation of the VM) is
> > converted to VHD format with VBoxManage.exe tool that is available
> > with VirtualBox.
> >  -  The VHD file can be used to create a CloudStack template and
> > instantiate a VM.
> >
> >
> > ISO Template creation:
> >  - The OVF file (Obtained after export OVF operation of the VM) is
> imported
> > to Citrix XenCenter.
> >  - XenCenter runs Operating system Fixup on the imported OVF file
> > and creates a modified ISO file.
> >  - The modified ISO file can be used for creating a template and
> > instantiate a VM
> >
> > However, the newly created VM has booting issues as it requires "You
> might
> > have to change the root from /dev/hd[a-d] to /dev/xvd[a-d]"
> > Is there an alternate way or support to migrate a vSphere VM to
> CloudStack?
> > Or a method to change the partitioning on the hard disk from sd[a-d]
> > to xvd[a-d]
> >
> >
> >
> > Thanks & Regards,
> >
> > Shreya
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message