OpenVZ + HyperVM install
Posted by Florian N in Unix general, tags: hypervm, install, openvzHad a lot of clients lately that were trying to install OpenVZ with HyperVM on the servers and were failing and this because of a few reasons: wrong partition scheme, installing only HyperVM with no Openvz or doing the install wrong, etc.
So i decided to put in here a few things about this type of install and what you need and how to do it.
Firstly you need to make sure that the partition scheme on the server is right for OpenVZ, a right partition scheme for a Virtuozzo based install will look like this:
/boot – 2G-10G – boot partition
swap – 2xRam Memory – swap partition
/ – all the space left – main root partition
Or:
/boot – 2G-10G – boot partition
swap – 2xRam Memory – swap partition
/ – 2G-10G(or more) – main root partition
/vz – all space left – virtuozzo partition, all vps’s files will be here
Now for the OpenVZ install i have modified the OVZinstall so that it will not download any templates as this will b downloaded by the HyperVM installation and will speed up the install a bit.
To install OpenVZ and HyperVM on a server do the following:
1. Install OpenVZ
setenforce 0
cd /root
wget http://repo.hostechs.com/index.php?dir=ovz%2F&download=ovzhypervm.tar.gz
tar -zxvf ovzhypervm.tar.gz
cd ovzhypervm
sh ovzinstall.sh
shutdown -r now
2. Install HyperVM
wget http://download.lxlabs.com/download/hypervm/production/hypervm-install-master.sh
sh ./hypervm-install-master.sh –virtualization-type=openvz
After HyperVM is installed you are all done, try and access your HyperVM CP: http://machine-name:8888 .
This should work just fine on any Debian/Fedora/Centos x86 install, not intended for 64bit yet as i did not finish the OVZinstall script for 64bit machines.
If anyone tries this and encounters any problems or have any questions please let me know.

Entries (RSS)
Did you allocated an IP to the new VPS?
Login from the VPS node to the new created VPS and see if you can ping out from it, i suspect there may be a networking issue.
When i create the vps using openvz with the standard centos template and not the outofthebox i can’t connect using ssh and i can’t view the centos welcome page using my ip.
?
You can try out WebVZ as it works on Debian: http://webvz.sourceforge.net/index.html
HyperVM have not support for Debian at the moment… i`m looking for a CP for Debian+OpenVZ and found none at the time.