This topic explains how to migrate a TKGI control plane and cluster container volumes to a new vSphere datastore without impacting workload cluster functioning.
For prerequisites and notes, see How to migrate TKGI environment from one datastore to another datastore in the Broadcom Support KB.
A growing TKGI environment may outgrow its host vSphere datastore. To avoid this, you can move TKGI to a new datastore by migrating its components in the following order:
The following sections explain how to perform these migration steps.
Log in to your vCenter and navigate to the datacenter, datastore, or vSphere cluster that hosts your TKGI infrastructure.
In the Monitor tab, select Cloud Native Storage > Container Volumes.
Select the volumes used by TKGI and click Migrate.
On the Migrate Volume page, select the target datastore to migrate to.
Confirm in the Acknowledge checkbox and click Migrate. The migration operation proceeds.
For limitations and considerations, see:
* [Migrating Container Volumes in vSphere](https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-storage/GUID-536DEB75-84F5-48DC-A425-3BF703B8F54E.html) in the vSphere 8.0 documentation
* [Guidelines/Limitations for Cloud Native Storage (CNS) Relocate on vSphere and known issues](https://kb.vmware.com/s/article/90607) in the Broadcom Support KB
Log in to the Tanzu Operations Manager Installation Dashboard.
Click into the BOSH Director tile.
Select vCenter Config.
Update the Ephemeral Datastore Names and Persistent Datastore Names text boxes to reflect the new datastore names.
Click Save.
Click Review Pending Changes.
Disable the Select All Products check box so that only BOSH Director selected.
Click Apply Changes. The BOSH Director redeploys.
Confirm that the BOSH Director VM has a persistent disk on the new datastore:
Log in to vCenter and find the BOSH Director VM.
Review the BOSH Director VM’s Related Objects to verify its storage location has updated to the new datastore.
Log in to the Tanzu Operations Manager Installation Dashboard.
In the BOSH Director tile, click Director Config.
Select the Recreate VMs deployed by the BOSH Director option.
Click Review Pending Changes.
If using any service tiles, select the **Recreate All On-Demand
Service Instances** errand for each tile you migrate.
Click Apply Changes.
Confirm that the TKGI VMs are on the new datastore:
From the vCenter, find the TKGI VM.
In the Related Objects section, verify the storage has been
updated to the new datastore.
Go to the TKGI tile and select Kubernetes Cloud Provider.
Change the datastore to the new datastore.
Click Apply Changes.
Get deployment IDs for all TKGI clusters:
bosh deployments --column=name | grep service-instance_
Run bosh recreate
for each service-instance
deployment re-create each TKGI cluster:
bosh -d service-instance_CLUSTER-ID