 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Virtualization Pro &#187; Snapshots</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/virtualization-pro/tag/snapshots/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/virtualization-pro</link>
	<description>A SearchVMware.com blog</description>
	<lastBuildDate>Fri, 22 Feb 2013 17:58:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>The Law of Unintended Consequences and SiteSurvey 2.0</title>
		<link>http://itknowledgeexchange.techtarget.com/virtualization-pro/the-law-of-unintended-consequences-and-sitesurvey/</link>
		<comments>http://itknowledgeexchange.techtarget.com/virtualization-pro/the-law-of-unintended-consequences-and-sitesurvey/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 15:33:18 +0000</pubDate>
		<dc:creator>Makking</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[Mak King]]></category>
		<category><![CDATA[Snapshots]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/virtualization-pro/?p=1232</guid>
		<description><![CDATA[Perhaps you have heard of &#8220;The Law of Unintended Consequences.&#8221; Though it isn&#8217;t an actual law of science, such as the First and Second Laws of Thermodynamics, it is a phenomenon that we all have no doubt experienced, sometimes daily. The Law of Unintended Consequences explains that in any endeavor, actions will have unanticipated results. [...]]]></description>
				<content:encoded><![CDATA[<p>Perhaps you have heard of &#8220;The Law of Unintended Consequences.&#8221; Though it isn&#8217;t an actual law of science, such as the First and Second Laws of Thermodynamics, it is a phenomenon that we all have no doubt experienced, sometimes daily.</p>
<p>The Law of Unintended Consequences explains that in any endeavor, actions will have unanticipated results. These results can fall into the categories of positive, neutral or negative (with the negative usually attracting the biggest spotlight, and the subsequent blame).</p>
<p>Today, for example, I encountered this law, but in the all-too-rare, positive consequence. As I was researching some processors for their Fault Tolerance compatibilities on the VMware website (riveting, I know), I happened across a new software tool that was released just hours previously, <a href="http://www.vmware.com/download/shared_utilities.html" target="_blank">SiteSurvey 2.0</a>.  Hey, something new to try out &#8212; and it&#8217;s free!<span id="more-1232"></span></p>
<p>Having the irresistible compulsion to try out new things, I immediately downloaded it and installed it on my XP machine.  Starting up the application, it looks for your vCenter (or in this case, Virtual Center) to authenticate to, and a cluster to run against. Having completed the fields, it began cranking away (thus giving me time to contemplate the wisdom of running a new tool without spending sufficient time on the documentation; at least it isn&#8217;t a production environment).</p>
<p>The resulting report was far more useful than I could have imagined! Displayed in a browser, the page contained the following information:</p>
<ul>
<li>CPU type and speed for each host in the cluster</li>
<li>BIOS Compatibility</li>
<li>CPU Stepping</li>
<li>NIC faster than 1 Gb/S</li>
<li>ESX Version</li>
<li>VMotion NIC</li>
<li>ESX Licensed for FT</li>
<li>Logging NIC</li>
<li>Shared storage; volumes and other hosts that share the storage</li>
</ul>
<p>The above results alone would have been more than sufficient to justify keeping the tool close at hand.</p>
<p>Alas, this is where The Law of Unintended Consquences comes in. It turns out that SiteSurvey 2.0 produces other very useful data. The tool reports the FT compatibility on the following categories for each virtual guest machine within the cluster, displayed in an easy to read matrix, with big red &#8220;X&#8221;s for items that require attention:</p>
<ul>
<li>Storage</li>
<li>CPU</li>
<li>Disk</li>
<li>Snapshots (OK, now this is the icing on the cake)</li>
<li>OS</li>
<li>PRDM</li>
<li>PV</li>
<li>NPIV</li>
<li>Drives</li>
<li>Drivers</li>
<li>NIC</li>
</ul>
<p>For FT to work properly, all snapshots must be removed. This tool provides the unintended happy benefit of providing a list of hitherto unknown snapshots that were still resident on the cluster. Using the VIC, I immediately removed the offending snapshots. Don&#8217;t get me wrong, I love snapshots; I just don&#8217;t like keeping track of them, particularly in ESX 3.5, as well as what they can do to your storage if they are forgotten.</p>
<p>So, if you haven&#8217;t tried out the new version of SiteSurvey, I encourage you to jump over to VMware and give it a whirl.  Who knows what may happen?</p>
<p>Cheers,</p>
<p>Mak King</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/virtualization-pro/the-law-of-unintended-consequences-and-sitesurvey/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Monitoring VMware snapshot deletion progress</title>
		<link>http://itknowledgeexchange.techtarget.com/virtualization-pro/monitoring-vmware-snapshot-deletion-progress/</link>
		<comments>http://itknowledgeexchange.techtarget.com/virtualization-pro/monitoring-vmware-snapshot-deletion-progress/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 19:47:14 +0000</pubDate>
		<dc:creator>Eric Siebert</dc:creator>
				<category><![CDATA[Eric Siebert]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Snapshots]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/virtualization-pro/?p=454</guid>
		<description><![CDATA[A recent KnowledgeBase article from VMware describes a method to monitor the snapshot deletion process which can take a long time if the snapshot has been active for a while. When you delete snapshots using the VMware Infrastructure Client, the taskbar that displays the deletion progress immediately jumps to 95% and stays at 95%  the [...]]]></description>
				<content:encoded><![CDATA[<p>A recent KnowledgeBase article from VMware describes a method to <a href="http://kb.vmware.com/kb/1007566" target="_blank">monitor the snapshot deletion process</a> which can take a long time if the snapshot has been active for a while.</p>
<p>When you delete snapshots using the VMware Infrastructure Client, the taskbar that displays the deletion progress immediately jumps to 95% and stays at 95%  the snapshot is entirely deleted. The taskbar does not show any progress while the delta files are being merged back into the original .vmdk file. Additionally, vCenter Server has a default 15 minute task timeout, so if the snapshot deletion task takes longer then 15 minutes it will timeout in vCenter Server even though it is still running on the host server.</p>
<p>The method in the KnowledgeBase article uses an ESX service console command to perform a directory listing on .vmdk files, so you can see their modified times changing and that the delta.vmdk files disappear after the snapshots are deleted. Here is the command from the knowledgebase article:</p>
<pre><code>watch "ls -lhut --time-style=full-iso *.vmdk"</code></pre>
<p>The way the syntax is currently published, however, is incorrect. Is it missing the double-dash before the time-style option; hopefully VMware will correct this soon.</p>
<p>Let&#8217;s go over what the command does. The watch command runs a command repeatedly and displays its output every 2 seconds. The command that watch is running in the previous sequence is the ls command, which lists file information in the directory. The options used with the ls command are –lhut, which are individual options that are all grouped together and are listed below:</p>
<p>•	-l – use long listing format which displays more information<br />
•	-h – display file sizes in human-readable form (i.e. GB instead of bytes)<br />
•	-u – when used with –lt sorts and shows files by access time<br />
•	-t – sorts by modification time</p>
<p>Additionally the -–time-style option set to full-iso shows the modified time in longer form with seconds, and the final *.vmdk option tells the ls command to only display .vmdk virtual disk files.</p>
<p>While this command works I modified it a bit to drop the group/owner information (-og instead of –l) from being displayed, so the results fits better on the screen.  I also tweaked it to use the shorter –-fulltime parameter instead.</p>
<pre><code>watch “ls –oghut –-full-time *.vmdk”</code></pre>
<p>To use the command, log in to the VMware service console, go to your VM&#8217;s directory where the snapshot files are located, and run the command. A listing of the files will be displayed along with size and modification information as shown below:</p>
<p><img src="http://vmware-land.com/images/snap-watch1.jpg" alt="watch output while snapshot is running" /></p>
<p>Once you see the –delta.vmdk files disappear you will know that the snapshot has been deleted, as shown below:</p>
<p><img src="http://vmware-land.com/images/snap-watch2.jpg" alt="watch output after snapshot has been deleted" /></p>
<p>To stop the command from running just press &#8216;.&#8217; While you will probably not use this method when deleting smaller snapshots, it is useful for larger ones that can take quite a while to delete.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/virtualization-pro/monitoring-vmware-snapshot-deletion-progress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Avoid disk space problems; monitor your snapshots</title>
		<link>http://itknowledgeexchange.techtarget.com/virtualization-pro/avoid-disk-space-problems-monitor-your-snapshots/</link>
		<comments>http://itknowledgeexchange.techtarget.com/virtualization-pro/avoid-disk-space-problems-monitor-your-snapshots/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 17:35:09 +0000</pubDate>
		<dc:creator>Eric Siebert</dc:creator>
				<category><![CDATA[Eric Siebert]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Snapshots]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/virtualization-pro/?p=401</guid>
		<description><![CDATA[In a VMware snapshot series I wrote a few months ago (How VMware snapshots work, Deleting virtual machine snapshots without wasting disk space and Troubleshooting VMware snapshots), I listed a few methods for finding snapshots that are running in your environment. I thought I would expand on those methods and also offer some new methods [...]]]></description>
				<content:encoded><![CDATA[<p>In a VMware snapshot series I wrote a few months ago (<a href="http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1310147,00.html" target="_blank">How VMware snapshots work</a>, <a href="http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1311854,00.html">Deleting virtual machine snapshots without wasting disk space</a> and <a href="http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1313833,00.html">Troubleshooting VMware snapshots</a>), I listed a few methods for finding snapshots that are running in your environment. I thought I would expand on those methods and also offer some new methods for finding snapshots. Snapshots are a handy tool but leaving them running for any longer then necessary is not a good idea, (read the snapshot series for an explanation).</p>
<p>VMware’s vCenter Server does not provide a centralized mechanism for managing snapshots so subsequently you must resort to other methods if you want to find them. Let’s review the various methods that you can use to find snapshots. If you know how to find them, you&#8217;ll be aware of snapshots that are still running and won&#8217;t be (as) surprised later when your volumes run out of disk space.</p>
<p>The first method is fairly simple and relies on the find command that is part of the VMware ESX service console. To use it, log in to the service console, switch to your VMFS volume directory and type the following command. The command will find all files that have &#8216;delta&#8217; in their file names. Deltas indicate snapshot files.</p>
<pre>find –iname “*-delta.vmdk”</pre>
<p>Or, to find orphaned snapshots that have not been modified in a number of days, type:</p>
<pre>find –iname “*-delta.vmdk” –mtime +7 ls</pre>
<p>The second method requires one of the free Perl scripts (<a href="http://engineering.xtravirt.com/products/phd-technologies/snaphunter.html">SnapHunter</a> or <a href="http://vmprofessional.com/index.php?content=snapalert">SnapAlert</a>) that were written by VMware users. This method requires use of a small Perl script which can be run inside the ESX service console or with the remote command-line utility (Remote CLI) and will search for snapshots and create a report. (You have the option to email the report.) To use these scripts you copy it to the service console or the workstation/appliance running the Remote CLI, modify the script with your vCenter or ESX server name and log in credentials, and then run them.</p>
<p>I also listed a third method that used a VB script to query the vCenter Server’s VPX_SNAPSHOT table for active snapshots. While this method works, it will only show snapshots that vCenter Server is aware of and may not show orphaned snapshots or those taken outside of vCenter Server. Also, since the database design is subject to change with any vCenter Server upgrades, this may break any existing SQL queries. So I’d like to recommend a different method instead which involves using PowerShell and the VMware Infrastructure Toolkit to query for snapshots. You can use simple PowerShell commands to check for snapshots. There are a few sample scripts that you can use. You can find them at the following URLS:</p>
<blockquote><p><a href="http://www.peetersonline.nl/index.php/vmware/powershell-oneliner-4/">http://www.peetersonline.nl/index.php/vmware/powershell-oneliner-4/</a><br />
<a href="http://communities.vmware.com/docs/DOC-6980">http://communities.vmware.com/docs/DOC-6980</a></p></blockquote>
<p>Lastly, there are a few more methods that you can take advantage of by using a reporting or search application. Check out the freely available <a href="http://www.robware.net/">RV Tools</a> or vKernel’s <a href="http://www.vkernel.com/products/SearchMyVM/">SearchMyVM</a>. Both enable you to search and report on your virtual environment. These free tools are a good addition to any VMware environment. RV Tools is a .NET application that installs on a workstation and SearchMyVM is a virtual appliance that you can download and import to an ESX host.</p>
<p>Whichever method you choose, you should make sure to periodically look at the snapshots running in your environment. You can automate many of these queries (i.e. using a cron job or Windows task scheduler) so that they run on a scheduled basis. By staying on top of your snapshots, you ensure optimal performance of your hosts and VMs and also avoid disk space problems.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/virtualization-pro/avoid-disk-space-problems-monitor-your-snapshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
