Install

This article guides you through the installation of Citrix XenServer 7.1 LTSR and its Cumulative Updates. It also contains information about troubleshooting problems that might occur during installation and points you to additional resources.

This article is primarily aimed at system administrators who wish to set up XenServer hosts on physical servers.

Installation overview

XenServer 7.1 Cumulative Updates are provided as both an update to the previous Cumulative Update of XenServer 7.1 and as a base installation that can be used to upgrade other versions of XenServer or to create a fresh installation.

If you are updating an existing installation of XenServer 7.1 with the previous Cumulative Update installed:

  • Use the XenServer 7.1 Cumulative Update X Installation file

    You can download this file from the download site

  • Review the information in Update your hosts before updating your XenServer installation.

If you are creating a fresh installation of XenServer 7.1 Cumulative Update X:

If you are upgrading an existing installation of XenServer 7.0:

Install XenServer and XenCenter

This section steps through installing the XenServer host software on physical servers, installing XenCenter on Windows workstations and finally connecting them to form the infrastructure for creating and running Virtual Machines (VMs).

After guiding you through installation, this section describes a selection of common installation and deployment scenarios.

Installation Media and Methods

XenServer installs directly on bare-metal hardware avoiding the complexity, overhead, and performance bottlenecks of an underlying operating system. It uses the device drivers available from the Linux kernel. As a result, XenServer can run on a wide variety of hardware and storage devices. However, Citrix recommends that you use certified device drivers; refer to the XenServer Hardware Compatibility List (HCL) for details.

The XenServer host consists of:

  • The Xen Hypervisor: The hypervisor is the basic abstraction layer of software. The hypervisor is responsible for low-level tasks such as CPU scheduling and is responsible for memory isolation for resident VMs. The hypervisor abstracts from the hardware for the VMs. The hypervisor has no knowledge of networking, external storage devices, video, etc. The Linux Foundation Xen Project community develops and maintains the Xen hypervisor as free software licensed under the GNU General Public License. XenServer 7.1 uses v4.7 of the Xen hypervisor.

  • The Control Domain: Also known as ‘Domain0’, or ‘dom0’, the Control Domain is a secure, privileged Linux VM (based on a CentOS 7.2 distribution) that runs the XenServer management toolstack. Besides providing XenServer management functions, the Control Domain also runs the driver stack that provides user created Virtual Machines (VMs) access to physical devices.

  • The management toolstack: Also known as xapi, this software toolstack controls VM lifecycle operations, host and VM networking, VM storage, user authentication, and allows the management of XenServer resource pools. xapi provides the publicly documented XenAPI Management Interface which is used by all tools that manage VMs and resource pools.

  • VM templates, for installing popular operating systems as VMs.

  • A local Storage Repository (SR) reserved for VMs.

Important:

The XenServer host must be installed on a dedicated 64-bit x86 server.

Do not install any other operating system in a dual-boot configuration with the XenServer host; this is an unsupported configuration.

Installation Media

Installers for both the XenServer host and XenCenter are located on the installation media. The installation media also includes the Readme First, which provides descriptions of and links to helpful resources, including product documentation for XenServer and XenServer components.

Installation Methods

There are three methods by which to install the XenServer host:

  • From a CD

    You can download the installer (ISO file format) and burn it to a CD. To download the installer, visit the XenServer Downloads page.

    The main XenServer installation file contains the basic packages required to set up XenServer on your host and install XenCenter on your Windows computer, in conjunction with the desired Windows installation media.

  • Set up a network-accessible TFTP server to boot.

    For details about setting up a TFTP server to boot the installer using network, see Network Boot Installations.

  • Install XenServer to a remote disk on a SAN to enable boot from SAN

    For details, see Boot from SAN Environments.

Supplemental Packs

You can install any required supplemental pack after installing XenServer. Download the supplemental pack (filename.iso) to a known location on your computer and install the supplemental pack in the same way as an update. For more information, see XenServer Supplemental Packs and the DDK Guide.

Upgrades

The installer presents the option to upgrade if it detects a previously installed version of XenServer. The upgrade process follows the first-time installation process, but several setup steps are bypassed. The existing settings are retained, including networking configuration, system time and so on.

Important

Upgrading requires careful planning and attention. For detailed information about upgrading individual XenServer hosts and pools, see Upgrading XenServer.

Install XenServer host

Tip

Throughout the installation, quickly advance to the next screen by pressing F12. Use Tab to move between elements, and Space or Enter to select. For general help, press F1.

Warning

Installing XenServer overwrites data on any hard drives that you select to use for the installation. Back up data that you wish to preserve before proceeding.

To install or upgrade the XenServer host:

  1. Boot the computer from the installation CD or, if applicable, network-boot from your TFTP server.

  2. Following the initial boot messages and the Welcome to XenServer screen, select your keymap (keyboard layout) for the installation.

    Note:

    If a System Hardware warning screen is displayed and hardware virtualization assist support is available on your system, see your hardware manufacturer for BIOS upgrades.

  3. The Welcome to XenServer Setup screen is displayed.

    XenServer ships with a broad driver set that supports most modern server hardware configurations. However, if you have been provided with any additional essential device drivers, press F9. The installer steps you through installing the necessary drivers.

    Warning:

    Only update packages containing driver disks can be installed at this point in the installation process. However, you are prompted later in the installation process to install any update packages containing supplemental packs.

    After you have installed all of the required drivers, select OK to proceed.

    XenServer enables customers to configure the XenServer installation to boot from FCoE. Press F10 and follow the instructions displayed on the screen to set up FCoE.

    Note:

    Before enabling your XenServer host to boot from FCoE, manually complete the configuration required to expose a LUN to the host. This manual configuration includes configuring the storage fabric and allocating LUNs to the public world wide name (PWWN) of your SAN. After you complete this configuration, the available LUN is mounted to the CNA of the host as a SCSI device. The SCSI device can then be used to access the LUN as if it were a locally attached SCSI device. For information about configuring the physical switch and the array to support FCoE, see the documentation provided by the vendor.

  4. The XenServer EULA is displayed. Use the Page Up and Page Down keys to scroll through and read the agreement. Select Accept EULA to proceed.

  5. Select the appropriate action. You might see any of the following options:

    • Perform clean installation

    • Upgrade: If the installer detects a previously installed version of XenServer, it offers the option to upgrade. For information about upgrading your XenServer host, see Upgrade from an existing version.

    • Restore: If the installer detects a previously created backup installation, it offers the option to restore XenServer from the backup.

    Make your selection, and choose OK to proceed.

  6. If you have multiple local hard disks, choose a Primary Disk for the installation. Select Ok.

  7. Choose which disk(s) you would like to use for virtual machine storage. Information about a specific disk can be viewed by pressing F5.

    If you want to use Thin Provisioning to optimize the utilization of available storage, select Enable thin provisioning. Citrix Virtual Desktop users are strongly recommended to select this option in order for local caching to work properly. For details, see IntelliCache.

    Choose OK.

  8. Select your installation media source.

    To install from a CD, choose Local media. To install by using network, select HTTP or FTP or NFS. Choose OK to proceed.

    If you select HTTP or FTP or NFS:

    1. Set up networking so that the installer can connect to the XenServer installation media files.

      If the computer has multiple NICs, select one of them to be used to access the XenServer installation media files. Choose OK to proceed.

    2. Choose Automatic configuration (DHCP) to configure the NIC using DHCP, or Static configuration to configure the NIC manually. If you choose Static configuration, enter details as appropriate.

    3. If you choose HTTP or FTP, provide the URL for your HTTP or FTP repository, and a user name and password, if appropriate.

      If you choose NFS, provide the server and path of your NFS share.

    Select OK to proceed.

  9. Indicate if you want to verify the integrity of the installation media. If you select Verify installation source, the SHA256 checksum of the packages is calculated and checked against the known value. Verification can take some time. Make your selection and choose OK to proceed.

  10. Set and confirm a root password, which XenCenter uses to connect to the XenServer host. You also use this password (with user name “root”) to log into xsconsole, the system configuration console.

  11. Set up the primary management interface that is used to connect to XenCenter.

    If your computer has multiple NICs, select the NIC which you want to use for management. Choose OK to proceed.

  12. Configure the Management NIC IP address by choosing Automatic configuration (DHCP) to configure the NIC using DHCP, or Static configuration to configure the NIC manually. To have the management interface on a VLAN network, provide the VLAN ID.

    Note:

    To be part of a pool, XenServer hosts must have static IP addresses or be DNS addressable. When using DHCP, ensure that a static DHCP reservation policy is in place.

  13. Specify the hostname and the DNS configuration, manually or automatically via DHCP.

    In the Hostname Configuration section, select Automatically set via DHCP to have the DHCP server provide the hostname along with the IP address. If you select Manually specify, enter the hostname for the server in the field provided.

    Note:

    If you manually specify the hostname, enter a short hostname and not the fully qualified domain name (FQDN). Entering an FQDN can cause external authentication to fail, or the XenServer host might be added to AD with a different name.

    In the DNS Configuration section, choose Automatically set via DHCP to get name service configuration using DHCP. If you select Manually specify, enter the IP addresses of your primary (required), secondary (optional), and tertiary (optional) DNS servers in the fields provided.

    Select OK to proceed.

  14. Select your time zone by geographical area and city. You can type the first letter of the desired locale to jump to the first entry that begins with this letter. Choose OK to proceed.

  15. Specify how you want the server to determine local time: using NTP or manual time entry. Make your selection, and choose OK to proceed.

  16. If using NTP, select NTP is configured by my DHCP server or enter at least one NTP server name or IP address in the fields below. Choose OK.

    Note:

    XenServer assumes that the time setting in the BIOS of the server is the current time in UTC.

  17. Select Install XenServer.

    If you elected to set the date and time manually, you are prompted to do so during the installation. Once set, choose OK to proceed.

  18. If you are installing from CD, the next screen asks if you want to install any supplemental packs from a CD. If you plan to install any supplemental packs provided by your hardware supplier, choose Yes.

    If you choose to install supplemental packs, you are prompted to insert them. Eject the XenServer installation CD, and insert the supplemental pack CD. Choose OK.

    Select Use media to proceed with the installation.

    Repeat for each pack to be installed.

  19. From the Installation Complete screen, eject the installation CD (if installing from CD) and select OK to reboot the server.

    After the server reboots, XenServer displays xsconsole, a system configuration console. To access a local shell from xsconsole, press Alt+F3; to return to xsconsole, press Alt+F1.

    Note:

    Make note of the IP address displayed. Use this IP address when you connect XenCenter to the XenServer host.

Install XenCenter

XenCenter must be installed on a Windows machine that can connect to the XenServer host through your network. Ensure that .NET framework version 4.6 or above is installed on this system.

The XenCenter installation media is bundled with the XenServer installation media. You can also download the latest version of XenCenter from the XenServer Download page.

To install XenCenter:

  1. Before installing XenCenter, be sure to uninstall any previous version.

  2. Launch the installer.

    If installing from the XenServer installation CD:

    1. Insert the CD into the DVD drive of the computer which you want to run XenCenter.

    2. Open the client_install folder on the CD. Double-click XenCenter.msi to begin the installation.

  3. Follow the Setup wizard, which allows you to modify the default destination folder and then to install XenCenter.

Connect XenCenter to the XenServer host

To connect XenCenter to the XenServer host:

  1. Launch XenCenter. The program opens to the Home tab.

  2. Click the Add New Server icon.

  3. Enter the IP address of the XenServer host in the Server field. Type the root user name and password that you set during XenServer installation. Click Add.

  4. The first time you add a host, the Save and Restore Connection State dialog box appears. This dialog enables you to set your preferences for storing your host connection information and automatically restoring host connections.

    If you later want to change your preferences, you can do so using XenCenter or the Windows Registry Editor.

    To do so in XenCenter: from the main menu, select Tools and then Options. The Options dialog box opens. Select the Save and Restore tab and set your preferences. Click OK to save your changes.

    To do so using the Windows Registry Editor, navigate to the key HKEY_LOCAL_MACHINE\Software\Citrix\XenCenter and add a key named AllowCredentialSave with the string value true or false.

Version

Install