Important Pre-Installation Step
Make sure that you open the ports 8888 and 8887 in the firewall. Otherwise you won’t be able to connect to HyperVM.
You have to disable selinux by editing /etc/sysconfig/selinux and changing the line to selinux=disabled and then running
# $ setenforce 0
HyperVM installation consists of downloading either the hypervm-install-master.sh or hypervm-install-slave.sh from http://download.lxcenter.org and execute it as root. It will download all the required files and do the complete installation on it’s own.
# $ setenforce 0
# $ wget http://download.lxcenter.org/download/hypervm/production/hypervm-install-master.sh
# $ sh ./hypervm-install-master.sh --virtualization-type=xen
virtualization-type=NONE (which will install just hyperVM components, and skip the virtualization components entirely)
virtualization-type=xen (which will install hyperVM components, and Xen virtualization components )
virtualization-type=openvz (which will install hyperVM components, and openvz virtualization components )
You should got the following output on the screen :Executing Update Cleanup… Will take a long time to finish….
Congratuations. hyperVM has been installed succesfully on your server as master
You can connect to the server at https://<ip-address>:8887 or http://<ip-address>:8888
Please note that first is secure ssl connection, while the second is normal one.
The login and password are ‘admin’ ‘admin’. After Logging in, you will have to change your password to something more secure
Thanks for choosing hyperVM to manage your Server, and allowing us to be of service**** You will have to reboot for the xen kernel to take effect. Once rebooted, you will able to manage xen virtual machines using the hyperVM interface Be sure that the Kernel has been updated on /etc/grub.conf
title CentOS (2.6.18-308.16.1.el5xen)
module /vmlinuz-2.6.18-308.16.1.el5xen ro root=/dev/VolGroup00/LogVol00
title CentOS (2.6.18-308.el5)
kernel /vmlinuz-2.6.18-308.el5 ro root=/dev/VolGroup00/LogVol00