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

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.

Procedure

  1. Download the latest installer file 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. In the product downloads list, find the installer file for Horizon Agent for 64-bit Linux systems.

    The installer filename is VMware-horizonagent-linux-x86_64-y.y.y-xxxxxxx.tar.gz for 64-bit Linux where y.y.y is the version number and xxxxxxx is the build number.

  2. Unpack the tarball for your Linux distribution.
    For example:
    tar -xzvf <Horizon Agent tar ball>
  3. Navigate to the tarball folder.
  4. To upgrade an unmanaged virtual machine, run the install_viewagent.sh script using one of the following upgrade scenarios.
    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.
    For a detailed list of the optional parameters available for the install_viewagent.sh script, see install_viewagent.sh Command-Line Options.