VMware vSphere

 View Only
  • 1.  How to find which vCenter is running specific VM

    Posted Sep 20, 2018 02:05 PM

    Hi All,

    Is there a way to create a page and connect it to all of my vCenter.

    My requirement is I want to find out VM located in which vCenter, DataCenter information. Instead of loggin each vCenter and searching all.

    Thanks in Advance

    Regards

    RG



  • 2.  RE: How to find which vCenter is running specific VM

    Posted Sep 20, 2018 03:08 PM

    If you have multiple vcenters, is there a reason you can't enable linked mode. This will let you search for a vm in once vcenter and it finds it in the other one, and you can access it there.

    Enhanced Linked Mode Overview



  • 3.  RE: How to find which vCenter is running specific VM

    Posted Sep 20, 2018 03:14 PM

    we cannot enable linked mode as they are multiple client vcenter.

    looking to create a webpage where if I enter VM name it should give vCenter, Host, Datacenter, OS information.



  • 4.  RE: How to find which vCenter is running specific VM

    Posted Sep 20, 2018 03:30 PM

    we do not have any webpage as such provided by vmware unless you integrate all the VCs via linked mode or other application.

    Here, you need to do manual work to create your own inventory. RVTools report can be used for that

    1. Connect RVtools to individual vCenter server and export the VM details to xl file.

    2. Collate the extracted data from all the vCenter server to one single sheet.

    3. You may use that sheet to search the VM whenever needed.

    above task has to be done often based on the changes in your vcenter inventory.

    If you want to create a webpage, use the steps given in the link below and create a php webpage on your own using excel as a backend database, the data which was exported in the above steps can be used as database for this web application

    https://smallbusiness.chron.com/populate-website-excel-database-43872.html



  • 5.  RE: How to find which vCenter is running specific VM

    Posted Sep 20, 2018 03:22 PM

    I dont think you can have a webpage , unless you have it in linked mode.

    As I can see you cannot enable/configure linked mode for some reason , if this is the case then you may have to get the information required by you using some scripts.

    I did find couple of blogs explaining similar scripts you cna take a look:

    https://code.vmware.com/forums/2530/vsphere-powercli#573215

    Find over 1000 vm servers in 40 vCenters project - PowerShell General - Ask the Experts - IDERA Community

    regards

    Gayathri