This topic describes how to migrate your VMware Tanzu Operations Manager (Ops 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 Ops 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 Ops Manager environment is fully backed up.
For more information about how to back up Ops 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 Ops Manager deployment, check the Status tab and make sure 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.
Make sure the last Installation Log does not contain any errors.
Before proceeding with the migration, click Review Pending Changes and Apply Changes to make sure there are no errors in the Installation Log.
To migrate your Ops Manager deployment to a new datastore:
Navigate to the Ops Manager Installation Dashboard.
Click the BOSH Director tile.
Select vCenter Config.
Update the Ephemeral Datastore Names and Persistent Datastore Names fields to reflect the new datastore names.
Note: 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 Apply Changes.
Confirm that the BOSH Director VM has persistent disk on the new datastore.
In the BOSH Director tile, select 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.