Solved

list all VM path

Posted on 2014-02-05
6
383 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
6 Comments
 
LVL 6

Accepted Solution

by:
alexgreen312 earned 500 total points
Comment Utility
Check out RVTools, that should give you what you want.

http://www.robware.net/

Regards

Alex
0
 
LVL 3

Author Comment

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

Expert Comment

by:alexgreen312
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 3

Author Comment

by:pma111
Comment Utility
Thanks alex, will give it a go..
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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:robincm
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now