VMware Cloud Community
aenagy
Hot Shot
Hot Shot

Migrating virtual machine to different vCenter and HCX [vRA 8.x]

I am working with a customer who will be performing a vCenter to vCenter migration of virtual machines within the same instance of vRA 8.x. After the virtual machine is migrated to the new vCenter instance I expect the virtual machine to have a new vCenter UUID and and new vSphere object UUID and therefore think that this is a new virtual machine. Other people on the project have mentioned that HCX might have some sort of magical capability that would update vRA 8.x Inventory to indicate that the migrated virtual machine is not new, i.e. it would fix the identifiers. I can't find any documentation on VMware's web site to support the idea HCX would update vRA 8.x for migrated virtual machines.

 

(Q1) Does HCX have the capability to update vRA 8.x Inventory for migrated virtual machines so that they are not considered 'new'?

(Q2) Assuming that the answer to Q1 is no, is there something that can be done in code to update vRA 8.x Inventory for migrated virtual machines, i.e "PATCH/iaas/api/machines/{id}"?

(Q3) Any other thoughts or ideas on how to update vRA 8.x Inventory? I'm trying to avoid going through an onboarding process.

 

 

Labels (6)
0 Kudos
5 Replies
aenagy
Hot Shot
Hot Shot

Seems like I'm not the only one thinking that HCX should have this capability.

 

https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/VRA-8-x-Unregister-VM/m-p/2943964/hig...

0 Kudos
joshgray1
Contributor
Contributor

What did you end up doing for this migration?   I'm investigating a similar thing.

0 Kudos
JoJoGabor
Expert
Expert

We have a similar.issue where VMs have been reregistered in vcenter to fix srm issues. They have a different moref so vra sees them as a separate machine. If we deleted the missing deployment and I boarded the discovered machine we lose the custom properties which are needed for automation. VMware have a "fix VMs" workflow which can move this new VM into the existing deployment to keep all the history and properties. I'm just trying to get hold of it currently

0 Kudos
Enter123
Enthusiast
Enthusiast

I used HCX cc 5 months ago (latest version at that time) and there was no feature to automatically update info about the VMs post migration. I was told that HCX team was working on that.

I used vRA Bulk onboarding workflow created by vRA team:

https://blogs.vmware.com/management/2023/01/vra-8-bulk-onboarding.html

it worked fine for me. 

0 Kudos
aenagy
Hot Shot
Hot Shot

The project fell through unfortunately, so nothing happened.

0 Kudos