VMware Cloud Community
RajuVCP
Hot Shot
Hot Shot

How to find which vCenter is running specific VM

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

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
Reply
0 Kudos
4 Replies
sjesse
Leadership
Leadership

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

Reply
0 Kudos
RajuVCP
Hot Shot
Hot Shot

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.

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
Reply
0 Kudos
GayathriS
Expert
Expert

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 Comm...

regards

Gayathri

Reply
0 Kudos
SureshKumarMuth
Commander
Commander

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

Regards,
Suresh
https://vconnectit.wordpress.com/
Reply
0 Kudos