Solved

list all VM path

Posted on 2014-02-05
6
394 Views
Last Modified: 2014-02-05
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
Comment
Question by:pma111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 12

Accepted Solution

by:
Alex Green earned 500 total points
ID: 39836138
Check out RVTools, that should give you what you want.

http://www.robware.net/

Regards

Alex
0
 
LVL 3

Author Comment

by:pma111
ID: 39836147
will do , thanks. can you export reports from rvtools, could do with exporting to csv or similar for a report..
0
 
LVL 12

Expert Comment

by:Alex Green
ID: 39836161
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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 3

Author Comment

by:pma111
ID: 39836165
Thanks alex, will give it a go..
0
 
LVL 121
ID: 39836167
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
 
LVL 14

Expert Comment

by:Robin CM
ID: 39836210
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 NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question