This guide will help you to enable Multi Virtualization technologies on a single server. It will enable you to create VMs of different Virtualization type. At the moment only two combination of multivirt are supported KVM + LXC and KVM + OpenVZ.
- CentOS 6 Node to run KVM + OpenVZ
- CentOS 7 Node to run KVM + LXC
- Your node must have Virtualization enabled in the BIOS for KVM to work.
Virtualizor has a wizard in the Admin Panel which will help you to enable Multivirt feature and also install the necessary libraries.
Navigate to Virtualizor Admin Panel -> Configuration -> Multi Virtualization
Select the active server from the top menu, choose the Virtualization to install and then click on Enable button.
The process will run in the background and to ensure it has finished, you can check the log file on the server on which you have enabled Multi Virtualization :
It should look something like the following :
Note : You will need to reboot the node into the OpenVZ Kernel if you are installing OpenVZ on a KVM server, if you are installing LXC then no reboot is required.
Now, that Multi Virtualization has been enabled on the desired server, you will need to create a storage for that Virtualization type.
If you had OpenVZ on that server, you will need to define a storage for new KVM VPS.
Similarly, if you had KVM on that server, you will need to define a storage for new OpenVZ VPS.
If you had a KVM server with only file based storage you will need to add LVM storage to create LXC containers, as LXC does not support file based storage.
The following is a screen shot for creating the OpenVZ Storage :
You can now create VPS after you have defined the necessary storage :