The article contains instructions for installing the VMmanager 6 Hosting platform on servers running AlmaLinux 10.1. This configuration allows you to create up to 1,000 virtual machines (VMs).
Installation requirements
You need the following to install:
- an active license for VMmanager 6 Hosting;
-
server for platform installation:
Only servers with the specifications listed in the table are supported. -
server for the cluster node:
- Only servers with the specifications listed in the table are supported.
- The cluster node and the platform cannot be used on the same server.
- workstation for remote server access — a PC or mobile device with an SSH client and a current version of Google Chrome, Mozilla Firefox, or Safari.
Preparing the hardware
Server for platform installation
- Install AlmaLinux 10.1. Installation requirements:
- use an unmodified operating system: without third-party repositories or additional services installed;
- set the maximum disk size for the root partition;
- do not create a separate swap partition.
-
Set up a swap file:
-
Create a file that is 2 times larger than the RAM size:
Example of creating an 8 GB filedd if=/dev/zero of=/swapfile bs=1M count=8192 status=progress - Set file permissions:
chmod 600 /swapfile - Create the swap file:
mkswap /swapfile - Activate the swap file:
swapon /swapfile - Add the swap file to startup:
echo '/swapfile none swap sw 0 0' >> /etc/fstab
-
-
Make sure there is an entry for the server in the /etc/hosts file in the following format:
<IP address of the platform server> <hostname of the platform server> -
Make sure the /etc/resolv.conf file contains entries like this:
nameserver <IP-адрес of the DNS server>If the IP address of the local systemd-resolved service, 127.0.0.53, is specified as the DNS server, then check that the DNS server addresses are specified in the /etc/systemd/resolved.conf file:
DNS=<servers_list> -
Check the network equipment settings:
- If the equipment restricts incoming connections on ports 22/TCP (SSH), 80/TCP (HTTP), 443/TCP (HTTPS), 123/UDP (NTP), disable these restrictions.
- If the equipment restricts access to the resources required for the platform to work, disable these restrictions. List of required resources:
- docker.io — Docker;
- docker-registry.ispsystem.com — ISPsystem Docker registry;
- download.ispsystem.com — ISPsystem repository;
- license6.ispsystem.com — ISPsystem license server;
- metricreport.ispsystem.net — ISPsystem metrics server.
- Check the status of network services:
- nftables — should be enabled. Check service status
systemctl status nftablesStart the service and add it to startupsystemctl start nftables && systemctl enable nftables - NetworkManager — should be enabled. Check service status
systemctl status NetworkManagerStart the service and add it to startupsystemctl start NetworkManager && systemctl enable NetworkManager -
firewalld — should be disabled.
Check service statussystemctl status firewalldDisable the service and remove it from startupsystemctl stop firewalld && systemctl disable firewalld
- nftables — should be enabled.
- Install the curl utility:
dnf install curl -y - Reboot the server:
reboot
Server for the cluster node
- Install AlmaLinux 10.1. Installation requirements:
- use an unmodified operating system: without third-party repositories or additional services installed;
- set the maximum disk size for the root partition.
-
Check virtualization support at the CPU level:
grep -P 'vmx|svm' /proc/cpuinfoIf the command returns nothing, enable virtualization in the BIOS/UEFI settings.
-
If the server does not have dmidecode and python3 installed, install them:
dnf install dmidecode python3 -y -
Disable the SELinux service:
-
Check the service status:
sestatus -
If the response contains enforcing or permissive:
-
In the /etc/selinux/config file, set the SELINUX parameter to disabled:
sed -i s/^SELINUX=.*$/SELINUX=disabled/ /etc/selinux/config - Reboot the server:
reboot
-
-
-
Make sure there is an entry for the server in the /etc/hosts file in the following format:
<IP address of the server> <hostname of the server> -
Make sure the /etc/resolv.conf file contains entries like this:
nameserver <IP address of the DNS server>If the IP address of the local systemd-resolved service, 127.0.0.53, is specified as the DNS server, then check that the DNS server addresses are specified in the /etc/systemd/resolved.conf file:
DNS=<list_of_servers> - Disable DNS settings management through the NetworkManager service:
- Add the following line to the main section of the /etc/NetworkManager/NetworkManager.conf file:
dns=none - Restart the service:
systemctl restart NetworkManager
- Add the following line to the main section of the /etc/NetworkManager/NetworkManager.conf file:
-
Check the network equipment settings. Allow incoming connections on ports:
- 22/TCP — SSH service;
- 179/TCP, 4789/UDP — virtual networks (VXLAN);
- 5900-6900/TCP — QEMU VNC, SPICE;
- 16514/TCP — libvirt virtual machine management service;
- 49152-49215/TCP — libvirt migration services;
- 123/UDP — NTP.
Workstation
Set up SSH access to the servers:
- Open a terminal window or command prompt.
-
Create an SSH key:
ssh-keygen - Specify the name and path to the SSH key file. By default, on Windows the SSH key will be saved in C:\Users\<username>\.ssh\, and on Unix-based systems — in /home/<username>/.ssh/. By default, the private key is saved as id_rsa, and the public key as id_rsa.pub.
-
Add the contents of the public key to the /root/.ssh/authorized_keys file on each server. On Unix systems, you can use the following command for this:
ssh-copy-id -i <path_to_key> root@hostCommand notes
Installing the platform
- Connect to the server over SSH as the root superuser.
-
Download the installer:
curl -O https://download.ispsystem.com/6/installer/vm/vm -
Make the installer file executable:
chmod +x vm -
Start the installation:
./vm install -
Wait for the installation to finish. If the installation is successful, the terminal will display a link to VMmanager:
Example terminal after successful installationLink to administrator registration page: https://1.2.3.4/auth/setup?token=C50A0BFA55DEDE3343AABE713022A15FWhen you open the link, the browser will show a warning about a possible security threat. This happens if the server uses a self-signed SSL certificate. You can connect a valid SSL certificate to the platform later. - Go to the VMmanager interface using the link you received and create the first user:
- Enter the User email.
- Create and enter the Password. Save the password value.
- Click the Done button.
- Activate the license:
- Click the Settings button in the License not activated window.
- Select Activate online.
- Enter the License token:
- if you bought VMmanager from ISPsystem, you can find this information in your client area at eu.ispsystem.com in the "Licenses" section. Enter the value from the Token field;
- if you bought VMmanager from a reseller, enter the license activation code from the license certificate.
- Click the Activate button.
The platform is installed. Later, to open the platform web interface, enter the platform server IP address in your browser.
Basic platform setup
- This section describes only the required parameters that need to be specified during setup. For the remaining parameters, you can keep the default values.
- Before following the instructions in this section, open the platform web interface and log in with the first user's credentials.
Creating an IP address pool
VMmanager includes an address space management module (IPAM) — physical networks, pools, and individual IP addresses. When creating a VM, the platform assigns it an IP address from the specified pool. Therefore, before creating a VM, you need to specify the physical network details and set up an IP address pool for the VMs.
To configure the network and pool:
- Go to Networks → Physical networks tab.
- Click the Add a physical network button.
- Select the network Status — Active.
- Specify the Network in the format <network address>/<network mask prefix>. For example, "192.168.0.0/16".
- If needed, change the IP address of the Gateway.
- Enter any Note.
- Enable the Add the IP addresses to the pool option.
- Enter the Pool name — Pool 1.
- Specify the IP addresses for new VMs. You can specify:
- individual addresses ("192.168.1.1");
- addresses by mask prefix ("192.168.1.0/24");
- a range of addresses ("192.168.1.1-192.168.10.254"). The specified IP addresses must be reachable over the network from the workstation.
- Click the Add button.
Creating a cluster
- Go to Clusters → button Create a cluster.
-
In the General settings block:
- Select the Virtualization technology — KVM.
- Enter the Cluster name — Cluster 1.
- Select the default Time zone for cluster nodes and virtual machines (VMs).
- If needed, specify DNS servers for VM. The VMs in the cluster will use these servers to resolve domain names. For example, you can specify Yandex DNS servers 77.88.8.8, 77.88.8.1.
- Click the Next button.
- In the Access and resources block:
- Select the Operating system that will be available for installation on VMs in the cluster.
- Select the Domains template for VMs in this cluster. For example, if you specify the template
.example.com, when you create a VM in this cluster it will have a domain name likevm_name.example.com. - Click the Next button.
- In the Storage setup rules on nodes block:
- Click the Next button.
- In the Network setup rules on nodes block:
- Select the network setup type — Switching.
- Select the Pool — Pool 1.
- Click the Create button.
Adding a node to the cluster
- Go to Nodes → button Connect node.
- Specify the node settings:
- Enter the cluster node Name — Node1.
- Specify the Node IP address.
- Specify the Port for SSH connection. If you did not change the SSH settings on the node, leave the default value — 22.
- Click I want to use public SSH-key and save the key contents.
- Connect to the cluster node server over SSH and add the contents of the public key to the /root/.ssh/authorized_keys file.
- Click the Connect node button.
Creating the first virtual machine
- Open the platform web interface and log in with the first user's credentials.
- Go to Virtual machines → button Create a VM → tab Recommended configurations.
- Select the Cluster — Cluster 1.
- Select the Linux family Operating system for installation on the VM. For example, AlmaLinux 10.
- In the KVM configurations list, select the required configuration.
- In the Parameters section, think of and enter the VM password. Save the password value.
- Click the Create a VM button.
After these steps, the VM will appear in the general list with the status "Installing", then its status will change to "Active". The VM address will be shown in the IP address column.
To check the VM, connect to it over SSH. Use the root username and the saved access password for authentication.
En
Es