VMware vSphere

 View Only
  • 1.  Finding Snapshots in Vmware Environment

    Posted Dec 02, 2008 10:03 PM

    Hello Everyone,

    I am supporting a Virtual Infrastructure containing 50ESX hosts and approx 500 Virtual Machines running over them. My problem is that there are many Virtual Machines which has very old snapshots; is there any way I can find out which VMs in environment has snapshots? Checking each VM manually is ofcourse one way but thats very time consuming.

    Is there any command line or script which at least I can run at ESX host level to list all VMs on that host having snapshots? This way I will have to check 50 hosts only instead of 500 VMs.

    Thanks.

    Jitendra

    MCSE 2003, VCP, CCNA, ITIL Foundation, Netapp NS0-153



  • 2.  RE: Finding Snapshots in Vmware Environment
    Best Answer

    Posted Dec 02, 2008 10:11 PM

    I used this script and it worked great.... created a nice .htm file. I was suprised to find out how many VM's had snapshots that I was not aware of.

    http://www.ivobeerens.nl/?p=106

    hope this helps



  • 3.  RE: Finding Snapshots in Vmware Environment

    Posted Dec 03, 2008 05:45 PM

    I tried http://www.ivobeerens.nl/?p=106 and it worked great. Though it took 2 hours to give the report but report was having all the details which I was looking for.

    Will give a try to other suggestions also to see if I can get more useful information out of those.

    Thanks everyone!

    Jitendra Kumar

    MCSE 2003, VCP, CCNA, ITIL Foundation, Netapp NS0-153



  • 4.  RE: Finding Snapshots in Vmware Environment

    Posted Dec 02, 2008 10:32 PM

    Or if you want to do it from the service console by scanning the storage rather than relying on the VC database, you can use this:

    http://engineering.xtravirt.com/products/phd-technologies/snaphunter.html



  • 5.  RE: Finding Snapshots in Vmware Environment

    Posted Dec 03, 2008 11:04 AM

    Hi Mittel,

    Any news on the enhanced version of snaphunter that I produced a few months ago?

    Dinny

    PS if anyone wants a copy of it just PM me with your email address and I'll send it to you.



  • 6.  RE: Finding Snapshots in Vmware Environment

    Posted Dec 03, 2008 01:57 PM

    I was in your same situation about a month ago. And I found this it is a small application that I run from my VirtualCenter server. Basically it is a service that reports some useful information at a quick glance from the Virtual Center console. I adjusted my settings to update every hour.

    Hope this helps!



  • 7.  RE: Finding Snapshots in Vmware Environment

    Posted Dec 03, 2008 05:21 PM

    I have used the VI Toolkit (free) from VMWare with PowerGUI (also free) with the VMWare 'add-on pack' to find out more this information. Below are a few links.

    http://www.vmware.com/sdk/vitk_win/index.html - link to the toolkit and has a link to MS Powershell (needed for the toolkit)

    http://powergui.org/downloads.jspa - link to downloads for PowerGui

    http://powergui.org/entry.jspa?externalID=1802&categoryID=290 - link to download the VMWare PowerPack

    This will give you much more insight into the environment and capability to do other common tasks across multiple VMs all at once. Common examples would be disconnecting the CD and Floppy from every VM with one-line of code from the forums or using other scripts from the community (http://www.peetersonline.nl - another excellent site) for other helpful tasks.

    As for the snapshot functionality, the VMWare Powerpack will break it down to all, older than 7 days, older than 1 month, in easy to see views.