osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Importing converted VMs to CloudStack


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@xxxxxxxxx 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
>