Image Image Image Image Image Image Image Image Image Image
Scroll to top

Top

One Comment

Lab: Part 26 – Install/Upgrade Citrix XenDesktop 7.11

Lab: Part 26 – Install/Upgrade Citrix XenDesktop 7.11

| On 21, Sep 2016




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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 660 1474405985

XenDesktop 7.11 Setup

Select Upgrade (on the left).

Upgrade XenDesktop to 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 661 1474406033

Upgrade XenDesktop to 7.11

Upgrade Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 662 1474406059

Upgrade

Accept the XenDesktop 7.11 licensing agreement.

Accept the license  Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 663 1474411060

Accept the license

Read XenDesktop 7.11 requirements and Select Next.

Read requirements Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 664 1474411122

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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 665 1474411162

Licensing XenDesktop 7.11

Select Automatically and Next.

Firewall configuration Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 666 1474411182

Firewall configuration

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

Summary Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 667 1474411218

Summary

Upgrade in progress…

Upgrade in progress Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 668 1474411231

Upgrade in progress

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

Restart Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 669 1474411440

Restart

Install restart Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 670 1474411752

Install restart

Microsoft .NET 4.5.2 is installed.

Microsoft .NET 4.5.2 is installed Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 671 1474411830

Microsoft .NET 4.5.2 is installed

Installation continue.

Installation continue Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 672 1474412550

Installation continue

Select I do not want to participate in Call Home.

Select I do not want to participate in Call Home Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 673 1474412691

Select I do not want to participate in Call Home

Installation was successful.

Installation was successful Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 674 1474412723

Installation was successful

The console will start automatically.

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

License question Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 675 1474413031

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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 676 1474413054

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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 677 1474413073

XenDesktop installer scripts

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

Manually upgrade XenDesktop SQL DBs Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 678 1474413085

Manually upgrade XenDesktop SQL DBs

Run the first script to disable XenDesktop services.

citrixguru_lab_capture_679_1474413369 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 723 1474476780

Auto Upgrade

Then select Continue in the wizard to finish the upgrade.

DB Upgrade done Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 681 1474414118

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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 660 1474405985

XenDesktop 7.11 Setup

Select XenDesktop, start.

Start XenDesktop install Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 696 1474416890

Start XenDesktop install

Then select Delivery Controller.

Delivery controller Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 697 1474416906

Delivery controller

Accept the software license.

Accept the software license Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 698 1474416929

Accept the software license

Select the core components.

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

Components Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 699 1474416944

Components

Uncheck SQL Express as we have a dedicated SQL server.

Features Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 700 1474416955

Features

Automatically Open firewall ports.

Automatically Open firewall ports Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 701 1474416973

Automatically Open firewall ports

Summary of the installation.

Summary of the installation Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 703 1474417029

Summary of the installation

I do not want to participate in Call Home.

I do not want to participate in Call Home Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 704 1474417854

I do not want to participate in Call Home

Then wait around 10mins.

XenDesktop 7.11 is installed Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 705 1474417880

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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 706 1474418012

Citrix Studio console

Select An Empty, unconfigured Site:

  • Site name: CitrixGuruXenDesktopSite
Select An Empty, unconfigured Site Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 682 1474415564

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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 683 1474415620

Database configuration

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

Features Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 684 1474415654

Features

Summary. Select Generate scripts to create Database SQL scripts.

Summary Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 685 1474415664

Summary

Script generation in progress.

Script generation in progress Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 686 1474415681

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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 687 1474416280

Continue Database configuration and Site setup

Enter your SQL server information.

SQL Server info Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 688 1474416321

SQL Server info

XenDesktop will try to connect to the server.

Validation SQL server Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 689 1474416338

Validation SQL server

Then enter your license server address and select Connect.

Connect to license server Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 690 1474416384

Connect to license server

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

Product and Model  Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 691 1474416395

Product and Model

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

Features Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 692 1474416407

Features

Summary of the configuration.

Summary configuration Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 693 1474416419

Summary configuration

Wait few minutes.

Configuration in progress Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 694 1474416436

Configuration in progress

When configured, Studio will automatically load the console.

citrixguru_lab_capture_695_1474416501 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 706 1474418012

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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 707 1474418040

Type the FQDN of a controller member of the XenDesktop site

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

Manual Upgrade.  Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 708 1474418059

Manual Upgrade

Select Generate scripts.

Generate scripts Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 709 1474418077

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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 710 1474418229

Run XenDesktop Join Site SQL scripts 1/3

Run XenDesktop Join Site SQL scripts 2/3 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 711 1474418265

Run XenDesktop Join Site SQL scripts 2/3

Run XenDesktop Join Site SQL scripts 3/3 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 712 1474418284

Run XenDesktop Join Site SQL scripts 3/3

Once executed with no issues, select OK to continue.

Scripts executed Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 713 1474418304

Scripts executed

XenDesktop will check if the XenDesktop database is properly configured.

Database validations Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 714 1474418310

Database validations

Citrix Studio will automatically loads if everything is ok.

XenDesktop 7.11 console Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 715 1474418401

XenDesktop 7.11 console

Check the controllers.

XenDesktop 7.11 controllers Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 716 1474418419

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 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 Lab: Part 26 - Install/Upgrade Citrix XenDesktop 7.11 CitrixGuru Lab Capture 722 1474419663

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!

 

Nicolas ignoto
Nicolas ignoto
Nicolas ignoto

Comments

  1. Daniel

    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?

Submit a Comment

Leave a Reply