You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Mario Giammarco <mg...@gmail.com> on 2015/10/18 11:43:46 UTC

Migration among hypervisors

Hello,
If I start from one hypervisor (let's say esx) can I migrate or move or use 
again the virtual machines in another cloudstack installation that uses 
another hypervisor (e.g.: xen)?

Thanks in advance for any reply.

Mario


Re: Migration among hypervisors

Posted by Andrei Mikhailovsky <an...@arhont.com>.
I have successfully moved a bunch of vms from xenserver to kvm without any issues. The only thing that i had to change was the fstab entries where I have not used UUIDs. From what i recall i had /dev/xvdX device naming in the xenserver and /dev/vdaX in kvm. 

Andrei 
----- Original Message -----

From: "Dag Sonstebo" <Da...@shapeblue.com> 
To: users@cloudstack.apache.org 
Sent: Monday, 19 October, 2015 9:21:07 AM 
Subject: Re: Migration among hypervisors 

Hi Mario, 

you might also want to look at some of the other vendor converters - 
depending on which HV you are converting to: 

https://www.citrix.com/go/products/xenserver/xenserver-xenconvert-free.html 
http://www.vmware.com/uk/products/converter 
https://www.microsoft.com/en-gb/download/details.aspx?id=42497 

Nux¹ comments still stand though - whatever migration method you use you 
will have to sort HV specific drivers and tools as part of the conversion 
- which sometimes involve some surgery. 

Regards, 
Dag Sonstebo 
ShapeBlue 





On 18/10/2015 11:01, "Nux!" <nu...@li.nux.ro> wrote: 

>Hello Mario, 
> 
>It depends, you could export this VM as a template, convert it with 
>qemu-img or virtualbox and then import it in your Xenserver installation. 
>Whether the VM will boot on the new (virtual) hardware, you will need to 
>make sure the initrd (assuming Linux) contains the block device driver 
>(xenblk?) for the new hypervisor. 
> 
>So, it is possible, but not simple. 
> 
>-- 
>Sent from the Delta quadrant using Borg technology! 
> 
>Nux! 
>www.nux.ro 
> 
>----- Original Message ----- 
>> From: "Mario Giammarco" <mg...@gmail.com> 
>> To: users@cloudstack.apache.org 
>> Sent: Sunday, 18 October, 2015 10:43:46 
>> Subject: Migration among hypervisors 
> 
>> Hello, 
>> If I start from one hypervisor (let's say esx) can I migrate or move or 
>>use 
>> again the virtual machines in another cloudstack installation that uses 
>> another hypervisor (e.g.: xen)? 
>> 
>> Thanks in advance for any reply. 
>> 
>> Mario 

Find out more about ShapeBlue and our range of CloudStack related services 

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> 
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> 
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> 
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/> 
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> 
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/> 

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark. 


Re: Migration among hypervisors

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

you might also want to look at some of the other vendor converters -
depending on which HV you are converting to:

https://www.citrix.com/go/products/xenserver/xenserver-xenconvert-free.html
http://www.vmware.com/uk/products/converter
https://www.microsoft.com/en-gb/download/details.aspx?id=42497

Nux¹ comments still stand though - whatever migration method you use you
will have to sort HV specific drivers and tools as part of the conversion
- which sometimes involve some surgery.

Regards,
Dag Sonstebo
ShapeBlue





On 18/10/2015 11:01, "Nux!" <nu...@li.nux.ro> wrote:

>Hello Mario,
>
>It depends, you could export this VM as a template, convert it with
>qemu-img or virtualbox and then import it in your Xenserver installation.
>Whether the VM will boot on the new (virtual) hardware, you will need to
>make sure the initrd (assuming Linux) contains the block device driver
>(xenblk?) for the new hypervisor.
>
>So, it is possible, but not simple.
>
>--
>Sent from the Delta quadrant using Borg technology!
>
>Nux!
>www.nux.ro
>
>----- Original Message -----
>> From: "Mario Giammarco" <mg...@gmail.com>
>> To: users@cloudstack.apache.org
>> Sent: Sunday, 18 October, 2015 10:43:46
>> Subject: Migration among hypervisors
>
>> Hello,
>> If I start from one hypervisor (let's say esx) can I migrate or move or
>>use
>> again the virtual machines in another cloudstack installation that uses
>> another hypervisor (e.g.: xen)?
>>
>> Thanks in advance for any reply.
>>
>> Mario

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: Migration among hypervisors

Posted by Nux! <nu...@li.nux.ro>.
Hello Mario,

It depends, you could export this VM as a template, convert it with qemu-img or virtualbox and then import it in your Xenserver installation.
Whether the VM will boot on the new (virtual) hardware, you will need to make sure the initrd (assuming Linux) contains the block device driver (xenblk?) for the new hypervisor.

So, it is possible, but not simple.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Mario Giammarco" <mg...@gmail.com>
> To: users@cloudstack.apache.org
> Sent: Sunday, 18 October, 2015 10:43:46
> Subject: Migration among hypervisors

> Hello,
> If I start from one hypervisor (let's say esx) can I migrate or move or use
> again the virtual machines in another cloudstack installation that uses
> another hypervisor (e.g.: xen)?
> 
> Thanks in advance for any reply.
> 
> Mario