Conw.2.0 installation Configuration

Source: Internet
Author: User
Xen centralized management tool convirt home page www. conw.ure. comconvirt introduction con00002.0 is a web-based program that uses python and jquery to centrally manage the xen service. This program is used in xen community projects and management projects. convirt has developed open-source and enterprise editions, and the enterprise edition has servers.

Xen centralized management tool convirt home page http://www.convirture.com/convirt introduction conrent2.0 is a web-based Centralized Management xen service program written in combination with python and jquery. This program is used in xen community projects and management projects. convirt has developed open-source and enterprise editions, and the enterprise edition has servers.

Xen centralized management tool
Convirt Homepage

Http://www.convirture.com/

Convirt Introduction
Conw.2.0 is a program that uses python and jquery to manage the xen service in a centralized manner on the web. This program is used in xen community projects and management projects. convirt is developed in open-source and enterprise versions, and the Enterprise Edition supports services and enhances the dynamic resource adjustment function of xen, this is the open-source version of conw.2.0.

Conure tm has its own wiki and discussion sessions. You can view and ask related questions.

Http://www.convirture.com/wiki

Http://www.convirture.com/forums

Production Environment
Redhat AS5U5 install xen Service

Consorp2.0 Installation Process
Obtain con1_2.0
Wget-no-cache http://www.convirture.com/downloads/convirt/2.0/convirt-install-2.0.tar.gz
The convirt-install-2.0.tar.gz is the installation script of convirt, And the conviure Organization writes an installation script in this package to initialize the system environment variables, the various components required for installation, therefore, you must ensure that your convirt server can be properly connected to the Internet.
[Root @ xencms ~] # Tar-zxvf convirt-install-2.0.tar.gz

This is a very good installation script instance. I will not analyze the call of each function here.
/Root/convirt-install/cms/scripts
Initialize the system environment
./Install_dependencies
One of the most important items in the initialization process is the mysql settings.
Enter current password for root (enter for none ):
The initial password is empty because the mysqld service is not installed on the test machine and is completed by the script in convirt-install.
Set root password? [Y/n] y
The mysql password must be set here because the password is written to the program when convirt initializes mysql, And the password must be set to "convirt ".
Running mysql_secure_installation.
Current root password for fresh installation is blank. So simple press enter.
NOTE: running all parts of this script is recommended for all MySQL
Servers in production use! Please read each step carefully!
In order to log into MySQL to secure it, we'll need the current
Password for the root user. If you 've just installed MySQL, and
You haven't set the root password yet, the password will be blank,
So you shoshould just press enter here.

Enter current password for root (enter for none ):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MySQL
Root user without the proper authorisation.

Set root password? [Y/n] y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables ..
... Success!
By default, a MySQL installation has an anonymous user, allowing anyone
To log into MySQL without having to have a user account created
Them. This is intended only for testing, and to make the installation
Go a bit smoother. You shoshould remove them before moving into
Production environment.

Remove anonymous users? [Y/n] y
... Success!

Normally, root shoshould only be allowed to connect from 'localhost'. This
Ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] y
... Success!

By default, MySQL comes with a database named 'test' that anyone can
Access. This is also intended only for testing, and shocould be removed
Before moving into a production environment.

Remove test database and access to it? [Y/n] y
-Dropping test database...
... Success!
-Removing privileges on test database...
... Success!

Reloading the privilege tables will ensure that all changes made so far
Will take effect immediately.

Reload privilege tables now? [Y/n] y
... Success!

Cleaning up...

All done! If you 've completed all of the above steps, your MySQL
Installation shoshould now be secure.

Thanks for using MySQL!
Stopping MySQL: [OK]
Starting MySQL: [OK]
Prerequsite for ConVirt Management Server (CMS) installed.
Mysql initialization successful,
The entire initialization process of install_dependencies is recorded in dependencies. log for subsequent analysis. If you are interested, please download it and check it out.
Install convrit Software

./Install_convirt
ConVirt Setup Done...

Cd/root/convirt
./Convirt-ctl start

Convirt has been installed, and the convirt log will generate the key file of the root user through ssh-keygen in this process, the generated key file will be used in future multi-server control and VNC port forwarding.
[Root @ xencms. ssh] # ls
Cms_id_rsa cms_id_rsa.pub
[Root @ xencms. ssh] # pwd
/Root/. ssh

Start the convirt Service

Cd/root/convirt
./Convirt-ctl start
Using netstat-nl, we should see port 8081. if the service cannot be started normally, there are two log files in the/root/convirt directory.
[Root @ xencms convirt] # cat convirt. log
[Root @ xencms convirt] # cat paster. log
The convirt. log records the running logs of the convirt program.
Paster. log is an http acsess log, and convirt uses tg2env as the http service.

[Root @ xencms convirt] # netstat-nlp

Tcp 0 0 10.0.121.8: 8081 0.0.0.0: * LISTEN 10053/python

Convirt Installation Complete

Access http: // IP: 8081 Default Administrator admin password admin
Take a look at the interface we are using, such:

Manage other xen-servers. To add a server, enter the root password and use sshkey to add the server. Then, the system prompts that the server is successfully added, when the xen-server is not restarted, The convirt Management Platform will prompt an error Exception: remote_exec_cmd: cocould not create channel, which cannot connect to the xen-server, restart the convirt management platform.

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.