This topic describes how to migrate your VMware Tanzu Operations Manager installation to a new vSphere datastore.
Both the new and existing vSphere datastores must reside in the same datacenter.
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.
If your environment has any single points of failure, service may be disrupted as a result of the migration.
These sections describe the steps you should perform 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 before proceeding with the datastore migration. Record which VMs are running and in which datastore they reside. 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
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 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 the last installation log does not contain any errors.
Before you proceed with the migration, click Review Pending Changes and 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 Review Pending Changes, then 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 the Recreate VMs deployed by the BOSH Director option.
Click Review Pending Changes.
If you are using any service tiles, select the Recreate All On-Demand Service Instances errand for each of the tiles you migrate.
Click Apply Changes.