Before beginning to migrate any type of vCenter Server deployment to an appliance, you must complete the preparation tasks.
Preparation tasks:
Synchronize ESXi Clocks with a Network Time Server
Before you install vCenter Server, make sure all machines on your vSphere network have their clocks synchronized.
This task explains how to set up NTP from the VMware Host Client.
Procedure
Preparing vCenter Server Databases for Migration
The vCenter Server appliance instance requires a database to store and organize server data. Ensure your source vCenter Server database is prepared for migration to the target vCenter Server appliance.
Each vCenter Server appliance instance must have its own database. The bundled PostgreSQL database that is included in the vCenter Server appliance supports up to 2,500 hosts and 30,000 virtual machines.
To ensure your database is prepared for migration:
- Verify that passwords are current and not set to expire soon.
- (Optional) Reduce the database size. For more information, see Knowledge Base article KB 2110031.
- Verify that you have backed up your database. See your database documentation.
- Verify that vCenter Server can communicate with the local database.
During the migration of vCenter Server to vCenter Server appliance, the installer:
- Exports the vCenter Server database.
- Deploys the target vCenter Server appliance in an unconfigured state.
- Copies exported data to the target vCenter Server appliance.
- Starts the PostgreSQL service to import the source database data.
- Upgrades the database schema to be compatible with the target vCenter Server appliance.
- Starts the target vCenter Server appliance services.
When you configure the target vCenter Server appliance, you initialize and configure using the imported database with the old schema. You have a choice of migration options:
- Inventory tables
- Inventory tables with events and tasks
- All database data
Prepare an Oracle Database for Migration
Ensure that you have the necessary credentials, and that you complete any necessary cleanup or other preparation before migrating your Oracle database from Windows to an embedded PostgreSQL database in the appliance.
Prerequisites
Verify that you have confirmed basic interoperability before preparing your Oracle database for migration.
Verify that you have backed up your database. For information about backing up the vCenter Server database, see the Oracle documentation.
Procedure
Results
Your database is prepared for the vCenter Server migration to vCenter Server Appliance.
Prepare a Microsoft SQL Server Database for Migration
Ensure that you have the necessary credentials, and that you complete any necessary cleanup or other preparation before migrating your Microsoft SQL Server database on Windows to an embedded PostgreSQL database appliance.
Prerequisites
Verify that you have backed up your database. For information about backing up the vCenter Server database, see the Microsoft SQL Server documentation.
Procedure
Results
Your database is prepared for the vCenter Server migration to vCenter Server Appliance.
Prepare PostgreSQL Database Before Migrating vCenter Server to an Appliance
Ensure that you have the necessary credentials, and that you complete any necessary cleanup or other preparation before migrating your PostgreSQL database installation on Windows to an appliance.
For information about backing up the vCenter Server database, see the PostgreSQL documentation.
Prerequisites
Verify that you have confirmed basic migration interoperability before preparing your PostgreSQL database for migrating vCenter Server.
Procedure
Results
Your database is prepared for the vCenter Server migration to vCenter Server Appliance.
Prepare Managed ESXi Hosts for Migration
You must prepare the ESXi hosts managed by your vCenter Server installation before migrating it from Windows to vCenter Server 8.0.
Prerequisites
To migrate vCenter Server or an external Platform Services Controller from Windows to vCenter Server 8.0, your source and target ESXi hosts must meet the migration requirements.
- ESXi hosts must be at version 6.7 or greater. For information on ESXi compatibility, see the VMware Compatibility Guide.
- ESXi hosts must not be in lockdown or maintenance mode.
Procedure
Results
Your ESXi hosts are ready for migration to the vCenter Server appliance.
Preparing vCenter Server Certificates for Migration
You must verify that your source vCenter Server certificates are prepared before you start the migration process.
In vSphere 6.0 and later certificates are stored in the VMware Endpoint Certificate Store. The migration process proceeds normally and preserves your certificates. For information about vCenter Server certificate locations, see Knowledge Base article KB 2111411.
Certificate Files Location
The vCenter Server certificate files are located at %ProgramData%\VMware\VMware VirtualCenter\SSL
Supported Certificate Types
If your environment uses any of the supported certificate types, you can continue with the migration. The migration process proceeds normally and preserves your certificates.
- Your rui.crt file contains the entire chain including the leaf certificate. You can create this type of certificate by deploying and using the VMware SSL Certificate Automation Tool, see see Knowledge Base article KB 2057340 .
- Your rui.crt file contains the leaf certificate and the corresponding cacert.pem is available in %ProgramData%\VMware\VMware VirtualCenter\SSL to validate the rui.crt.
Unsupported Certificate Types
If your environment uses any of the unsupported certificate types, you must prepare your certificates before you can proceed with the migration process proceeds.
- Your rui.crt contains only the leaf certificate, the cacert.pem is missing or invalid, and cacert.pem is not added to the Windows trust store.
Get the Certificate Authority certificate, including all intermediate certificates, and create a cacert.pem file, or replace the vCenter Server certificates with any of the supported formats.
- Your rui.crt contains only the leaf certificate and the cacert.pem is missing or invalid, but the cacert.pem is added to the Windows trust store.
Get the Certificate Authority certificate, including all intermediate certificates from the Windows trust store and create cacert.pem. Use OpenSSL to verify the certificate by running verify -CAfile cacert.pem rui.crt command.
For more information about vSphere security certificates, see the vSphere Security documentation.
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 |
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
Determine the Microsoft SQL Server Database Size and the Storage Size for the New vCenter Server Appliance
Before upgrading a vCenter Server appliance, or migrating a vCenter Server on Windows that uses an external Microsoft SQL Server 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. This storage size allows the embedded PostgreSQL database to assume the data from the old database with enough free disk space after the upgrade.
You run scripts to determine the Microsoft SQL Server core table size, the events and tasks table size, and the statistics table size. The Microsoft SQL Server core table corresponds to the database (/storage/db) partition of the PostgreSQL database. The Microsoft SQL Server 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 Microsoft SQL Server tables size.
Prerequisites
You must have the vCenter Server database login credentials.
Procedure
Download and Run VMware Migration Assistant on the Source Windows Machine
You must download and run the VMware Migration Assistant on your source vCenter Server or Platform Services Controller to prepare it for migration from Windows to a vCenter Server appliance. If your deployment of vCenter Server has an external Update Manager that runs on Windows, download and run the VMware Migration Assistant on the source Windows machine. Update Manager prepares the Update Managerserver and database for migration from Windows to the vCenter Server appliance.
The VMware Migration Assistant performs the following tasks on the source Windows machine where you run it:
- Discovers the source deployment type.
- Runs pre-checks on the source.
- Reports errors that must be addressed before starting the migration.
- Provides information for the next steps in the migration process.
Prerequisites
- Download and Mount the vCenter Server Installer.
- Log in to the Windows machine as an administrator.
Procedure
Results
When the pre-checks are finished and any errors are addressed, your source system is ready for migration.
What to do next
To begin the migration process, follow the VMware Migration Assistant instructions.
For detailed migration steps, see one of the following.