I recently came across an issue with the VMware SRM where there was a VM having the same UUID in both the primary and recovery site. This VM was a clone from the primary site and was never powered on the recovery site but was rather cloned to template and was used for new builds, over time, everyone forgot about the cloned VM and we recently started seeing issues with the recovery plan. We were unable to test and cleanup the recovery plan. We started seeing the below PANIC message in the SRM logs.
Panic: VERIFY d:/build/ob/bora-3037005/srm/src/recovery/settings/vmRecoverySettingsRepository.cpp:1291
This is a known issue in SRM 6.1 and KB related to this can be found here. The KB does not provide a way to look for the duplicate UUID’s so here is what we used to find the VM UUIDs on both Primary and Recovery vCenter servers.
Run the below code to get the VM’s and their UUIDs in a csv, once you have the csv, its very easy to identify the duplicates. Once you have the VM identified, Shutdown the VM, browse to the VM datastore and backup the vmx file of the VM and edit the value for uuid.bios and re upload to the datastore and power on the VM. Just to make sure it does conflict with the other VMs again, verify the UUID you used is not present in the csv file.
Here are step by step instructions on editing the vmx files Link1 Link2
$vmlist =get-vm | sort name forEach ($vm in $vmList) {     $vmName=$vm | %{(Get-View $_.Id).Name}     $vmUuid=$vm | %{(Get-View $_.Id).config.UUID}     echo "$vmName,$vmUuid" | Out-File -Append <path to csv> }
Here is the sample output from my lab
AD,564dbb42-5c80-879e-889a-5058901c43de AD01,564d441e-52e1-f65d-8320-41c739f9683e ADS,564df36b-6d8f-f026-d3b3-56918e66810a esx01,564d4cc9-767e-42ea-ae45-8dbdbfd55580 esx02,564da15e-9c66-4da2-26ca-912e2a25ed1b esx03,564df470-444a-6c03-b881-c4b8a5bca030 esxlab1.vcpdcv.lab,564d81df-bfc8-0f68-4a6b-8f26ec0be899 esxlab2.vcpdcv.lab,564d8a89-9cb2-23b1-c307-a039a955c296 esxlab3.vcpdcv.lab,564df488-9e8a-9ef1-3878-c59d15b2a89c
Hope this was informative and useful. Thanks!