Complete HyperVM installation Tutorial: Use HyperVM to manage OpenVZ architecture virtual machines

Source: Internet
Author: User
Tags ssl connection

HyperVM is a common VPS Virtual Machine Management System. It not only manages XEN architecture virtual machines, but also manages OpenVZ virtual machines. HyperVM adopts a cluster design architecture, you can use a HyperVM master server to manage multiple customer servers and easily implement distributed management and migration.

The Installation Method of HyperVM is very simple. This article uses the standalone installation of OpenVZ as an example, that is, the master and the control are on the same server. The host system is CentOS 5.5.
 
Install CentOS
For how to install CentOS, see CentOS installation tutorial.
Note: During CentOS system installation, do not select any default "system components" to simplify the installation of the system.
After the installation is complete, use yum update to upgrade the system to the latest version, and then disable seLinux. To avoid various strange problems during installation, we recommend that you disable the iptables firewall (use the setup command)
 
Preparations before installation
1. Make sure that the current user has the Administrator permission or use the sudo command to escalate the permission;
2. Execute
Setenforce 0
3. Do not install through SSH, but directly in front of the screen; or use the screen command during SSH installation (to prevent installation failure due to SSH instability). For details, see screen usage. And
 
Run the installation script

Run the following two commands:


Wget http://download.lxcenter.org/download/hypervm/production/hypervm-install-master.sh

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

Note that since CentOS is installed with the most simplified installation (excluding virtualization components), the above command will install openvz virtualization components at the same time. After the installation is completed, the installation starts.
The installation process is very simple. HyperVM downloads a CentOS template for OpenVZ and needs to download a large number of files throughout the installation process. Therefore, ensure the network stability.
If the installation is successful, the following message is displayed:

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'. 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

* ** 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
 
Configure to start the kernel
Note: The next step is very important: Since the kernel is updated during the installation process, it cannot be started from the original kernel. Therefore, the kernel after the restart by default will cause OpenVZ to be unavailable. The above installation prompt also describes this.
1. Open the/etc/grub. conf file (the file is actually linked to/boot/grub/menu. lst ),
Vi/etc/grub. conf
2. Find the default = line (which should be in front of the line) and find it;
3. Determine the serial number of the title of the openvz virtualization kernel.
This file should contain many statements starting with title, followed by the startup Item Name. Find the title with the words similar to openvz virtualization, and check that this title is the number of all titles. Then, change the default parameter in step 1 to the corresponding serial number.
In fact, the default parameter is only used to set which OpenVZ kernel is started by default when the system is started.
 
Complete installation
After the preceding operations are completed, save the grub. conf file and restart the computer.
Reboot
 
Installation information
Web management URL: http: // IP: 8888/
SSL encryption management address: http:/IP: 8887/
Default User name: admin
Default password: admin
After logging in, you will be forced to change the password. So far, the HyperVM has been installed, tested, and used properly.
Note: Many people have reported that the OpenVZ component cannot be properly installed using the standard HyperVM method. It can be used after the test. Environment: CentOS 5.5, 32-bit.

HyperVM details: click here
HyperVM: click here

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.