How to fix the virtual machine UUID

Some applications and virtual machine hardware is bound for a virtual machine to perform Storage vMotion or vMotion may modify UUID, causes the application to identify hardware failures, the application can not be activated. Test and understand, the host application is bound to the hard disk and ID card MAC, how that virtual machine ID associated fixed it?

1, the fixed network card MAC:
virtual machine machine, directly modify the MAC can manually set a fixed MAC

2, fixed virtual machine UUID:
using SSH to connect to the host where the virtual machine, enter the virtual machine storage directory to find the .vmx virtual machine configuration file for editing (make a backup before editing), the following additions:
uuid.bios = "42 0B DF 16 07 65 95 3B EB-14 2E 0D 7F F7. 1A d5 of "
vc.uuid =" 0B 50 58 D8 BB 2D. 3A 9E F2-F3 A7 B3 72 70 50 6E "

3, the fixed virtual machine VMDK ID
modify a virtual machine disk descriptor file vm.vmdk (do not mistake, there is a data vm-flat.vmdk this file is not modified), confirm the following two.
= ddb.longContentID "5ed238cbc483babb2bd6c12367330ea0"
ddb.uuid = "9B 60 00 C2 72 77 EE 66-9b A0 D0 35 8B 71 is d5 of BA"

4, three or more steps in the MAC / VM UUID / VMDK UUID records preserved, if the virtual machine migration, or cause the application can not be bound to restore the machine hardware-related issue, you can restore using the above method.

Guess you like

Origin blog.51cto.com/emcome/2412093