VMware vSphere

 View Only
  • 1.  About the instanceUuid of vm

    Posted Apr 25, 2011 01:32 AM

    According to vSphere API Reference,
    "instanceUuid" is used by vCenter to uniquely identify
    all vm instances.

    Even if vm is deleted, its instansUuid is held uniquely in vCenter?
    or Is its instansUuid assigned to other vm again?

    Please tell me.



  • 2.  RE: About the instanceUuid of vm

    Broadcom Employee
    Posted Apr 25, 2011 01:03 PM

    That's correct, instanceUuid is unique per vCenter instance and it's guarantee to be unique. afaik, once an object has been deleted (e.g. VM), all it's information and identifiers are removed from the vCenter DB and it's instanceUuid can potentially be re-used. I would say this will probably be unlikely that you'll see the same instanceUuid again but it's definitely possible, so if you persist this in an internal DB, you may want to use another identifer as a key in case you find yourself in this corner case.



  • 3.  RE: About the instanceUuid of vm

    Posted Nov 02, 2024 12:48 PM

    When I create a replica of a VM, will the instanceUUID be the same or different?




  • 4.  RE: About the instanceUuid of vm

    Broadcom Employee
    Posted Nov 03, 2024 10:43 AM

    instanceUUID will ALWAYS be unique as that is managed exclusively by vCenter Server and it'll ensure they're always unique. For more details on instanceUUID, please see the various articles linked to https://williamlam.com/2014/07/what-happens-when-virtual-machines-have-duplicate-instanceuuids-on-esxi.html 



    ------------------------------
    ----
    William Lam
    https://williamlam.com/
    ------------------------------