Description:
(1) This article uses the OEL6.3x64 operating system and requires a KVM installation environment.
(2) convirt2.1.1 is installed using the source code. The convirt environment is divided into two parts: cms, which is used to manage virtual machines on kvm/xen virtual hosts, some of them are installed as clients on kvm/xen virtual hosts.
(3) conw.2.1.1 is an open-source management xen/kvm virtualization management tool and one of the many open-source tools.
1. Install the convirt Environment (1) install the KVM Environment
Kvm virtualization learning notes (I) kvm virtualization environment installation: http://koumm.blog.51cto.com/703525/1288795
(2) Prepare the convirt installation Source
# cd /etc/yum.repos.d# wget --no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/1951151Y0-0.png "height =" 111 "/>
(3) download the convirt and cms installation packages
# cd /root/# wget --no-cache http://www.convirture.com/downloads/convirt/2.1.1/convirt-2.1.1.tar.gz# wget --no-cache http://www.convirture.com/downloads/convirt/2.1.1/convirt-install-2.1.1.tar.gz
(4) install the convirt installation package
# tar -xzvf convirt-install-2.1.1.tar.gz# cd convirt-install/install/cms/scripts/ && ./install_dependencies
... Initialize the MySQL database: Installing MySQL system tables... OKFilling help tables... OKTo start mysqld at boot time you have to copysupport-files/mysql. server to the right place for your systemPLEASE remember to set a password for the MySQL root USER! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin-u root password 'new-password'/usr/bin/mysqladmin-u root-h vmnode1 password 'new-password' Alternatively you can run: /usr/bin/mysql_secure_installationwhich will also give you the option of removing the testdatabases and anonymous user created by default. this isstronugly recommended for production servers. see the ma Nual for more instructions. you can start the MySQL daemon with: cd/usr;/usr/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.plcd/usr/mysql-test; perl mysql-test-run.plPlease report any problems with the/usr/bin/mysqlbug script! [OK] Starting mysqld: [OK] 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 MySQLSERVERS in production use! Please read each step carefully! In order to log into MySQL to secure it, we'll need the currentpassword for the root user. if you 've just installed MySQL, andyou 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 MySQLroot user wi Thout the proper authorisation. Set root password? [Y/n] yNew password: Re-enter new password: Password updated successfully! Reloading privilege tables... Success! By default, a MySQL installation has an anonymous user, allowing anyoneto log into MySQL without having to have a user account created forthem. this is intended only for testing, and to make the installationgo a bit smoother. you shoshould remove them before moving into aproduction environment. remove anonymous users? [Y/n] y... Success! Normally, root shoshould only be allowed to connect from 'localhost'. Thisensures 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 canaccess. this is also intended only for testing, and shocould be removedbefore 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 farwill 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 MySQLinstallation shoshould now be secure. Thanks for using MySQL! Mysqld (pid 2691) is running... MySQL service is already running. Prerequsite for ConVirt Management Server (CMS) installed.
Note: during the installation process, the mysql database is installed and the password of the root account of the mysql database is entered.
650) this. width = 650; "title =" abc.jpg "src =" http://www.bkjia.com/uploads/allimg/131227/195115G19-1.jpg "alt =" 230837805.jpg"/>
(5) modify the mysql database configuration file
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/195115C20-2.png "height =" 199 "/>
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/1951151927-3.png "height =" 91 "/>
(6) decompress and install the CMS package
# cd /root/# cd convirt-install/install/cms/scripts/ && source install_config# cd /root && tar -xzf convirt-2.1.1.tar.gz -C $CONVIRT_BASE# ./setup_tg2# ./setup_convirt
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/1951152L9-4.png "height =" 115 "/>
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/1951152S6-5.png "height =" 153 "/>
Installation process...
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/1951154R6-6.png "height =" 553 "/>
(7) Start and close conw.cms
Start convirt
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/19511561N-7.png "height =" 223 "/>
Disable convirt
# /root/convirt/convirt-ctl stop
(8) Enable con1_2.1.1
Http: // 192.168.233.170: 8081
Enter admin/admin
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/1951155152-8.png "height =" 455 "/>
You must install the convirt-tools tool on the kvm virtual host before you can add the tool.
2. Install the convirt-tools tool on the KVM virtual host.
Note: Install the convirt-tools tool on the kvm virtual host.
# wget http://www.convirture.com/downloads/convirture-tools/2.1.1/convirture-tools-2.1.1.tar.gz# tar zxvf convirture-tools-2.1.1.tar.gz# cd convirture-tools/install/managed_server/scripts# ./convirt-tool install_dependencies# ./convirt-tool setup
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/19511563I-9.png "height =" 144 "/>
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/195115DB-10.png "height =" 308 "/>
3. Add a kvm vm on conw.cms
Add a kvm vm.
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/1951154T7-11.png "height =" 479 "/>
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/195115I52-12.png "height =" 163 "/>
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/1951153920-13.png "height =" 342 "/>
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/1951154T9-14.png "height =" 94 "/>
650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px; "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131227/1951151562-15.png "height =" 492 "/>
This article is just the beginning of a convirt management tool and also hopes to make good use of it. It should be noted that it took a lot of time to install conw.2.0.1 to manage RHEL/Centosxen virtualization, it is found that convirt still has fewer problems in managing kvm.
Installation Reference http://linuxblind.blog.51cto.com/7616603/1275440
This article is from the "koumm linux technology blog" blog, please be sure to keep this source http://koumm.blog.51cto.com/703525/1305553