Overview of Horizon Published Apps Maintenance Operations
Maintenance operations serve two primary purposes:
- Push updates to operating systems and applications, or any other changes necessary for the RDS hosts in your farms.
- Refresh RDS hosts in your farm so end users are always accessing a clean, optimized environment.
In this lesson you will learn how and when to use maintenance operations.
With the maintenance operations, you can schedule recurring or immediate maintenance of all the RDS hosts in an automated instant-clone farm. During each maintenance cycle, all the RDS hosts are refreshed from the parent virtual machine.
You can make changes to the parent virtual machine without affecting the RDS host instant clones because the snapshot of the current parent VM is used for maintenance. The instant clones created in the automated farm use the information in the parent VM for their system configuration.
You can schedule maintenance on an automated farm but not on individual RDS hosts in the farm.
If possible, schedule maintenance operations during off-peak hours to ensure all that RDS hosts have finished maintenance and are available during peak hours.
Immediate Farm Maintenance Operation
Immediate farm maintenance is a one off update or refresh of the RDSH farm. To address operating system or application drift, the current Master image snapshot may be used for the refresh operation. To quickly distribute security patches or other updates to the farm, a new Master image snapshot may be selected.
Immediate farm maintenance operations can be run immediately, or scheduled to run (one time) at a later date.
Order of operations when an immediate farm maintenance operation occurs:
- Old RDS hosts in the farm are deleted
- New Parent VMs are created if updating to a new snapshot
- New RDS host Instand Clones are created
- A minimum number of RDS hosts are kept available during maintenance
Recurring Farm Maintenance Operation
Recurring farm maintenance is an automated means of restoring RDS hosts in a farm to a known good running state.
Recurring maintenance operations can be scheduled daily, weekly, or monthly.
If you create a recurrent maintenance schedule and select a new Master image snapshot:
- The first time the maintenance operation occurs, the RDS hosts in the farm will be updated to the new image.
- Subsequent maintenance operations will refresh, or regenerate the RDS Instant Clones in the farm, ensuring the farm is running in an optimal condition.
Maintenance Operation Recommended Practices
A recurring maintenance schedule ensures that the RDS hosts are periodically regenerated. Potential contamination is removed so that the farm runs optimally. Because the maintenance operation does only provisioning, the operation needs little time to complete, which is one of the many reasons why using instant clones is highly recommended.
We recommend scheduling weekly or daily maintenance outside of business hours to minimize the impact on users. If you have multiple shifts per day of users, weekly maintenance is recommended. Otherwise, daily maintenance is recommended.