Because vCenter Server and View Composer are often installed on the same virtual or physical machine, some preparation tasks apply to both.
Preparing for Upgrades That Include vSphere
If you are upgrading vCenter Server in addition to upgrading to the latest version of Horizon 7, you must consult the VMware vSphere Upgrade Guide and perform the following tasks in the following order:
- Verify that the virtual or physical machine meets the system requirements for the version of vCenter Server that you want to upgrade to.
- Verify that the virtual or physical machine on which the current View Composer is installed meets the security requirements for the new version.
- If vCenter Server is installed in a virtual machine, take a snapshot of the virtual machine.
For instructions on taking snapshots, see the vSphere Client™ online help.
- If the computer name is longer than 15 characters, shorten the name to 15 or fewer characters.
- Back up the vCenter Server database and the View Composer database.
For instructions on performing a database backup, see the documentation from your database vendor.
- Verify that the database server is compatible with the version of vCenter Server you plan to use.
For example, if the database server is Oracle 9i, you must upgrade.
- Verify that the database is compatible with the new version of View Composer.
View Composer supports a subset of the database servers that vCenter Server supports. If you are already using vCenter Server with a database server that is not supported by View Composer, continue to use that database server for vCenter Server and install a separate database server to use for View Composer and Horizon 7 database events.
- Make a copy of the folder that contains TLS certificates.
This folder is located at %ALLUSERSPROFILE%\Application Data\VMware\VMware VirtualCenter.
- Document the IP address and system name of the machine on which vCenter Server is installed.
- For all linked-clone and instant-clone desktop pools, use Horizon Administrator to disable provisioning of new virtual machines.
For linked-clones, because View Composer might be upgraded during a different maintenance window than its desktop pools, provisioning must be postponed until both components are upgraded.
- If any linked-clone desktop or instant-clone desktop pools are set to refresh the OS disk on logoff, use Horizon Administrator to edit the Desktop/Pools settings for that pool and set Delete or refresh machine on logoff to Never.
For linked-clones, this setting prevents an error from occurring when the newly upgraded View Composer attempts to refresh a desktop on which Horizon Agent has not yet been upgraded.
- If any linked-clone or instant-clone desktop pools are scheduled to do a refresh, recompose, or image push operation, use Horizon Administrator to cancel these tasks.
Preparing for Upgrades of View Composer Only
If you are upgrading only View Composer and are not upgrading vCenter Server, you must perform the following tasks:
- Verify that the virtual or physical machine on which the current View Composer is installed meets the security requirements for the new version.
- If View Composer is installed in a virtual machine, take a snapshot of the virtual machine.
For instructions on taking snapshots, see the vSphere Client online help.
- Back up the View Composer database.
For instructions on performing a database backup, see the documentation from your database vendor.
- Verify that the database is compatible with the new version of View Composer.
View Composer supports a subset of the database servers that vCenter Server supports. If you are already using vCenter Server with a database server that is not supported by View Composer, continue to use that database server for vCenter Server and install a separate database server to use for View Composer and Horizon 7 database events.
- Document the IP address and system name of the machine on which vCenter Server is installed.
- For all linked-clone desktop pools, use Horizon Administrator to disable provisioning of new virtual machines.
Because View Composer might be upgraded during a different maintenance window than its desktop pools, provisioning must be postponed until both components are upgraded.
- If any desktop pools are set to refresh the OS disk on logoff, use Horizon Administrator to edit the Desktop/Pools settings for that pool and set Delete or refresh machine on logoff to Never.
This setting prevents an error from occurring when the newly upgraded View Composer attempts to refresh a desktop on which View Agent has not yet been upgraded.
- If any desktop pools are scheduled to do a refresh or recompose operation, use Horizon Administrator to cancel these tasks.