Managing OpenVZ With HyperVM On CentOS 5.2
Managing OpenVZ With HyperVM On CentOS 5.2Version 1.0 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. This tutorial shows how to install it on a CentOS 5.2 server to control OpenVZ containers. I will also explain how to manage OpenVZ containers with HyperVM on a remote CentOS 5.2 server ("slave"). I do not issue any guarantee that this will work for you!
1 Preliminary NoteI'm using two empty CentOS 5.2 servers in this tutorial (empty because HyperVM will also install OpenVZ, so OpenVZ does not need to be installed right now):
The slave is needed only if you want to control OpenVZ containers on remote servers with HyperVM (explained in an extra chapter). I couldn't find out anything about HyperVM's license, neither on the HyperVM web site nor in the sources. It seems to be free, at least for a certain amount of controlled OpenVZ containers (according to http://lxlabs.com/store/). If you find out about its license and whether it's free or not, please let me know.
2 Installing A HyperVM Masterserver1: (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 we need to disable SELinux. Open /etc/sysconfig/selinux... vi /etc/sysconfig/selinux ... and set SELINUX to disabled:
Run setenforce 0 afterwards. Afterwards we install HyperVM as follows: wget http://download.lxlabs.com/download/hypervm/production/hypervm-install-master.sh This will take quite some time as this also installs OpenVZ and some OpenVZ templates, so be patient. At the end, you should see something like this: Downloaded: 7 files, 1.4G in 51m 21s (485 KB/s) ***There is one more step you have to do to make this complete. Open /etc/grub.conf, and change the 'default=1' line to 'default=0', and reboot this machine. You will be rebooted into the openvz kernel and will able to manage vpses from the hyperVM interface Next we open /etc/grub.conf... vi /etc/grub.conf ... and change default=1 to default=0 so that the OpenVZ kernel is the default kernel:
Then we reboot the system: reboot That's it for the installation.
3 Using HyperVMNow open a browser and go to https://192.168.0.100:8887 or http://192.168.0.100:8888. If you're using Firefox 3 and use HTTPS, Firefox will complain about the self-signed certificate, therefore you must tell Firefox to accept the certificate - to do this, click on the Or you can add an exception... link: Click on Add Exception...: The Add Security Exception window opens. In that window, click on the Get Certificate button first and then on the Confirm Security Exception button: Afterwards, you will see the HyperVM login form. Log in with the user admin and the password admin: The first thing you are asked to do after the first login is to change the default password for admin:
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com










print: 
Recent comments
18 hours 48 min ago
20 hours 17 min ago
23 hours 51 min ago
1 day 2 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 9 hours ago