HyperVM is a multi-platform, multi-tiered, multi-server, multi-virtualization web based
application that will allow you to create and manage different virtual machines each
based on different technologies across machines and platforms. Currently it supports
OpenVZ and Xen virtualization and is available for RHEL 4/5 as well as CentOS 4 and
CentOS 5.


You wouldn't need to install OpenVZ in addition to HyperVM in the main node since
HyperVM will also install OpenVZ . Also The slave is needed only if you want to control
OpenVZ containers on remote servers with HyperVM.

Installing A HyperVM Master

The HyperVM master allows you to control OpenVZ containers on the master itself and
on slave machines. Even if you don't want to run slave machines, you need a master.
First step is to disable selinux. For this you can run

#setenforce 0
Afterwards we install HyperVM as follows:

#wget http://download.lxlabs.com/download/hypervm/production/hyper- vminstallmaster.

#sh ./hypervm-install-master.sh --virtualization-type=openvz

Next step is to configure the boot loader. For that you have to edit the
/boot/grub/grub.conf and change the value assigned to default to appropriate one inorder
to make OpenVZ kernel as the default kernel.

Then we reboot the system:

Using HyperVM

1. You can use either https://IP_ADDRESS:8887 or http://IP_ADDRESS:8888.
2. Log in with the user admin and the password admin.
3. The first thing you are asked to do after the first login is to change the default
password for admin.
4. The next thing you are asked to do is configure LXguard. LXguard is a tool like
fail2ban or DenyHosts that blocks remote IP addresses from which too many logins
originated (this is to prevent brute-force attacks.
Fill in the maximum number of failed login attempts that are allowed before LXguard
kicks in and blocks the IP.
You should then go to the Whitelist tab and whitelist your own IP

Please check how HyperVM looks:

1. Creating IP Pools

Before we can create our first OpenVZ container, we need to define an IP pool from
which new containers can take an IP address. Go to Ip Pools. On the Ip Pools page, click
on the Add Ip Pool tab. You have to provide the IP Pool Name, First IP address, Lst
IP address, Resolv Entries and Gateway in the page showing. This is almost similar to
the way through which we add IP pools in solusvm master.

2. Define at least one resource

Besides creating an IP pool, we must also define at least one resource plan before we
can create our first OpenVZ container. On the HyperVM Home, click on Resource
Plans, and then on the Add Resource Plan tab.
Fill in a name and description and then specify the resources for each OpenVZ container
that will use this resource plan

3. Create VM

Now we can create our first OpenVZ container. Click on the Virtual Machines icon in
the Resources section of the HyperVM Home; on the page that loads, click on the Add
Openvz tab
Provide a name for that new OpenVZ container and fill in a root password. Type in a
free IP address from the IP pool that you've created before. Then rovide a hostname,
select the resource plan you've just created and an OS template for the container, then
click on Add.
After a few moments, you should see your new container on the Virtual Machines
overview page. You can start and stop the container by clicking on the bulb in the S
column, but you can as well control it from its own control panel that you can reach by
clicking on the container's name in the VM Name column.


1 comment

Srijidh k.m | October 16, 2012 at 6:17 AM

Very informative da..continue all d best...

Post a Comment