You may encounter the error message 'Unable to migrate VM as the SDR appliance does not have access to the target datastore
' when attempting an HCX OSAM migration to a cluster.
HCX
VMC
This issue occurs when the environment contains multiple clusters in VMC. If HCX was initially deployed with a single cluster and an additional cluster is added, a separate Compute Profile must be created to allow the cluster networks (management/vMotion) to be independent.
Create a separate Compute Profile for the additional cluster.
Workaround:
As a workaround, you can use Cluster 1 as the destination for the migration, and then perform a vMotion to the other cluster once the OSAM process is complete.
This is the expected behavior, as creating a separate Compute Profile for each cluster allows for dedicated IX/OSAM appliances, which are managed through a separate Service Mesh.
For more information, please refer to the 'Getting Started with VMware HCX
' guide on Techdocs Broadcom, ensuring you select the version that matches your current deployment.