This topic describes how to migrate your VMware Tanzu Operations Manager installation to a new vSphere datastore.
The new and existing vSphere datastores must reside in the same data center.
To avoid service disruption, VMware recommends that you configure your overall Tanzu Operations Manager deployment for high availability (HA). In addition, check for configurations necessary to achieve HA in each of your installed product tiles.
The following sections describe the steps to do prior to the migration.
Ensure that your Tanzu Operations Manager environment is fully backed up.
For more information about how to back up Tanzu Operations Manager, see Backing up Deployments.
Document your current environment settings. Record which VMs are running and in which datastore each one resides. If you experience any issues during or after the migration, you must have this information to restore your environment.
To obtain this information:
Run one of these commands:
If you use BOSH CLI v2, run:
bosh -e BOSH-ENVIRONMENT instances --details > instances.txt
Where BOSH-ENVIRONMENT
is the alias you assigned to your BOSH Director.
If you use the original version of the BOSH CLI, run:
bosh-old instances --details > instances.txt
Save the resulting instances.txt
file to a safe location.
Note the datastore where each VM resides in vSphere.
Check the Status tab in your runtime product tiles, such as VMware Tanzu Application Service for VMs (TAS for VMs) or VMware Tanzu Kubernetes Grid Integrated Edition (TKGI), and make sure there are no errors or reported issues.
In each tile installed in your Tanzu Operations Manager deployment, check the Status tab and verify that there are no errors or reported issues.
To check the status of your BOSH Director:
Check that there are no pending changes and that the status of all tiles is green.
Verify that the last installation log does not contain any errors.
Before you proceed with the migration, click Review Pending Changes and then click Apply Changes to make sure there are no errors in the installation log.
To migrate your Tanzu Operations Manager deployment to a new datastore:
Go to the Tanzu Operations Manager Installation Dashboard.
Click the BOSH Director tile.
Click vCenter Config.
Update the Ephemeral Datastore Names and Persistent Datastore Names text boxes to reflect the new datastore names.
If you use the datastore clustering feature in vSphere, provide only the datastore cluster name in the Persistent Datastore Cluster Names // Ephemeral Datastore Cluster Names fields.
Click Save.
Click Review Pending Changes.
Deselect the Select All Products check box so that only the BOSH Director tile is still selected.
Click Apply Changes.
Confirm that the BOSH Director VM has persistent disk on the new datastore.
In the BOSH Director tile, click Director Config.
Select Recreate VMs deployed by the BOSH Director.
Click Review Pending Changes.
If you are using any service tiles, select the Recreate All On-Demand Service Instances errand for each tile you migrate.
Click Apply Changes.