You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by soundar rajan <bs...@gmail.com> on 2018/01/24 08:37:42 UTC

Migrating hyper-v vm's to cloudstack kvm environment

Hi ALL,

Is it possible to add hyper-v vm's to cloudstack kvm environment

Hyper v is not connected to cloudstack its a stand alone host server

Like copying the vhd/vhdx file from hyperv and importing it in the
cloudstack?

Regards
Soundarajan

Re: Migrating hyper-v vm's to cloudstack kvm environment

Posted by soundar rajan <bs...@gmail.com>.
Thanks for the detail information. Ill check and keep you posted..

On Wed, Jan 24, 2018 at 2:50 PM, Dag Sonstebo <Da...@shapeblue.com>
wrote:

> Hi Soundarajan,
>
> Yes it is possible – but not necessarily straight forward.
>
> You can convert your hyper-v image file to KVM using qemu-img, doing
> something like the following (note input format “vpc”):
>
> (You would first stop the source VM such that you have all writes
> committed to disk)
>
> qemu-img convert -f vpc -O qcow2 hypervimage.vhd kvmimage.qcow2
>
> Keep in mind though that this is just the first step – if you managed to
> get the resulting KVM image up and running you will need to update drivers
> etc. in the resulting VM – which can be a challenge.
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 24/01/2018, 08:37, "soundar rajan" <bs...@gmail.com> wrote:
>
>     Hi ALL,
>
>     Is it possible to add hyper-v vm's to cloudstack kvm environment
>
>     Hyper v is not connected to cloudstack its a stand alone host server
>
>     Like copying the vhd/vhdx file from hyperv and importing it in the
>     cloudstack?
>
>     Regards
>     Soundarajan
>
>
>
> Dag.Sonstebo@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>

Re: Migrating hyper-v vm's to cloudstack kvm environment

Posted by Dag Sonstebo <Da...@shapeblue.com>.
Hi Soundarajan,

Yes it is possible – but not necessarily straight forward.

You can convert your hyper-v image file to KVM using qemu-img, doing something like the following (note input format “vpc”):

(You would first stop the source VM such that you have all writes committed to disk)

qemu-img convert -f vpc -O qcow2 hypervimage.vhd kvmimage.qcow2

Keep in mind though that this is just the first step – if you managed to get the resulting KVM image up and running you will need to update drivers etc. in the resulting VM – which can be a challenge.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 24/01/2018, 08:37, "soundar rajan" <bs...@gmail.com> wrote:

    Hi ALL,
    
    Is it possible to add hyper-v vm's to cloudstack kvm environment
    
    Hyper v is not connected to cloudstack its a stand alone host server
    
    Like copying the vhd/vhdx file from hyperv and importing it in the
    cloudstack?
    
    Regards
    Soundarajan
    


Dag.Sonstebo@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue