Installation and configuration management of Linux virtualization XenServer

Source: Internet
Author: User
Tags local time

System Requirements

XenServer requires at least two separate x86 physical computers: one to use as a XenServer host and another to run XenCenter applications.

The XenServer host computer is completely dedicated to running the XenServer that hosts the VM and is not used to run other applications. The computer running Xencenter can be any universal Windows computer that meets the hardware requirements, or it can be used to run other applications.


Installation Instructions:

The server CPU that installs XenServer 6.5 must support virtualization, Intel (vt-x) or AMD (AMD-V)


First, download XenServer

You can download the Xerserver software from http://xenserver.org/, the latest version is now 6.5.


Second, installation XenServer

Download it back and follow the instructions below to install it.

1. Put the downloaded XenServer ISO image, and start the machine, will display the installation interface, directly press ENTER to install.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7A/AA/wKiom1avRoDzDHDQAAETh8KxbEU118.png "title=" 1.png " Style= "Float:none;" alt= "Wkiom1avrodzdhdqaaeth8kxbeu118.png"/>


2. Select the keyboard mode, and then OK.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7A/AA/wKioL1avU17RWwywAACdcYvIYug925.png "style=" float: none; "title=" 1.png "alt=" Wkiol1avu17rwwywaacdcyviyug925.png "/>


3. We are newly installed XenServer, so we click OK directly.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7A/AA/wKioL1avU13jPyJQAACXytlaJRs024.png "title=" 2.png " Style= "Float:none;" alt= "Wkiol1avu13jpyjqaacxytlajrs024.png"/>


4. We click to accept the EULA.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7A/AA/wKioL1avRsrB4DC1AAC64nKcYyQ256.png "title=" 4.png " Style= "Float:none;" alt= "Wkiol1avrsrb4dc1aac64nkcyyq256.png"/>

Select OK

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7A/AA/wKioL1avRsjRj37GAADUExcvnk4777.png "title=" 5.png " Style= "Float:none;" alt= "Wkiol1avrsjrj37gaaduexcvnk4777.png"/>


5. Next is the hard disk installation screen, directly press OK, if you want to use XenDesktop, the second option also press space, remind the friend installed with the virtual machine, if the hard drive is too small will prompt (No disk with sufficient space to install XenServer on is found, workaround extend the disk size or reassign a large hard drive.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7A/AA/wKiom1avRnnQK-D_AADNXNj13G8933.png "title=" 6.png " Style= "Float:none;" alt= "Wkiom1avrnnqk-d_aadnxnj13g8933.png"/>


6. Choose the installation method, there is local, FTP or HTTP, and NFS, because the image is installed, directly select OK.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7A/AA/wKioL1avRsWCSYZVAACbHoPcxJ4365.png "title=" 7.png " Style= "Float:none;" alt= "Wkiol1avrswcsyzvaacbhopcxj4365.png"/>

7. Next, ask if you want to install all the patches and click No.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7A/AA/wKioL1avRsSjwdjwAACXYFrXeCo420.png "title=" 8.png " Style= "Float:none;" alt= "Wkiol1avrssjwdjwaacxyfrxeco420.png"/>

8. Ask if you want to test the installation media, choose Skip to skip the test, and click OK.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7A/AA/wKioL1avRsOzJG8FAAB8B5xj8sY198.png "title=" 9.png " Style= "Float:none;" alt= "Wkiol1avrsozjg8faab8b5xj8sy198.png"/>


9. Enter the XenServer password and click OK.

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7A/AA/wKioL1avRsKQ1LyJAACIQ8LRAXQ512.png "title=" 10.png "Style=" Float:none; "alt=" Wkiol1avrskq1lyjaaciq8lraxq512.png "/>

10. Set the IP address, the default use DHCP to assign IP address, it is recommended to use static IP address, if there is a DNS server, you can use dynamic IP address, and click OK.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7A/AA/wKiom1avRnSQnuwXAADAAi2R774472.png "title=" 11.png "Style=" Float:none; "alt=" Wkiom1avrnsqnuwxaadaai2r774472.png "/>


11. Enter the hostname and DNS server and click OK.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7A/AA/wKiom1avRnKAQACXAAC4KXNhCdE861.png "title=" 12.png "Style=" Float:none; "alt=" Wkiom1avrnkaqacxaac4kxnhcde861.png "/>


12. Select DNS in that area, select Asia, click OK.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7A/AA/wKioL1avRr6yLjOZAACehIE4VLA454.png "title=" 13.png "Style=" Float:none; "alt=" Wkiol1avrr6yljozaacehie4vla454.png "/>


13. Select the time zone Shanghai and click OK.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7A/AA/wKiom1avRnCw24X5AACJW1Ln3lM723.png "title=" 14.png "Style=" Float:none; "alt=" Wkiom1avrncw24x5aacjw1ln3lm723.png "/>


14. Select the time synchronization mode and click OK. If a using NTP server is selected, enter the IP address of the NTP server, Manualtime entry to use local time.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7A/AA/wKioL1avRryyeX32AACd7wwQ9bA262.png "title=" 15.png "Style=" Float:none; "alt=" Wkiol1avrryyex32aacd7wwq9ba262.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7A/AA/wKioL1avRrqRN5YIAACJrLqEbOw132.png "title=" 16.png "Style=" Float:none; "alt=" Wkiol1avrrqrn5yiaacjrlqebow132.png "/>


15. Select Installxenserver

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7A/AA/wKiom1avRmzAmmZiAACydcZgrI8931.png "title=" 17.png "Style=" Float:none; "alt=" Wkiom1avrmzammziaacydczgri8931.png "/>


16. The installation will start next, the installation time will be prompted to set the period of time after the completion of the Click OK to continue the installation.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7A/AB/wKiom1avSXfQXdDKAACHJ1RvES8645.png "title=" 24.png "alt=" Wkiom1avsxfqxddkaachj1rves8645.png "/>


17. Prompt installation is complete, click OK to automatically restart

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7A/AA/wKioL1avRrjQ8JSdAACN1fYhe2s983.png "title=" 18.png "Style=" Float:none; "alt=" Wkiol1avrrjq8jsdaacn1fyhe2s983.png "/>


18.XenServer Start-up interface

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7A/AB/wKiom1avSYiD6gyQAAFcmWXQvAg827.png "title=" 19-1. PNG "alt=" Wkiom1avsyid6gyqaafcmwxqvag827.png "/>


19. Start complete, the following is the main interface

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7A/AA/wKioL1avSeji27qJAAEX9-MOPxs073.png "title=" 19.png "alt=" Wkiol1avseji27qjaaex9-mopxs073.png "/>

Third, the installation of the Xen control terminal

1. Install Xencenter on another computer, open IE, and enter the IP address of XenServer.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7A/AB/wKiom1avSffyKcqbAABL2cWAmwM565.png "title=" 20.png "alt=" Wkiom1avsffykcqbaabl2cwamwm565.png "/>


2. Click Xencenterinstaller, eject Xencenter.msi file, download and install Xencenter.

go to the control, click Add XenServer server

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7A/AA/wKioL1avSlbh73xHAABfLngUVCk637.png "title=" 21.png "alt=" Wkiol1avslbh73xhaabflnguvck637.png "/>


Input Server After the IP address, user name and password, click Add

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7A/AA/wKioL1avSl2g_By_AABnEwDjnao248.png "title=" 22.png "alt=" Wkiol1avsl2g_by_aabnewdjnao248.png "/>

so far XenServer Installation Complete



Iv. configuration and management of XenServer

1. Modifications XenServer name

XenServer name Right-click on Properties

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7A/AB/wKiom1avTBewPQHTAAA2fiipcMk202.png "title=" 1.png " Style= "Float:none;" alt= "Wkiom1avtbewpqhtaaa2fiipcmk202.png"/>


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7A/AA/wKioL1avTGSTHCRRAAA0VwV1iN8581.png "style=" float: none; "title=" 2.png "alt=" Wkiol1avtgsthcrraaa0vwv1in8581.png "/>




2. Change IP address information and hostname

in the XenServer Server Select "Network and Management Interface" and select "configuremanagement Interface" The user name password verification prompt appears, enter the corresponding information, enter the Setup interface.

Select the corresponding network card to be modified, select Static, enter the IP and hostnameto be modified , and Save the carriage return.


3. Create a system mirroring pool

XenServer installation, the default root partition leaves little (2G avail), when this space is occupied, performance will be greatly reduced. Therefore, this article is divided into two parts, the first part is how to increase the size of the ISO image storage directory, the second part is how to create a local ISO repository.

3.1 First use SSH tools such as putty to connect to the XenServer server and go to the command line.

3.2 Use the Vgdisplay command to view the volume group (VG) available space (free pe/size), remembering the name "Vg_xenstorage-xxxxxxxxxxxxxxxxxxxxxxx" of the volume group behind the VG name.

3.3 Create a logical Volume (LV) using the lvcreate command, this example: Create a logical volume in an existing volume group with the name Iso_storage size 20GB.

#lvcreate-L 20gb–n iso_storagevg_xenstorage-xxxxxxxxxxxxxxxxxx

3.4 Enter the following command to discover the newly created logical volume (in fact the last command).

# modprobe Dm-mod #加载使用lvm所需的相应模块

# Vgscan #扫描并显示LVM卷组列表

# Vgchange–ay #将卷组状态改为活动的

3.5 Formatting The logical volume you just created (LV)

#mkfs. Ext3/dev/vg_xenstorage-xxxxxxxxxxxxxxxxxxxxxx/iso_storage

3.6 Creating a mount point

#mkdir/iso_storage

3.7 Edit the/etc/fstab file, set the automatic mount configuration for the logical volume (LV), in which the following is inserted.

/DEV/VG_XENSTORAGE-XXXXXXXX/ISO_STORAGE/ISO_STORAGE/EXT3 Defaults 0 0

3.8 Mount Logical Volume (LV)

#mount/iso_storage


4. Create a local ISO repository

Connect to XenServer at the command line:

Xe sr-createname-label=iso_storage Type=iso device-config:location=/iso_storage device-config:legacy_mode= Truecontent-type=iso

At this point, a storage device named Iso_storage is discovered through Xencenter

Uploading an ISO image

If you do not see an ISO image in the Iso_storage store, you can attempt to use

#xe-mount-iso-sr/iso_storage

#xe-toolstack-restart

To solve.

or by Xencenter, select the Iso_storage device and click on the storage on the left. At this point you will find the Rescan option below, click to ()

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7A/AA/wKioL1avTU_CFKKdAABhM5MhHOY583.png "title=" 4.png " alt= "Wkiol1avtu_cfkkdaabhm5mhhoy583.png"/>



5. Create VM Virtual Machines

XenServer name Right-click on New VM ...

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7A/AA/wKioL1avTauzgpyCAAA_CfhkwTQ927.png "title=" 3.png " alt= "Wkiol1avtauzgpycaaa_cfhkwtq927.png"/>



6. Cloning a virtual machine

1, create a template host

2, install the common parameters.

3, right-click template Host Select Quick crecte

4, go to the newly created host and change the Nic Mac to the corresponding Mac in the Networking option



(END)

This article is from the "Small Five Car God" blog, please be sure to keep this source http://linuxtech.blog.51cto.com/3670088/1740537

Installation and configuration management of Linux virtualization XenServer

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.