QemuKVM How To

From Grid-Appliance Wiki

Jump to: navigation, search

The purpose of this tutorial is to describe how to run the Grid appliance using the following open-source VM technologies: VirtualBox and KVM.

The Grid appliance image works with a variety of VM technologies. Our default deployment is based on VMware. VirtualBox and KVM deployments have very similar functionality - the main difference in function is that KVM does not have host-only networks configured by default (as VMware does) hence the appliance's host-only network used for the Samba local host mount requires additional configuration. Qemu works on all platforms, while KVM provides better performance its use is limited to Linux on recent Intel/AMD platforms that support virtualizatione xtensions.

To run the appliance on KVM:

  1. Download and extract the appropriate zip archive from the "Downloads" page.
  2. Use the following as the basis for your kvm command-line:
kvm -m 256 -smp 1 -hda ga.vmdk -fda floppy.img -net user,vlan=0 -net nic,vlan=0,model=pcnet -boot c
Please review kvm --help for more information.  Note: on some machines kvm is named qemu-kvm.
  1. [Optional] Convert ga.vmdk to ga.qcow2: qemu-img convert -f vmdk -O qcow2 ga.vmdk ga.qcow2
Personal tools