Use the Update Agent Software feature to update the Horizon Agent Installer for Dedicated Desktop - Traditional Clone assignments.
At a high level, the system's agent update capability works as follows:
- The system makes regular contact with the VMware CDS software distribution network to see if a new version of the Horizon Agents Installer is available. It downloads the new version to a file share that you have set up on a local machine. The update file is then automatically imported into the system and made available to assignments.
- After a new version is downloaded, the Assignments page reflects that an update is available. A blue dot appears next to the name of those dedicated VDI desktop assignments that have the agent-related software at a level prior to the new version.
- You select the dedicated VDI assignment and start the agent update wizard. Besides selecting the agent version, in the agent update wizard, you can optionally specify the following items.
- What percentage of the assignment's VMs to keep available for users during the update.
- Whether the system skips updating VMs that have a logged-in user.
- Whether the system automatically retries updating any skipped VMs.
- Whether to keep a rollback copy of each VM so that you can roll back to the previous agent version in the case of an agent update failure.
- After you submit the update task in the wizard's last step, the system begins updating the desktops.
- The update process on each desktop VM begins with a preflight check to confirm that the VM is in a healthy state. This includes confirming that there is sufficient disk space (at least 300 MB free) and that there is no Microsoft Windows update actively in-progress, pending reboot due to Windows updates that is not cleared by two reboots, or pending reboot due to a VMware-specific application installation that is not cleared by two reboots.
- When updating the assignment, the system updates a batch of VMs in parallel. By default, the system uses 30 VMs for each batch until the remaining number of VMs to update is less than 30. At that point, that final set is for updating those remaining VMs. It takes approximately 30-45 minutes to fully update a VM, although the amount of time required can vary depending on the load and whether the rollback option is enabled or not. The batch size cannot be larger than 30. If the assignment has 30 or fewer desktops, all desktops in the assignment are updated together. Your VMware representative can adjust the batch size if you request it.
The number of in-progress VMs depends on whether you specified to have a percentage of the VMs to be kept available during the update. When you set an availability percentage, the system adjusts the set of in-progress VMs to meet the availability percentage.
Note: When you view update progress on the page, the number of VMs in progress can be larger than the expected number based on the batch size. This occurs because the system is also counting any VMs that are currently in the preflight check and rollback copy creation process.
- At the end of the agent update process, the assignment's summary page shows the version of the Horizon Agents Installer that is in use.
- If you selected the Enable Rollback option, you can roll back to the previous agent version for a VM when the agent update has failed on that VM. This option is on the Desktops tab of the assignment detail page. For more information, see Manage Desktops in a Dedicated or Floating Desktop Assignment.
During the time the system is updating the desktops, the desktops' end users encounter the following behaviors:
- If a desktop has an active session and you have Skip VMs with Active Users deactivated, that user is warned five minutes before the update occurs. This five-minute warning is to give the user time to save any in-progress work.
- If a user attempts to log in to a desktop that is being updated, the login is unsuccessful and the user receives a message that the desktop is not yet available.
Upon request, your VMware representative can make the following adjustments in your environment:
- Adjust the interval between scans for new Horizon Agents Installer versions.
- Adjust the wait time for scans after tenant startup.
- Adjust the default batch size from 30.
- Set your system to restart VMs before installing agents.
Prerequisites
Procedure
Results
- A message displays at the top of the page indicating that the update has started.
- The system updates the agent-related components on the desktop VMs in the dedicated VDI desktop assignment.
- At the end of the agent update process, the assignment's summary page lists the version of the Horizon Agents Installer that is in effect.
You can view the progress of the update task by selecting Monitor > Activity. The task description indicates the update being performed and the assignment on which it is being performed. It also shows the number of VMs in various states (Success, Skipped, and so on). If the task is not completed successfully within 24 hours, and the retry and job timeout options are not in effect, the update task is shown in failure status.
If any VMs are skipped in the update task, the update task has Partial Success status on the Activity page. In the Activity page, you can see how many VMs are skipped in the update task. If you have a number of skipped VMs at the end of the update task even though the retry option was activated, either the Job Timeout value was not long enough for the system to get to all of the skipped VMs or the end users never logged out of those VMs.
What to do next
Go to the Assignments page and see if updates were successful. If updates failed for some VMs in an assignment, there is a visual indicator next to the assignment name on the Assignments page.
If you have enabled rollback when performing the agent update, you can roll back each failed VM to the previous agent version on the Desktops tab of the assignment detail page. For more information, see Manage Desktops in a Dedicated or Floating Desktop Assignment.