Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 407
  • Last Modified:

list all VM path

Is there an easy way to get all your virtual machines and exactly where they reside (path), be that locally or on a SAN? in a single report?

also, how are vm's registered within vcenter. is it possible that you could have more vm's in your environment than are listed within vcenter?
0
pma111
Asked:
pma111
1 Solution
 
Alex Green3rd Line Server SupportCommented:
Check out RVTools, that should give you what you want.

http://www.robware.net/

Regards

Alex
0
 
pma111Author Commented:
will do , thanks. can you export reports from rvtools, could do with exporting to csv or similar for a report..
0
 
Alex Green3rd Line Server SupportCommented:
Yes you can, it's a really simple application to use actually, put in your VM Farm and then log in, you can export via file -> export all to CSV :D

Regards

Alex
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
pma111Author Commented:
Thanks alex, will give it a go..
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You could have more VMs on disks, that are not registered, but you will not be able to Power Them ON, without registration.

VMware Community Pack
http://www.virtu-al.net/featured-scripts/vmware-powerpack/

The VMware Community Pack is a list of PowerCLI scripts, which will show you the location of VMs, but it will also show your VMDK (VMs) that are orphaned, and not registered!
0
 
Robin CMSenior Security and Infrastructure EngineerCommented:
Re. your second question, it's unlikely that you'll have VMs that are not registered in vCenter, but not impossible. It comes down to how you manage your environment.
As far as I know, you can't have a running VM on a vCenter-managed host and have the VM NOT show in vCenter.
You can however have powered off VMs sitting on datastores that do not show as registered to a host/vCenter. (e.g. if you manually copy the files onto the datastore or choose the "remove from inventory" option on a VM)
Of course, if you have hosts that are not registered to vCenter then you'll not see their running VMs either.
You could write a script to search for *.vmx files across all your datastores and then check that this ties up with the VMs shown in vCenter - or write a more complicated script to do the comparison for you. Note that the folder and/or vmx file might not have the same name as the VM has when seen on a host or in vCenter (the name is stored within the .vmx file).
Hope that helps.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now