Prepare OVH Server for KVM/CyberPanel VMM
OVH servers normally have their own set up for most of the things. CyberPanel VMM can be used for two purposes:
- For hosting websites, as you would normally do without CyberPanel VMM.
- For running KVM virtual machines.
For this reason I’ve given most of the available space to mount point /. How ever if you don’t plan to host websites and run virtual machines only you can also do:
- / : 40-80GB
- swap : 4-8GB
- /var/lib/libvirt : rest of the space
For further details you can watch the video
You will notice that at the end of the video I’ve assigned virtual mac to the IP Address, you need to use this virtual mac and assign to the IP inside CyberPanel, otherwise your virtual machines will not have internet connectivity.
If you run into following error while creating virtual machines on OVH
ERROR internal error: process exited while connecting to monitor: qemu-kvm: -chardev pty,id=charserial0:
You need to edit /etc/fstab, comment out line starting with devpts and paste following at the end of file:
devpts /dev/pts devpts gid=5,mode=620 0 0
And restart your server, you should be able to create virtual machines.