There are many different virtualization products out there any while a lot of them are very good each one has its own place. Many years ago I started working with VirtualBox because it will run on anything. It provides very good performance when your system doesn't support hardware virtualization. It even worked well in the server market when you combined it with VboxTool and PHPVirtualbox. However it wasn't a enterprise solution and while it worked many of my customers were always looking at the shiny VMware products. This is where Proxmox comes into play. I have been watching the development of Proxmox since the 1.0 version. Now at 2.0 it is truly ready for testing.
The vm's consist of XP pro and Vista64 and here are the steps that I took to get them into KVM
The Open Virtualization Format (OVF) is an open standard for packaging and distributing virtual appliances for the use in virtual machines. An OVA file is a one file alternative to pack a multi file OVF directory. This is a short example how to convert OVA for the use in a proxmox 2.0 KVM environment. The OVA file was exported from the Virtualbox software, where we had build a debian based virtual machine.
OVA files are TAR archives with the OVF directory inside.
To extract the archive do
tar -xvf Virtual_Appliance_Debian.ova => Virtual_Appliance_Debian.ovf Virtual_Appliance_Debian-disk.vmdk
You get Virtual_Appliance_Debian-disk.vmdk which is a virtual machine disk file. The VMDK file format was developed for the use in VMWare or Virtualbox. It is an open format.
Converting VMDK to RAW and from RAW to qcow2
VBoxManage clonehd --format RAW Virtual_Appliance_Debian-disk.vmdk Virtual_Appliance_Debian-disk.raw => Virtual_Appliance_Debian-disk.raw
Convert the RAW image file to qemu format:
qemu-img convert -f raw Virtual_Appliance_Debian-disk.raw -O qcow2 Virtual_Appliance_Debian-disk.qcow2 => Virtual_Appliance_Debian-disk.qcow2
Use qcow2 files in Proxmox 2.0
The use of an existing qcow2 file in proxmox 2.0 is very easy. Just create a new virtual machine and replace the disk file with the qcow2 file.
create a new KVM virtual machine via the proxmox webinterface.
Proxmox has created a new disk file for the virtual machine. Do not start the new VM. Replace the proxmox generated qcow2 file with our Virtual_Appliance_Debian-disk.qcow2
mv Virtual_Appliance_Debian-disk.qcow2 /var/lib/vz/images/105/vm-105-disk-1.qcow2
I love you!
Emerald lace Midgett