Cloud & SDDC

 View Only
  • 1.  Accessing vmx from VM

    Posted Dec 22, 2021 06:20 PM

    Hi, 

    I understand .vmx is kept at data store for a particular VM. This keeps the settings vcentre uses to spawn a particular VM. 

    Is there a way VM can to fetch the data from .vmx file as metadata. Or in particular, can we access .vmx file from within the VM. 



  • 2.  RE: Accessing vmx from VM

    Posted Dec 22, 2021 06:25 PM

    Not directly as far as I know.

    André



  • 3.  RE: Accessing vmx from VM

    Posted Dec 22, 2021 06:41 PM

    Is there an indirect way 



  • 4.  RE: Accessing vmx from VM

    Posted Dec 22, 2021 07:19 PM

    What information in the VMX file do you wish the guest OS had access to, and why?

     



  • 5.  RE: Accessing vmx from VM

    Posted Dec 23, 2021 02:33 AM

    It can be any information which can be read by the VM.

    For instance, I want to give the role as primary to one VM and secondary to another VM, tertiary to third VM etc.



  • 6.  RE: Accessing vmx from VM

    Posted Dec 23, 2021 04:36 AM

    For what software?

    I don’t think it’s possible to do what I think you’re trying to do.

     



  • 7.  RE: Accessing vmx from VM

    Posted Oct 26, 2022 09:24 AM

    Are you trying to priorities the VM power on and service start times for a 3 tier application.

    If that is the case you can leverage Affinity rules and use vROps to achieve the same in some fashion.

     

    With the given details I'm not able to understand the use case your trying to achieve.

     

    Please provide more information on the use case to give you the information that might help achieve the same 



  • 8.  RE: Accessing vmx from VM

    Posted Dec 22, 2021 06:33 PM

    .vmx is VM configuration as metadata file and .vmdk is vdisk file for the VM. 

    Can I know why do you want access same current in use file from same VM ? 



  • 9.  RE: Accessing vmx from VM

    Posted Dec 22, 2021 06:39 PM

    I want to add few metadata as userdata and use it inside vm.



  • 10.  RE: Accessing vmx from VM