VM management

From ISPWiki
Jump to: navigation, search
Hierarchy: VMmanager KVM -> VIRTUAL MACHINES

Virtual machines are created on cluster nodes based on pre-defined templates of virtual machines (VM templates). For more information about VM templates refer to the article "VM template".

To create and manage a virtual machine, navigate to the "Management" section --> "Virtual machines".

Creating a virtual machine

Adding a virtual machines

When creating a virtual machine, you can specify different properties in the "Main", "Fine tuning", "Limits", "SSH", "Notes" section.


  • Name of the virtual machine;
  • Owner of the virtual machine;
  • Cluster node - select a cluster node where the virtual machine will be created. By default a cluster node is selected automatically (for more details refer to the article “Настройка распределения виртуальных машин по узлам кластера”). You can select a certain node where a virtual machine will be created;
  • Installation type - select how to install an operating system on the virtual machine:
    • Install from OS template - select an OS template; the operating system will be installed depending on the selected template. You can add an OS template in the "Cluster settings" section --> "OS templates". Learn more "OS templates";
    • Install from ISO - select an ISO-image; the operating system will be installed depending on the selected image; you can add ISO-images in the "Management" section --> "ISO-images".
  • Recipe - selected a recipe (script) that will be executed on the virtual machine after OS deployment; the script allows to install software applications for specific tasks;
  • Operating system - enter any name for the operating system installed on this virtual machine (it is used only for information and doesn't affect the virtual machine);
  • IP-address type:
    • Public - can be accessed from the Internet;
    • Private - cannot be accessed from the Internet;
    • NAT - access behind NAT.
  • IP-address - allocation type: manually or automatically allocate one or several IP addresses;
  • Domain - enter the domain name for the virtual machine;
  • Main disk size, RAM, CPU - set resources for the virtual machines. By default resources from the VM template will be specified;
  • Password and Confirm password - enter superuser password. It can be also used to gain access via VNC (the first 8 characters of the password).

Fine tuning

"Fine tuning"
  • CPU emulation mode - the default values are set according to the selected VM template:
    • Default - virtual QEMU CPU is emulated;
    • Host-model - uses CPU description defined by libvirt, based on a cluster node processor;
    • Host-passthrough - fully emulates CPU of the cluster node;
    • Custom:
  • CPU model - the models are listed in the /usr/share/libvirt/cpu_map.xml file on the cluster node. You can add models corresponding to their vendor, architecture and CPU features;
  • CPU features - CPU features that should be activated. Execute the 'virsh capabilities' command on the cluster node to list all the CPU features.
  • MAC-address of the virtual machine;
  • Disable anti-spoofing - the system creates anti-spoofing rules by default. Select the check box to disable anti-spoofing rules for the selected virtual machine. You can disable anti-spoofing in the "Policy settings" section.;
  • Time - select the time synchronization types between the virtual machine and server.



The default values are set according to the selected VM template:

  • CPU weight - enter the cgroups weight for CPU;
  • I/O usage weight - cgroup weight on group operations;
  • Incoming traffic, Outgoing traffic - traffic limits;
  • Snapshots - the maximum number of snapshots that a user can create for this virtual machine.

SSH keys

  • Public SSH keys - enter public SSH keys that will be added to the operating system you are going to install.


  • Notes - here you can enter any information related to this virtual machine.

VM management

After you add the properties, the OS deployment procedure will start (depending on the OS template or ISO-image you have selected before). Once completed, the virtual machine is ready to use.

The following operations are supportd:

  • Edit, delete the selected virtual machine;
  • Start, stop, restart - change the current status of the virtual machine;
  • Re-install - re-install the operating system of the virtual machine;
  • Migration - migrate the virtual machine to another cluster node. Learn more "Migration of virtual machines";
  • Password - change the password (this function is available only for Linux virtual machines);
  • Disks - connect or disconnect virtual disks and ISO-images to the virtual machine;
  • Interfaces - manage network interface of the virtual machine;
  • IP-addresses - manage IP-addresses of the selected virtual machine;
  • Filter - manage a list of TCP-port filters;
  • Snapshots - create and manage VM snapshots. Learn more "Backup configuration";
  • VNC - Virtual Network Computing. In VMmanager it is used for passing commands to virtual machines. You can connect to a virtual machine via VNC from the control panel and access the console of the virtual machine. Learn more “VNC”.