Avatar of RickEpnet
RickEpnet
Flag for United States of America asked on

UUID on VM VMWARE

We use a template to deploy VMs. The VMs are normally Windows 2008 R2 Data Center that have been setup and run Sysprep on and then Converted to a template and then we deploy from that Template. What we have been seeing is duplicate UUID's on the VMDK. Is there a way to avoid this happening or do we just need to change the UUID each time we deploy a VM.  

VMware ESX 4.1
VMwareVirtualizationWindows Server 2008

Avatar of undefined
Last Comment
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

The UUID is automatically generated when a VM is first powered on or moved, with the UUID value being based on the physical host’s identifier and also the path to the VM’s configuration (vmx) file.  Within this configuration file the UUID value is stored in two places:

    uuid.bios
    uuid.location (hash based on the current path of the VM)
RickEpnet

ASKER
So are you say we just need to go in and change the UUID each time we deploy a new VM from that template?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

is this causing you an issue?

you got identical UUIDs in the VMDK or VMX?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
RickEpnet

ASKER
Yes it is.

When the backup software tries to backup 2 VMs with the same UUID on the VMDK at the same time it throws and error.
IanTh

RickEpnet

ASKER
It would be just as easy to generate new UUID for each disk as doing that each time. Also when you deploy it from a template it does not ask if you have copied or moved.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.