XenDesktop 7.11 Install/Upgrade


A quick step-by-step guide to install or upgrade Citrix XenDesktop 7.11.

Citrix released the 7.11 version of XenDesktop/XenApp on Sept 14,2016. To be able to use the new cool features, there are two options available to you, update the controllers or install a new farm. Let’s jump in.

Make sure to catch up this series' previous posts first!

 

In-place upgrades are generally not recommended for large organizations where it is often easier to install a new infrastructure and migrate virtual machines.

XenDesktop 7.11 is the latest version available to date, and is the CR (current release) supported by Citrix. Most of large organizations will not deploy CR version of XenDesktop in production but will install the current LTSR (Long Term Support Release) and only schedule a migration to the next LTSR version available.

In the following post, we will review how to do both upgrade and installation of a new farm, so you guys are all covered.

Lab configuration

XenDesktop

  • CDC01.citrixguru.lab Running XenDesktop 7.7 Platinum
    • IP: 10.0.0.71
  • CDC02.citrixguru.lab – XenDesktop not installed
    • IP: 10.0.0.72

SQL

  • SQL 2014 Dedicated server
  • SQL01.citrixguru.lab
    • IP: 10.0.0.5
  • Databases:
    • XD7_DB
    • XD7_LOGS

Download Citrix XenDesktop 7.11

Go to https://www.citrix.com/downloads/xenapp-and-xendesktop/product-software/xenapp-and-xendesktop-711.html and select the version you want to download.

Getting started

Requirements

You can find the full list of requirements here: https://docs.citrix.com/en-us/xenapp-and-xendesktop/7-11/system-requirements.html

Below are my highlighted items:

  • XenDesktop 5.6 and up
  • Upgrade License Server to the latest version available
  • Software Maintenance / Subscription Advantage eligibility date: Sep 8, 2016
  • Windows Server 2008 R2 SP1 and up
  • Microsoft .NET Framework 3.5.1 & 4.5.2
  • Database 2008 R2 and up
    • SQL Server AlwaysOn Failover Cluster Instances
    • SQL Server 2012 AlwaysOn Availability Groups
    • SQL Server Database Mirroring
    • see the Sizing guidance article
  • Windows authentication
  • SQL permissions
  • Controllers -> 5 GB RAM

Precautions

  • Take a snapshot of all XenDesktop/XenApp controllers
  • Backup all SQL DB related to XenDesktop/XenApp

Usefull articles

Upgrade to Citrix XenDesktop 7.11

Mount the .ISO file and wait for the setup to start.

XenDesktop 7.11 Setup
XenDesktop 7.11 Setup

Select Upgrade (on the left).

Upgrade XenDesktop to 7.11
Upgrade XenDesktop to 7.11
Upgrade
Upgrade

Accept the XenDesktop 7.11 licensing agreement.

Accept the license
Accept the license

Read XenDesktop 7.11 requirements and Select Next.

Read requirements
Read requirements

Make sure that the SA is not older than 2016.0908 and that your license server is running the latest version available at the time. Here, I will upgrade my license later so I’ve selected “Let me continue, I understand that users will be unable to access their desktops and applications until the license server has been upgraded“.

Licensing XenDesktop 7.11
Licensing XenDesktop 7.11

Select Automatically and Next.

Firewall configuration
Firewall configuration

Last summary before the upgrade. Select Upgrade once you’re ready.

Summary
Summary

Upgrade in progress…

Upgrade in progress
Upgrade in progress

The setup will need to restart the server if .NET 4.5.2 is not installed.

Restart
Restart
Install restart
Install restart

Microsoft .NET 4.5.2 is installed.

Microsoft .NET 4.5.2 is installed
Microsoft .NET 4.5.2 is installed

Installation continue.

Installation continue
Installation continue

Select I do not want to participate in Call Home.

Select I do not want to participate in Call Home
Select I do not want to participate in Call Home

Installation was successful.

Installation was successful
Installation was successful

The console will start automatically.

Select the license server has been upgraded. Let me continue.

License question
License question

Here is the critical part of the upgrade. I recommend to select Manually upgrade this site to avoid any issue during this step.

Manually upgrade this site
Manually upgDisablerade this site

The wizard will automatically create the scripts.

  • DisableServices.ps1: Stop all XenDesktop services
  • EnableServices.ps1: Start all XenDesktop services
  • UpgradeLoggingDatabase.sql: script to upgrade the logging SQL DB
  • UpgradeMonitorDatabase.sql: script to upgrade/create the monitoring SQL DB
  • UpgradeSiteDatabase.sql: script to upgrade the default Site SQL DB
XenDesktop installer scripts
XenDesktop installer scripts

Below is the process to follow to do the manual upgrade.

Manually upgrade XenDesktop SQL DBs
Manually upgrade XenDesktop SQL DBs

Run the first script to disable XenDesktop services.

citrixguru_lab_capture_679_1474413369

Then connect to your SQL server to run the 3 scripts in the following order in Microsoft Management Studio:

  1. UpgradeLoggingDatabase.sql
  2. UpgradeMonitorDatabase.sql
    1. You might have to create manually the database if you don’t have it.
  3. UpgradeSiteDatabase.sql:

IMPORTANT:  select SQLCMD or the script will fail and you will have to restore your database from a backup. 

Run EnableServices.ps1 to restart the services.

Note: below is the screen for automatic upgrade.

Auto Upgrade
Auto Upgrade

Then select Continue in the wizard to finish the upgrade.

DB Upgrade done
DB Upgrade done

The screen above will run for few minutes.

Install XenDesktop 7.11

Mount the .ISO file and wait for the setup to start.

XenDesktop 7.11 Setup
XenDesktop 7.11 Setup

Select XenDesktop, start.

Start XenDesktop install
Start XenDesktop install

Then select Delivery Controller.

Delivery controller
Delivery controller

Accept the software license.

Accept the software license
Accept the software license

Select the core components.

Here we will only install Delivery Controller and Studio on our server.

Components
Components

Uncheck SQL Express as we have a dedicated SQL server.

Features
Features

Automatically Open firewall ports.

Automatically Open firewall ports
Automatically Open firewall ports

Summary of the installation.

Summary of the installation
Summary of the installation

I do not want to participate in Call Home.

I do not want to participate in Call Home
I do not want to participate in Call Home

Then wait around 10mins.

XenDesktop 7.11 is installed
XenDesktop 7.11 is installed

Create a new XenDesktop 7.11 site

Start Citrix Studio console and select Deliver applications and desktops to your users .

Citrix Studio console
Citrix Studio console

Select An Empty, unconfigured Site:

  • Site name: CitrixGuruXenDesktopSite
Select An Empty, unconfigured Site
Select An Empty, unconfigured Site

Select Generate scripts to manually set up databases on the database server.

Database configuration:

  • Site: XD7_DB
  • Monitoring: XD7_MONITORING
  • Logging: XD7_LOGS
Database configuration
Database configuration

Do not select additional features at this time. If needed you can configure them later.

Features
Features

Summary. Select Generate scripts to create Database SQL scripts.

 Summary
Summary

Script generation in progress.

Script generation in progress
Script generation in progress

Give the scripts to your SQL administrators and specify that they need to run in SQLCMD.
More details about the XenDesktop 7.x database permissions in this article: XenApp/XenDesktop 7.x database permissions

Note: Databases must be created manually before running the scripts.

Select Continue Database configuration and Site setup, once all the scripts have been executed.

Continue Database configuration and Site setup
Continue Database configuration and Site setup

Enter your SQL server information.

SQL Server info
SQL Server info

XenDesktop will try to connect to the server.

Validation SQL server
Validation SQL server

Then enter your license server address and select Connect.

Connect to license server
Connect to license server

Select the product and the model, here we have Citrix XenDesktop Platinum User/Device licenses.

Product and Model
Product and Model

Do not select additional features at this time. If needed you can configure them later.

Features
Features

Summary of the configuration.

Summary configuration
Summary configuration

Wait few minutes.

Configuration in progress
Configuration in progress

When configured, Studio will automatically load the console.

citrixguru_lab_capture_695_1474416501

Join an existing XenDesktop 7.11 site

Here will join CDC02.citrixguru.lab to the existing XenDesktop site.

Select Connect this Delivery Controller to an existing Site.

Connect this Delivery Controller to an existing Site
Connect this Delivery Controller to an existing Site

Type the FQDN of a controller member of the XenDesktop site you wish to join.

Here: cdc01.citrixguru.lab.

Type the FQDN of a controller member of the XenDesktop site
Type the FQDN of a controller member of the XenDesktop site

Select No to upgrade manually the database with this new controller.

Manual Upgrade.
Manual Upgrade

Select Generate scripts.

Generate scripts
Generate scripts

More details here: XenApp/XenDesktop 7.x database permissions.

Below are few screenshots of the process.

Run XenDesktop Join Site SQL scripts 1/3
Run XenDesktop Join Site SQL scripts 1/3
Run XenDesktop Join Site SQL scripts 2/3
Run XenDesktop Join Site SQL scripts 2/3
Run XenDesktop Join Site SQL scripts 3/3
Run XenDesktop Join Site SQL scripts 3/3

Once executed with no issues, select OK to continue.

Scripts executed
Scripts executed

XenDesktop will check if the XenDesktop database is properly configured.

Database validations
Database validations

Citrix Studio will automatically loads if everything is ok.

XenDesktop 7.11 console
XenDesktop 7.11 console

Check the controllers.

XenDesktop 7.11 controllers
XenDesktop 7.11 controllers

And finally check the version in the Studio console to confirm that the upgrade was successful.

Citrix XenDesktop 7.11.0.40
Citrix XenDesktop 7.11.0.40

Citrix XenDesktop 7.11.0.40 was successfully installed/upgraded.

Make sure to catch up this series' previous posts first!

 

2 COMMENTS

  1. Thanks for this great post, could you tell me what the Local Host Cache DB is meaning? Which was Installed with the DDC? Will Local Host Cache be back in this release or is it only preparation for the next release?

Comments are closed.