0

Installing HyperVM for OpenVZ on an OpenVZ capable Xen domU

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!

This entry was posted in Uncategorized. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>