Archive for May, 2009

Installing HyperVM for OpenVZ on an OpenVZ capable Xen domU

Wednesday, May 13th, 2009

Following on from the previous tutorial, Installing and Running OpenVZ VEs inside a Xen domU, lets demonstrate how to install HyperVM on this Xen domU.

The process is extremely simple so lets get to it!

First of all, Install iptables if not installed already. This is *apparently* used for bandwidth accounting on VPS created within HyperVM.

yum install iptables

Download the HyperVM master:

wget http://download.lxlabs.com/download/hypervm/production/hypervm-install-master.sh

Once downloaded, start installing HyperVM for OpenVZ. It is useful to add the skip-ostemplate option as it skips most (but not all) of HyperVMs outdated templates. You can download newer ones here.

sh ./hypervm-install-master.sh --virtualization-type=openvz --skip-ostemplate=true

Finally, run the following to force HyperVM again into setting the server to OpenVZ as it mistakingly sets it to Xen as the kernel is both Xen and OpenVZ capable:

cd /usr/local/lxlabs/hypervm/httpdocs/
lphp.exe ../bin/common/setdriver.php --server=localhost --class=vps --driver=openvz

All done! Enjoy creating OpenVZ VPS via HyperVM on your Xen DomU!

HyperVM Xen images updated

Tuesday, May 5th, 2009

Our HyperVM Xen images have been updated to include newer kernel modules in /lib/modules

The following are now available in the image:

2.6.18-128.1.6.el5xen

2.6.18-92.1.18.el5.028stab060.8xen

2.6.18-92.1.18.el5.028stab060.2xen

2.6.18-92.1.22.el5xen

2.6.18-92.1.18.el5xen

This should give the images greater compatiblity with a wider range of Xen host nodes, both old and new.

Download our Xen VPS OS templates for HyperVM now!

Enjoy!