VMware Horizon 8 upgrade sequence

3

When a new version of Horizon is released by VMware, to upgrade the VDI infrastructure it is necessary to follow a specific upgrade sequence to avoid service disruption.

VMware is releasing new versions about every three months for the VDI platform Horizon and it is suggested to keep the infrastructure up-to-date to take benefit of new features provided fixing bugs and enforcing the security.

VMware Horizon 8 upgrade sequence

In a typical on-premises Horizon infrastructure, the installed components are mainly the following:

  • Connection Servers – the core system
  • UAGs – for external connections
  • App Volumes – to provide persistent area and virtual apps
  • Agents – installed in the VDI client
  • DEM Tool – to customize the user environment

When a new version is released, the upgrade procedure must be planned carefully by following the correct upgrade sequence (see the table from VMware).

vmware horizon 8 upgrade sequence 02 600x358 1

It is important to follow the correct upgrade sequence to avoid potential issues and service disruption.

Before proceeding with the upgrade, download from VMware website the latest Horizon components version to install.

Upgrade the Horizon Client

If you use the Horizon Client to connect the VDI infrastructure, this is the first component to upgrade. Open the Horizon Client, click  (3 dots) then select Software Updates. If a new version is found, proceed with the download.

Click Yes, update to install the upgrade.

vmware horizon 8 upgrade sequence 04

Click Agree & Upgrade button.

The client is being upgraded.

vmware horizon 8 upgrade sequence 06

When the upgrade is complete, click Finish.

Click Restart Now to complete the upgrade procedure.

vmware horizon 8 upgrade sequence 08

The Horizon Client has been upgraded successfully with the latest version.

Upgrade the App Volumes Manager

If App Volumes is used in your VDI infrastructure, this is the next component to upgrade. To limit the service degradation during the upgrade process, schedule a maintenance window to limit the traffic.

To restore the App Volumes service in case something bad occurs during the upgrade procedure, make sure you have the backup of the App Volumes database and create a full backup or take a snapshot of the App Volumes Manager server.

Download the latest version and run the App Volumes Manager installer. Click Next.

vmware horizon 8 upgrade sequence 10

Accept the EULA and click Next.

Click Install to proceed with the upgrade.

vmware horizon 8 upgrade sequence 12

Click OK.

The upgrade is being installed. The procedure takes several minutes.

vmware horizon 8 upgrade sequence 14

When the upgrade has been completed, click Finish to exit the wizard and reboot the server.

The App Volumes Manager has been upgraded successfully.

vmware horizon 8 upgrade sequence 16 600x438 1

Upgrade the Connection Server

The Connection Server is the next component to upgrade in the upgrade sequence. Before proceeding, take a snapshot of the Connection Server to process.

It is also recommended to take the backup of the LDAP database using the vdmexport.exe utility. In the Connection Server open the Command Prompt and type the following commands:

C:\> cd \Program Files\VMware\VMware View\Server\tools\bin
C:\...> vdmexport.exe -f c:\temp\backupdb.ldf
vmware horizon 8 upgrade sequence 18 600x107 1

The exported DB file.

If your infrastructure uses load balancers to manage a group of Connection Servers, before upgrading a specific server you need first to disable the server to process. No need to modify the configuration of the load balancers.

To disable the Connection Server to upgrade, open the Horizon console and go to Settings > Servers area. Go to Connection Servers tab and select the Connection Server to disable. Click the Disable button.

vmware horizon 8 upgrade sequence 20 600x353 1

Click OK to confirm.

The selected Connection Server has been disabled.

vmware horizon 8 upgrade sequence 22 600x425 1

Login to the just disabled server and run the Connection Server installer. Click Next.

Accept the EULA and click Next.

vmware horizon 8 upgrade sequence 24

Click Next.

Click Next.

vmware horizon 8 upgrade sequence 26

Click Install to proceed with the upgrade.

The upgrade is being installed in the Connection Server.

vmware horizon 8 upgrade sequence 28

After a few minutes, the installation is completed successfully. Click Finish to exit the wizard.

Enable the upgraded server and repeat the same procedure for all the others Connection Servers installed.

vmware horizon 8 upgrade sequence 30 600x306 3

Disable the next Connection Server and run the upgrade.

The Connection Servers have been upgraded successfully and the new version is reported in the Version column.

vmware horizon 8 upgrade sequence 32 600x290 1

Upgrade UAG

The UAG upgrade is the next step included in the VMware Horizon 8 upgrade sequence. An in-place upgrade is not available and you need to re-deploy the UAG appliance.

To avoid clients disconnection, turn on Quiesce Mode in the first UAG to upgrade to make the appliance status as not available when the load balancer checks the health of the appliance. When a new connection request arrives, the load balancer will pass it on to the next available UAG.

Login the UAG by entering the correct credentials. Click Login.

Click Select in the Configure Manually pane.

vmware horizon 8 upgrade sequence 34 600x324 1

In the Advanced Settings section, click the System Configuration gearbox icon.

Turn on the Quiesce Mode toggle and click Save at the bottom. Existing sessions will be kept for 10 hours, after which the sessions are closed.

vmware horizon 8 upgrade sequence 36 600x229 1

To preserve all configured settings, the UAG configuration must be exported. Scroll down until Support Settings section then click JSON button to export the configuration.

Save the configuration anywhere on your computer.

vmware horizon 8 upgrade sequence 38 600x391 1

Now Power off and Delete from Disk the old UAG appliance.

Deploy the new UAG appliance.

vmware horizon 8 upgrade sequence 40 600x378 1

Once deployed, Power On and Login the new appliance then click Select in the Import Settings pane.

Click Browse and select the JSON file previously saved then click Import.

vmware horizon 8 upgrade sequence 42 600x161 1

The new UAG is now up and running.

If the communication between the new UAG and the Connection Server is not established and you are using a .local internal domain, make sure you modified the entry in the resolved.conf file in the UAG appliance.

vmware horizon 8 upgrade sequence 44 600x295 1

If an SSL certificate was previously installed in the old UAG, you must upload the certificate again since it is not saved in the JSON file.

Repeat the same procedure for the additional UAGs installed in your infrastructure.

Upgrade Agents

To match the Horizon infrastructure version, all the Agents installed in the Golden Image must be upgraded accordingly:

  • Horizon Agent
  • App Volumes agent
  • DEM agent

If the RDS farm is configured in the VDI infrastructure to publish applications, the Horizon Agent must be upgraded also in the RDS server.

vmware horizon 8 upgrade sequence 46

Upgrade the DEM Console

If the DEM Tool is used to configure the user environment, the DEM console must be updated on all computers where it has been installed.

Run the DEM installer and click Next.

Accept the EULA and click Next.

vmware horizon 8 upgrade sequence 48

Click Next.

Click Next.

Make sure VMware DEM Management Console is selected for the installation. Click Next.

vmware horizon 8 upgrade sequence 50

Click Upgrade.

DEM is being upgraded.

vmware horizon 8 upgrade sequence 52

When the upgrade has been completed, click Finish to exit the wizard.

Upgrade Horizon and DEM admx files

The last step in the upgrade sequence is the upgrade of both Horizon and DEM admx files.

Copy the new admx templates to the correct folder in the Domain Controller.

C:\Windows\SYSVOL\sysvol\<domain>\Policies\PolicyDefinitions

vmware horizon 8 upgrade sequence 54 600x251 1

Following the correct upgrade sequence, administrators don’t experience bad issues in the Horizon infrastructure due to the upgrade procedure and the VDI service won’t be disrupted.

Leave A Reply

Your email address will not be published.