You can upgrade Horizon Agent on a Linux virtual machine by installing the latest version of Horizon Agent.

When upgrading Horizon Agent on RHEL 8.x, the existing Horizon Agent configuration and virtual machine deployment mode are preserved. You can choose between the following installer options:

  • The .tar.gz installer package, which is not digitally signed.
  • The .rpm installer package, which is digitally signed.

When upgrading Horizon Agent on a Linux distribution other than RHEL 8.x, you must use the .tar.gz installer package. In addition, you can choose between two types of virtual machine deployment.

Unmanaged Virtual Machine Deployment

  • This type of upgrade is available for existing unmanaged virtual machines.
  • The Horizon Agent installer registers the virtual machine to Horizon Connection Server which requires broker admin information.
  • The Desktop Pool Creation wizard uses Other Sources in the Machine Source page to select the registered virtual machine.

Managed Virtual Machine Deployment

  • This type of upgrade is available for unmanaged or managed virtual machines.
  • The Horizon Agent installer does not communicate with Horizon Connection Server.
  • The Desktop Pool Creation wizard uses vCenter virtual machines in the Machine Source page to select the virtual machines through vCenter.
  • The deployment supports the following functions:
    • Remote Machine Power Policy
    • Allow users to reset their machines

You can use the following methods to upgrade an unmanaged virtual machine:

  • Retain the unmanaged virtual machine deployment while upgrading to the latest version of Horizon Agent. This upgrade scenario does not require any configuration modifications in Horizon Connection Server.
  • Upgrade from an unmanaged virtual machine deployment to a managed virtual machine deployment that uses the latest version of Horizon Agent. This upgrade scenario requires the creation of a new desktop pool based on the virtual machine.
Note: To ensure the best possible performance, upgrade to a managed virtual machine deployment. The Horizon Agent upgrade does not support conversion of a managed virtual machine deployment to an unmanaged virtual machine deployment.

Prerequisites

  • Verify that the VMwareBlastServer process is not running. To stop this process, use one of the following methods:
    • Ensure that the user logs off the machine and no desktop session is active.
    • Restart the virtual machine.
  • If you intend to upgrade Horizon Agent using the tarball installer, review the optional parameters for the install_viewagent.sh setup script. See Command-line Options for Installing Horizon Agent for Linux.

Procedure

  • Upgrade Horizon Agent for Linux using the unsigned tarball installer.
    Note: For a RHEL 8.x machine, you also have the option to install Horizon Agent using a digitally signed installer. See the procedure described later in this article.
    1. (RHEL 8.x) If your existing Horizon Agent version was installed using a digitally signed RPM installer, uninstall the agent software as described in Uninstall Horizon Agent From a Linux Virtual Machine.
    2. Download the latest tarball installer for Horizon Agent for Linux from the VMware download site at https://my.vmware.com/web/vmware/downloads.
      Navigate to the download page for the current release of VMware Horizon and then to the download page for VMware Horizon for 64-bit Linux.

      Download the Horizon Agent installer tarball with filename VMware-horizonagent-linux-x86_64-YYMM-y.y.y-xxxxxxx.tar.gz, where YYMM is the marketing version number, y.y.y is the internal version number, and xxxxxxx is the build number.

    3. Unpack the tarball for your Linux distribution.
      For example:
      tar -xzvf VMware-horizonagent-linux-x86_64-YYMM-y.y.y-xxxxxxx.tar.gz
    4. To support the USB Redirection feature, install the VHCI driver as described in the "VHCI Driver for USB Redirection" section of System Requirements for Horizon Agent for Linux.
    5. Navigate to the tarball folder and run the install_viewagent.sh script according to one of the following upgrade scenarios. Also, include the command-line parameters for any optional features that you want to install, such as USB Redirection.
      For a detailed list of the optional parameters available for the install_viewagent.sh script, see Command-line Options for Installing Horizon Agent for Linux.
      Option Description
      Upgrade an unmanaged virtual machine deployment and retain the unmanaged virtual machine deployment
      sudo ./install_viewagent.sh -A yes -M no

      This upgrade scenario does not require the creation of a new desktop pool. You can reuse the existing desktop pool based on the virtual machine.

      Note: To ensure the best possible performance, refrain from deploying an unmanaged virtual machine and deploy a managed virtual machine instead.
      Upgrade an unmanaged virtual machine deployment and change it to managed virtual machine deployment
      sudo ./install_viewagent.sh -A yes -M yes
      Note: In Horizon Console, delete the existing desktop pool from the unmanaged virtual machine deployment and create a new desktop pool for the managed virtual machine deployment. For more info, see Create a Manual Desktop Pool for Linux.
      Upgrade a managed virtual machine deployment
      sudo ./install_viewagent.sh -A yes -M yes
      Note: After upgrading Horizon Agent, you can reuse the existing desktop pool based on the virtual machines.
    6. Restart the Linux machine for the changes to take effect.
  • (RHEL 8.x) Upgrade Horizon Agent for Linux using a digitally signed RPM installer.
    Note: If you are upgrading Horizon Agent on a machine running a Linux distribution other than RHEL 8.x, do not use these instructions. Instead, use the procedure described earlier in this article.
    1. (RHEL 8.x) If your existing Horizon Agent version was installed using an unsigned tarball installer, uninstall the agent software as described in Uninstall Horizon Agent From a Linux Virtual Machine.
    2. Download the Horizon Agent for Linux RPM installer from the VMware download site at https://my.vmware.com/web/vmware/downloads.
      Navigate to the download page for the current release of VMware Horizon and then to the download page for VMware Horizon for 64-bit Linux.

      Download the Horizon Agent RPM package with filename VMware-horizonagent-linux-YYMM-y.y.y-xxxxxxx.el8.x86_64.rpm, where YYMM is the marketing version number, y.y.y is the internal version number, and xxxxxxx is the build number.

    3. Navigate to the folder of the downloaded RPM package and run the installer in upgrade mode.
      For example:
      sudo rpm -Uvh VMware-horizonagent-linux-YYMM-y.y.y-xxxxxxx.el8.x86_64.rpm
      Allow the upgrade to proceed without interruption. The RPM package upgrades Horizon Agent to the current version and preserves the existing Horizon Agent configuration.
    4. Restart the Linux machine for the changes to take effect.
    5. To support USB Redirection, install the VHCI driver as described in the "VHCI Driver for USB Redirection" section of System Requirements for Horizon Agent for Linux.
    6. To add more optional features to the Horizon Agent configuration or modify the configuration, run the ViewSetup.sh script as described in Command-line Options for Installing Horizon Agent for Linux.
      For example, to add the USB Redirection feature:
      /usr/lib/vmware/viewagent/bin/viewSetup.sh -U yes