2. Purpose
To familiarize programmers with developing for
CloudStack using a virtualized KVM host
Purpose
To familiarize programmers with developing for
CloudStack using a virtualized KVM host
3. Prerequisites
1) Computer
● Hypervisor capable of running nested virtualization
−VMware Fusion 6 Pro + MacOS
−Linux w/KVM, nested=1 kvm module parameter
● 4GB of free RAM (8GB+ total system ram)
2) Internet Connection
● For download of source, VM templates, wiki
instructions
9. 3. Download DevCloud-KVM VM for VMware Fusion:
http://marcus.mlsorensen.com/cloudstack-extras/devcloud-kvm-fusion.tar.gz
4. Extract package via double-click in Finder
5. Navigate folder, right click VM → Open With → VMware Fusion
Select “I moved it”, which will preserve MAC addresses
*Nested means that the DevCloud VM will have the vmx flag and will be capable of loading the kvm kernel modules inside the guest.
*kvm_intel module has it disabled by default, kvm_amd has it enabled by default
* Extract package to where you want the vm to live
* preconfigured xml network definitions, same as for VMware with first network as mgt and second as pub
*change path for qcow2 image to the actual path, save
* tell virsh about the vm
* start the vm
* I usually build/install via packages to ensure dependencies all get put in place, otherwise copying jars is fine
* can create your own zone definitions for quick deployment or testing
* uses marvin, which is a testing framework written in python. Handles CS API and is used to write smoke tests
Main difference between VMware and KVM devcloud images is that the gateway is set to .2 for vmware