The UUID of VMs in vCloud is not unique. In this recipe we will see how to change this.
We need a vCloud environment where we have the need for a unique UUID (see the How it works... section).
Shut down your vCloud environment (all cells).
Log in to your database.
Create a backup of the database.
Run the following SQL statement:
update config set value = '0' where cat='vcloud' and name='backend.cloneBiosUuidOnVmCopy';
Start your vCloud environment.
When you deploy a vApp from a vApp template, the VMs will have the same UUID. The UUID of a VM is stored in the .vmx
file of the VM. When vCloud creates a copy of the VM, it will keep the UUID. This is normally not a problem. However, some backup and DR software, such as Comvault, keeps track of the VMs by using the UUID. If you have VMs with the same UUID, this will lead to the problem of backups not working correctly, and restores will be a major nightmare. There are probably...