<?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>Ray Heffer &#187; VMware</title>
	<atom:link href="http://www.rayheffer.com/tag/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rayheffer.com</link>
	<description>Enterprise Technologies</description>
	<lastBuildDate>Thu, 05 Aug 2010 09:34:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Enabling SSH access in ESXi</title>
		<link>http://www.rayheffer.com/633/enabling-ssh-access-in-esxi/</link>
		<comments>http://www.rayheffer.com/633/enabling-ssh-access-in-esxi/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 09:33:18 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[ESXi]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[inetd]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=633</guid>
		<description><![CDATA[If you are running VMware ESXi 4.1 then you can now activate SSH access (or Remote Tech Support) easily which is documented here: http://www.thomasmaurer.ch/2010/07/activated-ssh-on-esxi-4-1/ However, if you are working on ESXi 3.5 or 4.0 then you need to enter unsupported mode: 1) Press ALT &#38; F1 to access the console. 2) Type: unsupported (you won&#8217;t see [...]]]></description>
			<content:encoded><![CDATA[<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> <div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F633%2Fenabling-ssh-access-in-esxi%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F633_2Fenabling-ssh-access-in-esxi_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F633%2Fenabling-ssh-access-in-esxi%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>If you are running VMware ESXi 4.1 then you can now activate SSH access (or Remote Tech Support) easily which is documented here: <a href="http://www.thomasmaurer.ch/2010/07/activated-ssh-on-esxi-4-1/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.thomasmaurer.ch/2010/07/activated-ssh-on-esxi-4-1/?referer=');">http://www.thomasmaurer.ch/2010/07/activated-ssh-on-esxi-4-1/</a></p>
<p>However, if you are working on ESXi 3.5 or 4.0 then you need to enter unsupported mode:<br />
<span id="more-633"></span><br />
1) Press ALT &amp; F1 to access the console.<br />
2) Type: <code>unsupported</code> (you won&#8217;t see any characters on screen), then press Enter.<br />
3) Edit <code>/etc/inetd.conf</code>, find the line starting with <code>#SSH</code> and remove the <code>#</code>. <em>See my note below on using Vi with ESXi</em><br />
4) Exit Vi (Type <code>:wq</code>)<br />
5) Restart the management services: <code>/sbin/services.sh restart</code><br />
6) If you are running ESXi 3.5 Update 2 then you will also have to kill the inetd process. Type <code>ps | grep inetd</code> to find the process ID and then kill it with <code>kill -HUP &lt;ID&gt;</code></p>
<p><strong>Using Vi with ESXi</strong></p>
<p>I don&#8217;t use anything other than Vi when editing files in Linux, but for most Linux users Nano is the editor of choice. Don&#8217;t fret, Vi is not that difficult, and the following steps will be enough to open a file, make some changes, save and quit Vi.</p>
<p>1) Open /etc/inetd.conf with Vi:<br />
<code># vi /etc/inetd.conf</code></p>
<p>2) Jump straight to the line starting with SSH: Type <code>/ssh</code> and it will jump to the first occurrence of <code>ssh</code>. A bit like search in Word.</p>
<p>3) Make sure the cursor is at the start of the line starting with <code>#SSH</code> and press x to delete a character (delete <code>#</code>)</p>
<p>4) Press Escape to make sure it is not in editing mode, and type <code>:wq</code> and press enter. This writes and quits.</p>
<p><strong>Accidently killed inetd without the -HUP switch?</strong></p>
<p>I once used <code>kill -9</code> instead of -HUP which stops and restarts the process. If you cannot afford to restart the ESXi host there is a way of starting inetd with ESXi:</p>
<p><code># cat /var/run/inetd.pid</code></p>
<p>This will give you a process ID (a very long number)</p>
<p><code># kill -HUP &lt;ID&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/633/enabling-ssh-access-in-esxi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware vSphere 4.1 adds more grunt!</title>
		<link>http://www.rayheffer.com/570/vmware-vsphere-4-1-adds-more-grunt/</link>
		<comments>http://www.rayheffer.com/570/vmware-vsphere-4-1-adds-more-grunt/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 08:31:51 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[vsphere 4.1]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=570</guid>
		<description><![CDATA[Earlier this week VMware released vSphere 4.1, a significant new version of the industry leading vSphere 4 virtualisation hypervisor. What is interesting is that from September 2010, vCenter management products will be licensed on a per VM basis. This includes: Chargeback, Site Recovery Manager, AppSpeed  and CapacityIQ  which are currently priced per processor. Products that won&#8217;t be [...]]]></description>
			<content:encoded><![CDATA[<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> <div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F570%2Fvmware-vsphere-4-1-adds-more-grunt%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F570_2Fvmware-vsphere-4-1-adds-more-grunt_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F570%2Fvmware-vsphere-4-1-adds-more-grunt%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-medium wp-image-582" title="VMware vSphere 4.1" src="http://www.rayheffer.com/wp-content/uploads/2010/07/vsphere-4.1-300x67.jpg" alt="VMware vSphere 4.1" width="240" height="54" /> Earlier this week VMware released vSphere 4.1, a significant new version of the industry leading vSphere 4 virtualisation hypervisor. What is interesting is that from September 2010, vCenter management products will be licensed on a per VM basis. This includes: Chargeback, Site Recovery Manager, AppSpeed  and CapacityIQ  which are currently priced per processor. Products that won&#8217;t be included in this licensing change are: vCenter Lab Manager, vCenter Lifecycle Manager, vCenter Server Heartbeat, vCenter Server, and VMware vSphere (ESX).<br />
<span id="more-570"></span><br />
The new licensing model will be sold in packs, with a minimum of a 25 VM pack. VMware vCenter will remain as a per server license.</p>
<p>&#8220;As virtualization becomes more pervasive, the VM has become the unit of measure for the data center in terms of cost accounting,&#8221; Bogomil Balkansky, VMware&#8217;s vice president of product marketing, told RCPU over lunch recently. The new model, which breaks from a CPU-based licensing structure, &#8220;allows customers to be a lot more granular,&#8221; Balkansky said.</p>
<p>New pricing has also been announced as part of vSphere 4.1, which offers stacks of new features for enterprise users, and importantly allows VMware to offer some of its more dated innovations at SMB prices. vMotion for example is now included in Standard and Essentials Plus vSphere editions, although the price has increased. Customers that have purchased support for the Standard Edition of vSphere 4.0 will be able to use vMotion at no extra cost.</p>
<p>For the enterprise customer, vSphere 4.1 has a new I/O control for both storage and networking. With this QoS (Quality of Service) style prioritisation for virtual machines, we can now guarantee storage and network IOPS for a virtual machine. Previously all virtual machines on the same ESX server had the same level of access to storage and network traffic, and there was no option to prioritse this. QoS metrics now move with the virtual machine when vMotion is active.</p>
<p>The vSphere 4.1 product is available as a free upgrade for those users buying support for vSphere 4.0 and will be available as a download as of today.</p>
<p><a href="http://www.vmware.com/support/vsphere4/doc/vsp_41_new_feat.html" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/support/vsphere4/doc/vsp_41_new_feat.html?referer=');">http://www.vmware.com/support/vsphere4/doc/vsp_41_new_feat.html</a></p>
<p><strong>Update</strong>: If you are already using VMware vCenter Lab Manager 4 in your vSphere environment, and you plan to upgrade to vSphere 4.1 then you must upgrade to <a href="http://www.vmware.com/support/labmanager40/doc/releasenotes_labmanager402.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/support/labmanager40/doc/releasenotes_labmanager402.html?referer=');">VMware Lab Manager 4.0.2</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/570/vmware-vsphere-4-1-adds-more-grunt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data Center &amp; IT Infrastructure</title>
		<link>http://www.rayheffer.com/552/data-center-it-infrastructure/</link>
		<comments>http://www.rayheffer.com/552/data-center-it-infrastructure/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 22:58:21 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[Business & IT]]></category>
		<category><![CDATA[c7000]]></category>
		<category><![CDATA[data center]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[tia-942]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=552</guid>
		<description><![CDATA[This is bit of a random post, but I wanted to share some of the reasons I joined IT in the first place. Lets face it, IT infrastructure hardware has evolved very well in the past 10 years. Pictured to the left is the HP c7000 blade chassis, and this was actually taken in March [...]]]></description>
			<content:encoded><![CDATA[<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> <div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F552%2Fdata-center-it-infrastructure%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F552_2Fdata-center-it-infrastructure_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F552%2Fdata-center-it-infrastructure%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2010/04/DSC_0042-1.jpg" rel="lightbox[552]" title="HP c7000 BladeSystem"><img class="alignleft size-medium wp-image-530" title="HP c7000 BladeSystem" src="http://www.rayheffer.com/wp-content/uploads/2010/04/DSC_0042-1-300x200.jpg" alt="" width="300" height="200" /></a>This is bit of a random post, but I wanted to share some of the reasons I joined IT in the first place. Lets face it, IT infrastructure hardware has evolved very well in the past 10 years. Pictured to the left is the HP c7000 blade chassis, and this was actually taken in March 2010 when  I was rolling out VMware vSphere on HP BL460 G6 blades. What I like about the BL460 G6 is that it can run 6 x NIC&#8217;s (two on board and a four port card) in addition to an HBA mezzanine card. Top that off with excellent BladeSystem management, ILO and Insight Manager, you can&#8217;t get much better. These blades here have 48GB RAM per host and two quad-core Intel x5550 processors. At half-height, you can pack 16 of these in a single chassis. Excellent for consolidation, both in physical terms and virtual!<br />
<span id="more-552"></span><br />
I&#8217;ve been working within large data centres since 2004, prior to that I had only worked in what I call &#8216;server rooms&#8217;. As an infrastructure manager / technical specialist, I pride myself in delivering first class technical solutions which I typically sum up in the following value statement:</p>
<p><strong><em>“Providing a solid &#8211; reliable IT infrastructure, to meet the existing and future needs of the business, incorporating expert design, solutions and a truly professional level of service.”</em></strong></p>
<p>It&#8217;s not all about flashy hardware though, as the statement above suggest it is about the service provided to your organisation. It&#8217;s probably easy for me to say, as I have worked over the past years introducing virtualisaton, VDI, storage and other infrastructure technologies, which in turn gives you a personal sense of pride. Your success is ultimately measured by the service provided, which not only incorporates uptime (HA and DR) but quality of service, speedy performance and uninterrupted service even during maintenance windows.</p>
<p>If you are interested in the uptime of data centre&#8217;s then you can find out more by visiting the <a href="http://uptimeinstitute.org" target="_blank" onclick="pageTracker._trackPageview('/outgoing/uptimeinstitute.org?referer=');">Uptime Institute</a> or by reading up on tier 1 data centre&#8217;s (according to <a href="http://en.wikipedia.org/wiki/Data_center" target="_blank" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/Data_center?referer=');">TIA-942</a>) thatl adopt N+1 resilience with cooling and power, and secure access control which meets strict security requirements.</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2010/04/DSC_0044.jpg" rel="lightbox[552]" title="Tier 1 Data Center"><img class="alignright size-medium wp-image-509" title="Tier 1 Data Center" src="http://www.rayheffer.com/wp-content/uploads/2010/04/DSC_0044-300x200.jpg" alt="" width="300" height="200" /></a>Keep your data centre tidy, and feel free to comment or share your own pics!</p>
<p>Ray</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/552/data-center-it-infrastructure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware vSphere Virtual Machine Live Clones Across Datacenters</title>
		<link>http://www.rayheffer.com/300/vmware-vsphere-virtual-machine-live-clones-across-datacenters/</link>
		<comments>http://www.rayheffer.com/300/vmware-vsphere-virtual-machine-live-clones-across-datacenters/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:25:19 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[cloning]]></category>
		<category><![CDATA[storage vmotion]]></category>
		<category><![CDATA[svmotion]]></category>
		<category><![CDATA[transfer]]></category>
		<category><![CDATA[vmkernel]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=300</guid>
		<description><![CDATA[Prior to VMware ESX 4 (vSphere) it was not possible to clone a running virtual machine to another datacenter, or to a virtual machine data store that wasn&#8217;t available on the source host. Now with VMware vSphere it is possible to clone a running virtual machine to another datacenter, even if the destination data store [...]]]></description>
			<content:encoded><![CDATA[<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> <div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F300%2Fvmware-vsphere-virtual-machine-live-clones-across-datacenters%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F300_2Fvmware-vsphere-virtual-machine-live-clones-across-datacenters_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F300%2Fvmware-vsphere-virtual-machine-live-clones-across-datacenters%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://www.rayheffer.com/wp-content/uploads/2010/02/Disk-clone.jpg" alt="" title="Disk clone" width="250" height="134" class="alignleft size-full wp-image-308" />Prior to VMware ESX 4 (vSphere) it was not possible to clone a running virtual machine to another datacenter, or to a virtual machine data store that wasn&#8217;t available on the source host. Now with VMware vSphere it is possible to clone a running virtual machine to another datacenter, even if the destination data store is not presented to the source host.<br />
<span id="more-300"></span><br />
<strong>How does this work when the target hosts volume isn&#8217;t even accessible on the originating server?</strong></p>
<p>The answer is in the Service Console network. When source and destination disk volumes are present, then it will initiate a disk to disk transfer (over iSCSI or fibre channel). However, when the target storage is unavailable it will now use the Service Console network to transfer the data. Magic!</p>
<p>This is an excellent feature, as prior to ESX 4 I had to temporarily present the target volume to the source host during the migration or cloning process. Now I can keep storage between my datacenters seperate.</p>
<p><strong>Why the Service Console Network?</strong></p>
<p>Providing the service console network is used for management only, this is the best option. You certainly wouldn&#8217;t want the VMkernal network to be saturated with traffic generated from a storage migration, as this would impact VMotion.</p>
<p>Thanks again to VMware for another excellent feature!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/300/vmware-vsphere-virtual-machine-live-clones-across-datacenters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Fix Host Not Responding Error with VMware ESX, vSphere in vCenter</title>
		<link>http://www.rayheffer.com/266/how-to-fix-not-responding-error-with-vmware-esx-in-vcenter/</link>
		<comments>http://www.rayheffer.com/266/how-to-fix-not-responding-error-with-vmware-esx-in-vcenter/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 10:54:11 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[esx disconnected]]></category>
		<category><![CDATA[host agent]]></category>
		<category><![CDATA[host disconnected]]></category>
		<category><![CDATA[hostd]]></category>
		<category><![CDATA[mgmt-vmware]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=266</guid>
		<description><![CDATA[Virtualcenter looses connectivity to an ESX or vSphere host, and all of the virtual machines that are running on the host show as &#8216;disconnected&#8217;. You will also see that the host has &#8216;not responding&#8217; in brackets next to it&#8217;s name. This one is very simple to fix, as it is usually caused by the host [...]]]></description>
			<content:encoded><![CDATA[<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> <div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F266%2Fhow-to-fix-not-responding-error-with-vmware-esx-in-vcenter%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F266_2Fhow-to-fix-not-responding-error-with-vmware-esx-in-vcenter_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F266%2Fhow-to-fix-not-responding-error-with-vmware-esx-in-vcenter%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-full wp-image-371" title="power-button" src="http://www.rayheffer.com/wp-content/uploads/2010/02/power-button.png" alt="" width="93" height="81" />Virtualcenter looses connectivity to an ESX or vSphere host, and all of the virtual machines that are running on the host show as &#8216;disconnected&#8217;. You will also see that the host has &#8216;not responding&#8217; in brackets next to it&#8217;s name.</p>
<p>This one is very simple to fix, as it is usually caused by the host agent service (mgmt-vmware) failing due to a dead process.<br />
<span id="more-266"></span><br />
First, try and restart the mgmt-vmware service:</p>
<p><code># service mgmt-vmware restart</code></p>
<p>If you find this is hanging when trying to restart the host agent, then you&#8217;ll need to kill off the process causing the issue. Open another console session and do the following:</p>
<p><code>#  ps -ef | grep hostd</code></p>
<p>This will output a list of processes using hostd similar to the following:</p>
<p><code>root     23955     1  0 10:42 pts/1    00:00:00 /bin/sh /usr/bin/vmware-watchdog -s hostd -u 60 -q 5 -c /usr/sbin/vmware-hostd-support /usr/sbin/vmware-hostd -u<br />
root     23961 23955  4 10:42 ?        00:00:15 /usr/lib/vmware/hostd/vmware-hostd /etc/vmware/hostd/config.xml -u<br />
root     24211 23422  0 10:48 pts/1    00:00:00 grep hostd</code></p>
<p>If you look at the output carefully you&#8217;ll see that the first process is using the vmware-watchdog, this is fine, but the second line is using hostd (config.xml -u). This is the culprit, so lets kill the process. By the way, your virtual machines will continue to run so don&#8217;t worry about that.</p>
<p><code># kill -9 23961</code></p>
<p>You&#8217;ll now find that the hostd service will start and after a few seconds your host and virtual machines will become available again in vCenter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/266/how-to-fix-not-responding-error-with-vmware-esx-in-vcenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware ESX 3.x Snapshots</title>
		<link>http://www.rayheffer.com/4/vmware-esx-3-x-snapshots/</link>
		<comments>http://www.rayheffer.com/4/vmware-esx-3-x-snapshots/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 15:55:09 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[delta]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[vi3]]></category>

		<guid isPermaLink="false">http://wp.rayheffer.com/?p=4</guid>
		<description><![CDATA[Snapshots are a fantastic way of providing a quick and reliable method of rolling back the state of a virtual machine, should something go astray following an patch or update. VMware VCB also uses virtual machine snapshots to quiesce the VM prior to taking the backup data. However, in larger environments where there may be tens or [...]]]></description>
			<content:encoded><![CDATA[<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> <div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F4%2Fvmware-esx-3-x-snapshots%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F4_2Fvmware-esx-3-x-snapshots_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F4%2Fvmware-esx-3-x-snapshots%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>Snapshots are a fantastic way of providing a quick and reliable method of rolling back the state of a virtual machine, should something go astray following an patch or update. VMware VCB also uses virtual machine snapshots to quiesce the VM prior to taking the backup data.</p>
<p>However, in larger environments where there may be tens or hundreds of VMware ESX servers, snapshots can also be a pain in the backside if there is no control over who is using them. Why? Because snapshots work by creating a delta VMDK that records the changes in blocks, a process called copy-on-write (COW). Over time the delta VMDK file will grow, and depending on the level of I/O within the VM it could grow faster on some virtual machines and not others.</p>
<p>The danger only presents itself if the datastore where the VMDK resides reaches it&#8217;s capacity. When this happens, virtual machines that are not thin-provisioned should continue to run with no problems, but think about these situations:</p>
<p>1) You have other virtual machines in the same datastore using snapshots.<br />
2) You have one or more virtual machines on thin-provisioned disks.<br />
3) You have powered off virtual machines, that need to be powered on.</p>
<p>In all of the above scenarios if the datastore is full then the affected virtual machines will be suspended (paused). Virtual machines with thick-provisioned disks will continue to operate as the VMDK already has the full allocated of storage space available. Virtual machines that are powered off, and need to be powered back on will fail as they won&#8217;t have enough disk space to create the virtual swap file.<br />
<span id="more-4"></span></p>
<p>The simple rules to follow to avoid these situations is:</p>
<p>1) Allow enough free disk space in each datastore for the snapshots to reside. If snapshots are only ever created during a VCB backup, and the virtual machines have little I/O then you won&#8217;t need as much space as busy environments.<br />
2) Monitor the use of snapshots in your environment. I&#8217;ve included a command you can run to find snapshots below.<br />
3) Don&#8217;t forget about snapshots and leave them in place. They will get bigger!<br />
4) Change the permissions to restrict who can take virtual machine snapshots. The fewer the better, and try to establish some internal procedures to make IT staff aware of the potential issues.</p>
<p>A simple, yet useful command you can run on each ESX server to find snapshots is this:</p>
<p>Login to your ESX server and change the working directory to /vmfs/volumes. Then use the grep command to find vmsn (VMware Snapshot) files.</p>
<p><code># cd /vmfs/volumes<br />
# ls -Rh | grep "vmsn"</code></p>
<p>This can be really useful, especially when you don&#8217;t know who is creating snapshots and forgetting they are there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/4/vmware-esx-3-x-snapshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
