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:

  1. For hosting websites, as you would normally do without CyberPanel VMM.
  2. 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

Find Out What's New: Click to Our Latest Blog

Stay up-to-date and explore our most recent blog  post to discover fresh insights, trends, and updates in your area of interest.

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.


Troubleshooting

If you run into following error while creating virtual machines on OVH

Enhance Your CyerPanel Experience Today!

Discover a world of enhanced features and show your support for our ongoing development with CyberPanel add-ons. Elevate your experience today!
Learn More

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.

chevron-down
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram