VMmanager preliminary setup

From ISPWiki
Jump to: navigation, search
Hierarchy: VMmanager KVM -> VMmanager KVM setup and configuration
VMmanager Cloud -> VMmanager Cloud setup and configuration

VMmanager installer will perform the most of the operations automatically. However, there are a number of operations that should be performed by admin. This article you through the steps you need to perform to get started with Vmmanager.

Mandatory steps

  • Navigate to "Management" --> "Users" and Create a user who will be the owner of virtual machines.
  • Navigate to "Cluster settings" --> “Cluster nodes” to add a node where virtual machines will be created. Make sure that the server you are connecting as a node meet the requirements described in this article. For more information, please refer to the article Adding cluster nodes;
  • Add a pool of IP addresses that will be allocated for newly created virtual machines. Navigate to “Settings” -> “IP addresses”. You can add a public IP (with access to the Internet), private IP (without access to the Internet), or the one that works through the NAT. For more information refer to Networks. If you plan to use a remote pool of IP addresses, you can integrate VMmanager with IPmanager “Integration with IPmanager”;
  • Navigate to "Cluster settings" --> "OS templates" to set up templates of the operating systems that will be deployed on virtual machines. By default in the list of templates you can see the templates that you can download from ISPsystem repository. To install an operating system on a virtual machine download the required template: select the one you need and click "Install". You can also add more repositories and install templates from those repositories, or add your template.

Optional steps

  • Check Storage templates: "Cluster settings"--> "Storage templates". By default, the installer creates a "File system" storage named "File". The storage created based on such a storage will be located locally on the cluster node. You can delete the existing template and create a new one that will fit your needs. Learn more in How to connect storages.
  • Check your network settings: "Cluster settings" --> "Networks". A "Bridged networking" is created by default. You can create and additional bridge if needed. Learn more in "Networks".
  • Navigate to "Cluster settings" --> "VM templates" to check configuration of VM templates. The system creates a default template with pre-defined resources.
VM resouces:
  1. RAM;
  2. CPU/kernels;
  3. CPU usage priority;
  4. Disk operations;
  5. Disk size;
  6. Storage;
  7. Network.
Edit the default template or create additional VM templates, if needed.
After you create a template, you can change the "Storage" and "Network": open the “Template resources” tab, select a template and click "Resources". Select the template and click "Edit". For more information refer to the article VM templates.

Recommendations

  • To speed up the OS installation, we strongly recommend to set up the caching proxy server. Refer to the article squid.
  • If you want to use IPv6, check the corresponding settings.