Script to find VMs with duplicate UUIDs
If you want to find out all the VMs in the vCenter that share the same BIOS UUID, please run the attached python script from within VirtuCache Manager VM by following the steps below:
1. Download this check_dup_vm_uuids zip file and unzip it to get the check_dup_vm_uuids.py file.
2. SCP the script to the /tmp/ folder of the VirtuCache Manager appliance.
– username/password: virtucache/virtucache
3. SSH into the VirtuCache Manager appliance and execute the following commands:
# the above will ask for the password, it is the same password: virtucache
mv /tmp/check_dup_vm_uuids.py /var/www/wsgi/vnx2mgr/
python check_dup_vm_uuids.py -s <vcenter-ip> -u <username>
python check_dup_vm_uuids.py -s 10.80.16.172 -u ‘[email protected]’
# it will prompt for the vCenter password