You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Fariborz Navidan <md...@gmail.com> on 2018/12/30 19:50:21 UTC

Importing converted VMs to CloudStack

Hello folks,

Happy New Year!

I have converted some VMs from VMware to KVM using virt-convert. How can I
import them into CloudStack so can be managed in cloud environment?

Kind Regards

Re: Importing converted VMs to CloudStack

Posted by Darius Kasparavičius <da...@gmail.com>.
Hi,

My 2 cents here. I would switch to generic drivers on vmware before
doing this on windows. Then it will be easier to boot os with "windows
x" os type selected. If it still doesn't boot. You will have to clear
up windows boot drivers and install generic IDE driver.

On Sun, Dec 30, 2018 at 11:15 PM Andrija Panic <an...@gmail.com> wrote:
>
> Hi there,
>
> For KVM you should have QCOW2 files, or optionally RAW format (not
> recommend due to obvious reasons) for both first (root disk) and any data
> disk (second disk, third and so on...).
>
> For first disk of VM (ROOT disk) you will want to Add/upload Template from
> remote URL (web server, only plain HTTP supported - i.e. no HTTPS), or via
> your browser (from your laptop) in the ACS GUI - and deploy VM from
> template - it takes time to copy over qcow2 image from Secondary to Primary
> Storage - so be patient.
>
> For DATA disks (second volume of VM, third, and so on...) you will want to
> upload Volume, again from remote url or via browser. You will attach volume
> to VM and when VM boots, CloudStack will move the volume from Secondary
> Storage NFS to Primary Storage - so it will take some time - this first
> time, so be patient.
>
> Make sure to experiment with different "OS Type" in CloudStack in order to
> see when hardware will be emulated ( IDE drives, Intel e1000 nic) and when
> it will use VirtIO (scsi hdd controller and VirtIO nic - a.k.a.
> paravirtualizer drivers, for better performance) - this is especially
> important for Windows VMs since they lack VirtIO out of the box.
>
>
> Cheers
> Andrija
>
> On Sun, Dec 30, 2018, 20:58 Fariborz Navidan <mdvlinquest@gmail.com wrote:
>
> > Hello folks,
> >
> > Happy New Year!
> >
> > I have converted some VMs from VMware to KVM using virt-convert. How can I
> > import them into CloudStack so can be managed in cloud environment?
> >
> > Kind Regards
> >

Re: Importing converted VMs to CloudStack

Posted by Andrija Panic <an...@gmail.com>.
Hi there,

For KVM you should have QCOW2 files, or optionally RAW format (not
recommend due to obvious reasons) for both first (root disk) and any data
disk (second disk, third and so on...).

For first disk of VM (ROOT disk) you will want to Add/upload Template from
remote URL (web server, only plain HTTP supported - i.e. no HTTPS), or via
your browser (from your laptop) in the ACS GUI - and deploy VM from
template - it takes time to copy over qcow2 image from Secondary to Primary
Storage - so be patient.

For DATA disks (second volume of VM, third, and so on...) you will want to
upload Volume, again from remote url or via browser. You will attach volume
to VM and when VM boots, CloudStack will move the volume from Secondary
Storage NFS to Primary Storage - so it will take some time - this first
time, so be patient.

Make sure to experiment with different "OS Type" in CloudStack in order to
see when hardware will be emulated ( IDE drives, Intel e1000 nic) and when
it will use VirtIO (scsi hdd controller and VirtIO nic - a.k.a.
paravirtualizer drivers, for better performance) - this is especially
important for Windows VMs since they lack VirtIO out of the box.


Cheers
Andrija

On Sun, Dec 30, 2018, 20:58 Fariborz Navidan <mdvlinquest@gmail.com wrote:

> Hello folks,
>
> Happy New Year!
>
> I have converted some VMs from VMware to KVM using virt-convert. How can I
> import them into CloudStack so can be managed in cloud environment?
>
> Kind Regards
>