Before you upgrade the vCenter Server appliance, you must download the vCenter Server installer ISO file and mount it to a network virtual machine or physical server from which you want to perform the upgrade.
The computer from which you upgrade the appliance must run on a Windows, Linux, or Mac operating system that meets the operating system requirements. See System Requirements for the vCenter Server Installer.
Before upgrading a vCenter Server appliance, you must prepare the ESXi hosts in the inventory.
Before upgrading a vCenter Server deployment using an external Platform Services Controller, you must first converge the external Platform Services Controller to an embedded Platform Services Controller and then perform the upgrade. See Knowledge Base article KB 68137.
If the vCenter Server appliance uses an external Oracle database, you must determine the size of the existing database.
If vCenter Server appliance uses an external Update Manager instance, you must run the Migration Assistant on the computer running Update Manager.
System Requirements for the vCenter Server Installer
You can run the vCenter Server GUI or CLI installer from a network client machine that is running on a Windows, Linux, or Mac operating system of a supported version.
To ensure optimal performance of the GUI and CLI installers, use a client machine that meets the minimum hardware requirements.
Operating System | Supported Versions | Minimum Hardware Configuration for Optimal Performance |
---|---|---|
Windows |
|
4 GB RAM, 2 CPU having 4 cores with 2.3 GHz, 32 GB hard disk, 1 NIC |
Linux |
|
4 GB RAM, 1 CPU having 2 cores with 2.3 GHz, 16 GB hard disk, 1 NIC
Note: The CLI installer requires 64-bit OS.
|
Mac |
|
8 GB RAM, 1 CPU having 4 cores with 2.4 GHz, 150 GB hard disk, 1 NIC |
Download and Mount the vCenter Server Installer
The vCenter Server appliance ISO image contains GUI and CLI installers for the vCenter Server appliance.
- Deploy the vCenter Server appliance.
- Upgrade the vCenter Server appliance.
- Converge older versions of vCenter Server with an external Platform Services Controller to the current version of vCenter Server.
- Restore a vCenter Server appliance from a file-based backup.
Prerequisites
- Create an account at https://support.broadcom.com/web/ecx .
- Verify that your client machine meets the system requirements for the vCenter Server installer. See System Requirements for the vCenter Server Installer.
Procedure
What to do next
Open the readme.txt file and review the information about the other files and directories in the vCenter Server appliance ISO image.
Synchronizing Clocks on the vSphere Network
Verify that all components on the vSphere network have their clocks synchronized. If the clocks on the physical machines in your vSphere network are not synchronized, SSL certificates and SAML tokens, which are time-sensitive, might not be recognized as valid in communications between network machines.
Unsynchronized clocks can result in authentication problems, which can cause the installation to fail or prevent the vCenter Server vmware-vpxd service from starting.
Time inconsistencies in vSphere can cause the first boot of a component in your environment to fail at different services depending on where in the environment time is not accurate and when the time is synchronized. Problems most commonly occur when the target ESXi host for the destination vCenter Server is not synchronized with NTP or PTP. Similarly, issues can arise if the destination vCenter Server migrates to an ESXi host set to a different time due to fully automated DRS.
To avoid time synchronization issues, ensure that the following is correct before installing, migrating, or upgrading a vCenter Server instance.
The target ESXi host where the destination vCenter Server is to be deployed is synchronized to NTP or PTP.
The ESXi host running the source vCenter Server is synchronized to NTP or PTP.
When upgrading or migrating from vSphere 6.7 to vSphere 8.0, if the vCenter Server appliance is connected to an external Platform Services Controller, ensure the ESXi host running the external Platform Services Controller is synchronized to NTP or PTP.
If you are upgrading or migrating from vSphere 6.7 to vSphere 8.0, verify that the source vCenter Server or vCenter Server appliance and external Platform Services Controller have the correct time.
Verify that any Windows host machine on which vCenter Server runs is synchronized with the Network Time Server (NTP) server. See the VMware knowledge base article at https://kb.vmware.com/s/article/1318.
To synchronize ESXi clocks with an NTP or a PTP server, you can use the VMware Host Client. For information about editing the time configuration of an ESXi host, see topic Edit the Time Configuration of an ESXi Host in the VMware Host Client in the vSphere Single Host Management - VMware Host Client documentation.
To learn how to change time synchronization settings for vCenter Server, see topic Configure the System Time Zone and Time Synchronization Settings in the vCenter Server Configuration documentation.
To learn how to edit the time configuration for a host by using the vSphere Client, see topic Editing the Time Configuration Settings of a Host in the vCenter Server and Host Management documentation.
Transferring Data from an Existing vCenter Server Appliance
Typically, data transfer happens as part of the upgrade downtime. However, in some scenarios you can choose to transfer a part of the data after upgrade or migration to minimize the downtime.
Transfer of data after upgrade or migration is supported in the following scenarios:
-
Migrating vCenter Server for Windows to vCenter Server Appliance
-
Upgrading vCenter Server appliance with external database
Note: You can only transfer data from external database to the embedded PostgreSQL database in the background after upgrade or migration. Transferring data from an embedded PostgreSQL database to another embedded PostgreSQL database after upgrade or migration is not supported.
You can transfer the minimum amount of data necessary to be operational during the upgrade. Later, you can transfer the remaining data from the external database to the embedded PostgreSQL database in the background, preserving your deployment's historical event and performance data.
You can transfer historical data after the upgrade or migration from the following vCenter Server versions using external databases to the embedded PostgreSQL database within the vCenter Server appliance.
vCenter Server Versions | Databases | Support for Data Transfer After Upgrade or Migration |
---|---|---|
vCenter Server appliance 6.7 | Embedded PostgreSQL database | Not Supported |
vCenter Server for Windows 6.7 | External Oracle or MS SQL database | Supported |
Embedded PostgreSQL database | Not supported | |
vCenter Server appliance 7.0 | Embedded PostgreSQL database | Not supported |
- Configuration data
- The minimum type of data you must transfer from your existing vCenter Server appliance external database to upgrade or migrate to a functioning vCenter Server appliance. This data can be transferred in a reasonably short amount of time, minimizing downtime during the upgrade to vCenter Server 8.0.
- Configuration and historical data
-
In addition to the configuration data, you can choose to transfer historical data such as usage statistics, events, and tasks. The
vCenter Server installer gives you the option to copy both the configuration and historical data at one time, or to copy only the configuration data during the upgrade process. You can then choose to copy the historical data in the background after you start your new
vCenter Server.
Attention: If you choose to copy all data at one time, you cannot start vCenter Server until all the data has been transferred to the embedded PostgreSQL database within vCenter Server 8.0.
- Configuration, historical, and performance metrics data
- The largest amount of data you can choose to transfer to vCenter Server. You can copy only the configuration data during the upgrade process, and then copy the historical and performance data in the background after the upgrade or migration to vCenter Server 8.0 finishes.
Monitor and Manage Historical Data Migration
- Monitor the progress of the data migration.
- Pause the data import.
- Cancel the data import.
Important: If you cancel the data import, the historical data is not imported to the embedded PostgreSQL database. If you cancel the data import operation, you cannot recover the data. If you do cancel the data import, and want to import the historical data later, you must restart the upgrade or migration process from Stage 1 of the GUI installer.
Prepare ESXi Hosts for vCenter Server Appliance Upgrade
Before upgrading to vCenter Server 8.0, you must prepare your ESXi hosts.
Prerequisites
To upgrade vCenter Server appliance, your ESXi hosts must meet the requirements for upgrade.
- ESXi hosts must be at version 6.7 or later. For information on ESXi compatibility, see the VMware Compatibility Guide.
- Your source and target ESXi hosts must not be in lockdown or maintenance mode, and not part of fully automated DRS clusters.
- Review your environment's Certificate Authority (CA) signed SSL certificates. To learn about manually reviewing CA signed SSL certificates in a vSphere environment, see Knowledge Base article KB 2111411.
Procedure
Results
Your ESXi hosts are ready for the vCenter Server appliance upgrade.
ESXi Host Upgrades and Certificates
If you upgrade an ESXi host to ESXi 6.7 or later, the upgrade process replaces the self-signed (thumbprint) certificates with VMCA-signed certificates. If the ESXi host uses custom certificates, the upgrade process retains those certificates even if those certificates are expired or invalid.
The recommended upgrade workflow depends on the current certificates.
Host Provisioned with Thumbprint Certificates
If your host is currently using thumbprint certificates, it is automatically assigned VMCA certificates as part of the upgrade process.
Host Provisioned with Custom Certificates
If your host is provisioned with custom certificates, usually third-party CA-signed certificates, those certificates remain in place during upgrade. Change the certificate mode to Custom to ensure that the certificates are not replaced accidentally during a certificate refresh later.
Going forward, vCenter Server monitors the certificates and displays information, for example, about certificate expiration, in the vSphere Client.
Hosts Provisioned with Auto Deploy
Hosts that are being provisioned by Auto Deploy are always assigned new certificates when they are first booted with ESXi 6.7 or later software. When you upgrade a host that is provisioned by Auto Deploy, the Auto Deploy server generates a certificate signing request (CSR) for the host and submits it to VMCA. VMCA stores the signed certificate for the host. When the Auto Deploy server provisions the host, it retrieves the certificate from VMCA and includes it as part of the provisioning process.
You can use Auto Deploy with custom certificates.
Change the ESXi Certificate Mode
Use VMware Certificate Authority (VMCA) to provision the certificates of the ESXi hosts in your environment unless your corporate policy requires that you use custom certificates. To use custom certificates with a different root CA, edit the advanced vCenter Server setting, vpxd.certmgmt.mode. After the change, the hosts are no longer automatically provisioned with VMCA certificates when you refresh the certificates. You are responsible for the certificate management in your environment.
You can use the advanced vCenter Server settings to change to thumbprint mode or to custom CA mode. Use thumbprint mode only as a fallback option.
Procedure
Determine the Oracle Database Size and the Storage Size for the New Appliance
Before upgrading a vCenter Server appliance or migrating a vCenter Server on Windows that uses an external Oracle database, you must determine the size of the existing database. Based on the size of the existing database, you can calculate the minimum storage size for the new vCenter Server appliance database using an embedded PostgreSQL database.
You run scripts to determine the Oracle core table size, the events and tasks table size, and the statistics table size. The Oracle core table corresponds to the database (/storage/db) partition of the PostgreSQL database. The Oracle events and tasks and statistics tables correspond to the statistics, events, alarms, and tasks (/storage/seat) partition of the PostgreSQL database.
During the upgrade of the appliance, you must select a storage size for the new appliance that is at least twice the size of the Oracle tables size.
During the upgrade of the appliance, you can select the types of data to transfer to the new appliance. To minimize upgrade time and storage requirements for the new appliance, you can choose to transfer only the configuration data.
Prerequisites
Procedure
Download and Run VMware Migration Assistant on the Source Update Manager Machine
During the upgrade of a vCenter Server appliance that uses an external Update Manager, the Migration Assistant must be running on the source Update Manager machine. This procedure describes how to download and run the Migration Assistant manually before the upgrade.
Alternatively, if you plan to upgrade the vCenter Server appliance by using the CLI installer, you can add the source.vum section section and run.migration.assistant subsection to your JSON template. For information about the CLI upgrade configuration parameters, see Upgrade Configuration Parameters for CLI Upgrade of vCenter Server Appliance.
Prerequisites
- Download and Mount the vCenter Server Installer.
- Log in to the source Update Manager machine as an administrator.
Procedure
- From the vCenter Server appliance installer package, copy the migration-assistant directory to the source Update Manager machine.
- From the migration-assistant directory, double-click VMware-Migration-Assistant.exe and the provide the vCenter Single Sign-On administrator password.
- Leave the Migration Assistant window open until the upgrade of the vCenter Server appliance finishes.
Results
When the pre-checks are finished and any errors are addressed, your source Update Manager system is ready for the upgrade.