Dashboard service (QEMU KVM) - Gargravarr2112/kvm-vdi GitHub Wiki

Description

Dashboard service has four types of virtual machines:

  • Simple machine - a standard VM, which is not connected with VDI service in any way.

  • Source machine - a VM, which is used as source image - the "Initial machine" will be run from the copy of it's drive image.

  • Initial machine - a VM, which will provide a bootable source for VDI VMs.

  • VDI - a virtual machine, which runs from "Initial machine's" disk image. All changes are written to it's snapshot drive, or virtual snapshot (if enabled).

  • Virtual snapshot - if marked, VM will write disk changes to a temporary location (defined in hypervisor's kvm-snap file). After machine is shut down (or rebooted, depending on its libvirt configuration), snapshot will be deleted.

  • Maintenance - if marked, VM will not be provided to thin client.

To provide a VDI enviroment you should take folowing steps: Create a "Source machine" and install a guest operating system to it. Create required number of VDI machines. Copy "Source machine's" disk image to "Initial machine's" disk image ("Copy disk from source" button). Create snapshots for all VDI VM's from "Initial machine's" disk image ("Populate machines" button);