Installing SolusVM

By default, Alnitech delivers Linux servers with a logical volume management (LVM) partition layout on top of the Linux software RAID. This layout is a good fit if you want to install SolusVM.

You can read more about configuring LVM here. For SolusVM installation, the software’s documentation recommends to set swap size to RAM size plus 2GB, the root volume to 10GB, and to create additional LVM partition for /vz mount point. Note that in this article, we will configure OpenVZ containers host.

Use the lsblk command to check your current disk layout. As an example, see our default install layout below:

sdb                      8:16   0 931.5G  0 disk
├─sdb1                   8:17   0   500M  0 part
│ └─md0                  9:0    0   500M  0 raid1 /boot
└─sdb2                   8:18   0   931G  0 part
└─md1                  9:1    0 930.9G  0 raid1
├─VG00-swap (dm-0) 253:0    0     2G  0 lvm   [SWAP]
└─VG00-root (dm-1) 253:1    0     4G  0 lvm   /
sda                      8:0    0 931.5G  0 disk
├─sda1                   8:1    0   500M  0 part
│ └─md0                  9:0    0   500M  0 raid1 /boot
└─sda2                   8:2    0   931G  0 part
└─md1                  9:1    0 930.9G  0 raid1
├─VG00-swap (dm-0) 253:0    0     2G  0 lvm   [SWAP]
└─VG00-root (dm-1) 253:1    0     4G  0 lvm   /

For the example above, you can see that there are two (2) LVM type partitions: swap and root, which are on top of the software RAID md1 device. There is /boot on top of the md0 device, also of the RAID software.

Use the vgdisplay command to check for available space in the LVM within the existing volume group. In the output, browse through the following rows:

— Volume group —
VG Name               VG00

VG Size               930.89 GiB

Alloc PE / Size       1536 / 6.00 GiB
Free  PE / Size       236773 / 924.89 GiB

In the example above, you can see that your system has more than 900GB available.

Setting Up

Run the following commands to set up the system partitioning for the installation of OpenVZ SolusVM install. Note: The swap size below is just an example. Remember to adjust according to your actual RAM size.

  1. Resize swap by adding 16GB to the existing default 2GB (this is for a 16GB RAM server).

swapoff /dev/VG00/swap
lvresize -L +16GB /dev/VG00/swap
mkswap -f /dev/VG00/swap
swapon /dev/VG00/swap

  1. Resize the root by adding 6GB to the default 4GB root.

lvresize -L +6GB /dev/VG00/root
resize2fs /dev/VG00/root

  1. Create and mount /vz mount point. We recommend making it at most 80% of available free space. This is so you can add more space to swap or root in case of RAM upgrade or if your root becomes congested.

lvcreate -n vz -l 80%FREE VG00
mkfs.ext4 -m 1 /dev/VG00/vz
echo “/dev/mapper/VG00-vz /vz ext4 defaults 1 2” >> /etc/fstab
mkdir /vz
mount /vz

Alnitech systems come with statically assigned network addresses, so no configuration is required. However, we recommend changing the hostname. This should be done either before or after the SolusVM installation but not during the process. You can find more details on how to manually edit network configuration files here. For CentOS 6, we recommend using the ‘system-config-network’ utility. You can set both static IP (can be found in the ‘device configuration’ menu) and hostname (can be in the ‘DNS configuration’ menu) using this tool. Reboot the system for the changes to take place.


This next part takes some time. If you have an unstable Internet connection, we recommend using screen utility. It is included in the CentOS Linux package repository. Doing this will ensure that if you get disconnected, the installation process will not be interrupted. Using the screen utility is beyond the scope of this article. You can go here for more guidance. Below are some basic steps of what you need to do:

  1. Run the screen utility.
  2. Run any command within the shell.
  3. If disconnection occurs, run screen -r to restore the session after you are able to reconnect.
  4. Keep watching the utility after the installation process.

Install SolusVM with quick install. Follow the Master or Slave installation documentation based on what you need.

chmod 755 install

Reboot the system after the installation is complete to mount the cgroups directories needed for OpenVZ containers operations in the /proc file system.

If all goes well, you should now be able to access your SolusVM admin page at https://IP:5656/admincp. You will also see a link to this admin page when the SolusVM installation-finished message appears on your screen.

You can do the following from the admin page:

  • Add IP addresses.
    • Add IP block
    • Add client IPs: ‘List IP Blocks’ page > ‘Manage IP’ button > Fill up the required forms.
  • Add clients using the ‘Client’ menu.
  • Add virtual servers using the ‘Virtual Servers’ menu.


  • After a server has been added, wait for few minutes for the server to be created internally before you test its connectivity by pinging its address.

Comments are closed.