• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2910
  • Last Modified:

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
0
RickEpnet
Asked:
RickEpnet
  • 3
  • 3
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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)
0
 
RickEpnetAuthor Commented:
So are you say we just need to go in and change the UUID each time we deploy a new VM from that template?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
is this causing you an issue?

you got identical UUIDs in the VMDK or VMX?
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
RickEpnetAuthor Commented:
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.
0
 
RickEpnetAuthor Commented:
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.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now