Kamis, 27 Agustus 2020

XEN-install

 

Installing and Configuring Citrix Xenserver 6.5 – Part 1

As computing devices quickly surpass the requirements of operating systems, it has increasingly become more efficient for organizations to invest/migrate to virtualized systems. Operating system virtualization technologies aren’t anything new but over the last several years they have become more and more popular as data centers look to provide more functionality in the same or less amounts of physical space. By simply leveraging un-used resources on powerful servers/workstations companies can effectively run multiple logical servers on one or several physical servers.

XenServer Installation Guide in Linux
XenServer Installation and Configuration Guide – Part 1

Citrix offers such a solution, known as XenServer, which utilizes the popular Linux Xen hypervisor. The Xen hypervisor is referred to as a “bare-metal hypervisor” meaning that it is installed to the physical server and acts as a resource manager for all of the virtualized server instances that will be run on top of Xen.

This contrasts to systems such as Virtualbox which require a Linux/Mac/Windows operating system to be installed and then virtual machines created within the Virtualbox application. This type of hypervisor is generally referred to as a hosted hypervisor. Both types of hypervisors have their place and benefits but this particular article is going to look at the bare-metal hypervisor in XenServer.

In this 5-article Citrix Xenserver series, we will going to cover the following topics:

Part 1Installation and Configuring XenServer 6.5

Update*: In May 2016, Citrix released the new version of the XenServer 7 platform.

This first article will walk through the process of installing and configuring Citrix XenServer. Future additions to this article will walk through adding virtual machine storage repositories, XenServer pooling, creating virtual machines on the XenServer, as well as managing XenServers with XenCenter and Xen Orchestra as discussed above series.

System Requirements

  1. XenServer 6.5 ISO : http://xenserver.org/open-source-virtualization-download.html
  2. Server capable of virtualization
    1. Hardware Compatibility List is here: http://hcl.xenserver.org/
    2. Many systems will work even if not listed but results may vary, use at your own risk.
  3. Minimum 2GB ram; 4GB or more recommended to run virtual machines
  4. Mimimum 1 64bit 1.5GHz cpu; 2GHz or more and multiple CPUs are suggested
  5. Harddrive space of at least 16GB; more required if virtual machines will be saved locally
  6. At least a 100mbps network card; multiple gigabit suggested

Test System Configuration

  1. 1 IBM X3850
    1. 4 hexcore 2.66 GHz CPUs
    2. 64gb ram
    3. 4 gigabit NIC cards
    4. 4 300GB SAS drives (overkill but it was all that was available)
  2. 24TB Dell PE5500E for storage of the virtual machine disks (Not necessary if enough local space exists on the XenServer)

All in all this server is primed to be a stellar XenServer so let’s begin the installation process.

Installation of Citrix Xenserver 6.5 Guide

1. The first step in the installation is to download the XenServer ISO file. This can easily be accomplished by visiting the link above or using the ‘wget‘ utility on a Linux system.

# wget -c http://downloadns.citrix.com.edgesuite.net/10175/XenServer-6.5.0-xenserver.org-install-cd.iso

Now burn the ISO to a CD or using ‘dd‘ to copy the ISO to a flash drive.

# dd if=XenServer-6.5.0-xenserver.org-install-cd.iso of=</path/to/usb/drive>

2. Now place the media into the system that XenServer will be installed and boot to that media. Upon successful boot the user should be greeted by the wonderful Citrix XenServer boot splash.

XenServer Boot Menu
XenServer Boot Menu

3. At this point simply press enter to begin the booting process. This will boot the user into the XenServer installer. The first screen will ask the user to provide a language selection.

Select XenServer Installation Language
Select XenServer Installation Language

4. The next screen asks the user to confirm the reason for booting to this media as well as provide the option to load extra hardware drivers if needed. In this particular case, it is to install XenServer to the machine so it is safe to click “OK”.

Load XenServer Device Driver
Load XenServer Device Driver

5. The next prompt is the obligatory EULA (End User License Agreement). Feel free to read the whole thing, as your supposed to anyways right, otherwise using the keyboard arrows move the cursor over to the “Accept EULA” button and hit enter.

Accept License Agreement
Accept License Agreement

6. The next screen requests the installation device. In this example the RAID setup on the server is where XenServer will be installed.

The RAID system is reflected as “sda – 556 GB [IBM ServeRAID-MR10k]” For this guide, thin provisioning is not necessary. Make sure the the asterisk ( * ) character is next to the hard drive selection to install XenServer and tab to the “OK” button.

Select XenServer Virtual Machine Storage
Select XenServer Virtual Machine Storage

7. The next screen will prompt the user for the location of the installation files. Since the installer was boot locally with a CD/DVD/USB, make sure to select the “Local Media” option.

Select XenServer Installation Source
Select XenServer Installation Source

8. The next step allows for the installation of Supplemental Packs (SP) at the time of install. For this guide, none of the supplemental packs available will be installed at this point but will be covered later once XenServer is up and running.

Select Supplemental Packs
Select Supplemental Packs

9. The next screen will ask if the user wishes to verify that the installer media is not corrupt. Generally this is a good idea but is a personal choice. All in all the verification on this test server took about 3 minutes from a CD.

Verify XenServer Installation Media
Verify XenServer Installation Media
Checking Base Pack
Checking Base Pack
Verification Successful
Verification Successful


10.
 Once the verification is completed, if selected during install, the XenServer installer will ask the user to setup some system information.

The first prompt will be to set the root user’s password. Now, since XenServer will be the underlying system to potentially several important virtualized servers, it is imperative that the password be secured as well as sufficiently complex!

Important: Do not forget this password either as there will not be any other users on the system once the installer finishes!

Set XenServer Root Password
Set XenServer Root Password

11. The next screen will ask the user to chose a management interface. The number of interfaces that shows up will vary from system to system and the management interface doesn’t have to be a separate interface. A separate interface can be used to secure administrative access to the hypervisor itself.

Configure XenServer Network
Configure XenServer Network

12. Once the management interface is selected, the system will prompt for how to obtain an IP address for the management interface. This step will obviously vary from site to site as well.

Set XenServer IP Address
Set XenServer IP Address

13. After determining the IP address information for the XenServer, the system will ask for a hostname to be set as well as DNS server configuration.

Hostname and DNS Configuration
Hostname and DNS Configuration

14. The next three screens will go through the steps of setting up time zones as well as the method for keeping track of time. Generally, Network Time Protocol is suggested for keeping system time synchronized on systems but again this will vary from location to location.

If a network time server isn’t available or the XenServer doesn’t have access to the Internet time servers, the installer will allow for manual time setting.

Set Time Zone
Set Time Zone
Set Time Using NTP
Set Time Using NTP
Add NTP Servers
Add NTP Servers

15. At this point all of the initial configuration parameters will be complete and the XenServer installer will be ready to begin the installation of the hypervisor.

WARNING – Continuing at this point WILL ERASE ALL DATA on the target disks!

Confirm XenServer Installation Drive
Confirm XenServer Installation Drive

16. The installation will take some time but a progress bar will be displayed. Once the installer is done, it will prompt the user to restart the system to boot to the newly installed hypervisor (be sure to remove the XenServer installation disk upon reboot).

Preparing XenServer Installation
Preparing XenServer Installation
XenServer Installation Complete
XenServer Installation Complete

17. Upon removing the installation media and rebooting the system, the user should be presented with the Citrix XenServer splash page. Allow the system to continue booting.

Citrix XenServer Booting
Citrix XenServer Booting

18. Once the booting has completed, the system will present the XenServer control page.

XenServer Configuration Page
XenServer Configuration Page

Congratulations! XenServer was successfully installed and is now ready to have any hotfixes/supplemental packs applied, storage repositories designated, and ultimately virtual machines created. The next step in this series will address the methods available to patch a XenServer system with patches from Citrix.

Tidak ada komentar:

Posting Komentar