Highlighted
Enthusiast
Enthusiast

[vRA 7.5] - Data Collection switch VM's

Jump to solution

Hi Team,

We have a vRA infrastructure with 4 vCenter Endpoints.

  • 2 vCenter for Production Datacenter.
  • 2 vCenter for DRP Datacenter.

VM's in Production datacenter has hostnames like this : LX0001

VM's in DRP datacenter has hostnames like this : LX0001B

In the vCAC inventory we see only one vm : LX0001 but after a Data Collection this vm disappear and we can see the vm LX0001B.

For vRA Managed in the deployment object the vm change also. Some time the deployment contains LX0001 or LX0001B.

For vRA unManaged Virtual Machine same problem appear.

what can be corrupted ? vCAC plugIn ?

What is the link between vCAC Machine and vCenter VM ?

  • The VM UUID ?
  • The vm hostname ?
  • Or whatever ?

Thanx for your help.

1 Solution

Accepted Solutions
Highlighted
Immortal
Immortal

You only need to change one, but you'll have to do this for every collision out there.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

View solution in original post

0 Kudos
11 Replies
Highlighted
Immortal
Immortal

Did you clone the VMs from one data center to the other? If so, this is probably due to conflicting VM UIDs. vRA uses these to display the name key in the inventory, so upon data collection, whichever one completes first, is probably overriding the other one in the UI. You can confirm by comparing both of their UIDs.

0 Kudos
Highlighted
Enthusiast
Enthusiast

All Virtual Machines are created from the related datacenter with a specific Virtual Machine Template for each datacenters.

The Virtual Machine templates are created on Production datacenter then copied to DRP datacenter.

  • vRA use specific Virtual Machine templates on Production datacenter to created Virtual Machines on production Datacenter.
  • vRA use specific Virtual Machine templates on DRP datacenter to created Virtual Machines on DRP Datacenter.
0 Kudos
Highlighted
Immortal
Immortal

If you created one template and then cloned that template to the other data center, the UID may not have been changed. As I said, compare two of those VMs and their UIDs to see if they collide.

0 Kudos
Highlighted
Enthusiast
Enthusiast

Below UIDs of templates :

  • Datacenter Production Template : AServerObjectRef~81129d10-3566-4693-a4d0-6d1b753848b9%253AVirtualMachine%253Avm-1544
  • Datacenter DRP Template : AServerObjectRef~15fa0f51-1375-47a3-85dc-6bd547cad165%253AVirtualMachine%253Avm-2078

When we send the template from the Production datacenter we make an export and after an import on the DRP datacenter.

I think when we do that the UIDs changed.

0 Kudos
Highlighted
Immortal
Immortal

Compare the InstanceUUID and the BIOS UUID:

(Get-VM | Select -first 1).extensiondata.config.InstanceUUID

(Get-VM | Select -first 1).extensiondata.config.UUID

This is PowerCLI, so you'll obviously need filters for Get-VM to scope to the VMs in question.
0 Kudos
Highlighted
Enthusiast
Enthusiast

You have right .....................

Template DATACENTER PRODUCTION :

PowerCLI C:\> (Get-VM ASSET_SLES11_FY19Q1_V001).extensiondata.config.InstanceUUID

50380203-5981-3b00-de78-4133869883d8

PowerCLI C:\> (Get-VM ASSET_SLES11_FY19Q1_V001).extensiondata.config.UUID

42389b03-50bc-4fd1-bba7-868eb0f530f3

Template DATACENTER DRP :

PowerCLI C:\> (Get-VM ASSET_SLES11_FY19Q1_V001).extensiondata.config.InstanceUUID

50380203-5981-3b00-de78-4133869883d8

PowerCLI C:\> (Get-VM ASSET_SLES11_FY19Q1_V001).extensiondata.config.UUID

42389b03-50bc-4fd1-bba7-868eb0f530f3

0 Kudos
Highlighted
Enthusiast
Enthusiast

@

0 Kudos
Highlighted
Immortal
Immortal

You can, yes, but the VMs will need to be powered off. There should be some code floating around out there that'll change this. It's fairly simple.

Highlighted
Enthusiast
Enthusiast

To correct our issue it's necessary to change both UUID or One of them ?

0 Kudos
Highlighted
Immortal
Immortal

You only need to change one, but you'll have to do this for every collision out there.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

View solution in original post

0 Kudos
Highlighted
Enthusiast
Enthusiast

Thx very much for your help.... You are the boss Smiley Wink

0 Kudos