<?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>Kraft Kennedy &#124; Technology Blog &#187; Matt Liebowitz</title>
	<atom:link href="http://blogs.kraftkennedy.com/index.php/author/liebowitz/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.kraftkennedy.com</link>
	<description>Trends and insight into legal technology, infrastructure and strategic thinking.</description>
	<lastBuildDate>Wed, 14 Jul 2010 20:44:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Manage EqualLogic SANs directly from the vSphere Client</title>
		<link>http://blogs.kraftkennedy.com/index.php/2010/07/12/manage-equallogic-sans-directly-from-the-vsphere-client/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2010/07/12/manage-equallogic-sans-directly-from-the-vsphere-client/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 22:38:35 +0000</pubDate>
		<dc:creator>Matt Liebowitz</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[EqualLogic]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSphere]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=1357</guid>
		<description><![CDATA[Quite a while back I saw that Eric Sloof had figured out how to add his Twitter feed directly into the VI Client.  I thought it was clever but didn&#8217;t really give it much more thought than that.
Today I decided to take that concept and extend it to systems that you might manage alongside your [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F07%2F12%2Fmanage-equallogic-sans-directly-from-the-vsphere-client%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F07%2F12%2Fmanage-equallogic-sans-directly-from-the-vsphere-client%2F" height="61" width="51" /></a></div><p>Quite a while back I saw that Eric Sloof had figured out how to <a href="http://www.ntpro.nl/blog/archives/995-Extending-the-VI-Client-with-the-Twitter-Plug-in.html" target="_blank">add his Twitter feed</a> directly into the VI Client.  I thought it was clever but didn&#8217;t really give it much more thought than that.</p>
<p>Today I decided to take that concept and extend it to systems that you might manage alongside your VI3/vSphere environment.  Storage management seemed like the obvious first choice.<span id="more-1357"></span></p>
<p>I created an XML file called EqualLogic.xml in C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Plugins\SAN Management.  The contents of the file are as follows (you would replace the &lt;url&gt; section with the IP or DNS name of your SAN):</p>
<p>&lt;scriptConfiguration version=&#8221;1.0.0&#8243;&gt;<br />
&lt;key&gt;EqualLogic&lt;/key&gt;<br />
&lt;description&gt;EqualLogic SAN Management&lt;/description&gt;<br />
&lt;view parent=&#8221;Inventory.HostSystem&#8221;&gt;<br />
&lt;title locale=&#8221;en&#8221;&gt;EqualLogic&lt;/title&gt;<br />
&lt;url&gt;http://10.1.97.30&lt;/url&gt;<br />
&lt;/view&gt;<br />
&lt;/scriptConfiguration&gt;</p>
<p>This gave me a nice way to manage my SAN from the same interface that I use to manage my vSphere environment.  It is simply opening a browser window within the vSphere Client and letting me manage the SAN.</p>
<p><img class="alignnone size-full wp-image-1364" title="EqualLogic Management" src="http://blogs.kraftkennedy.com/wp-content/uploads/2010/07/EQLMGMT2.jpg" alt="EqualLogic Management" width="582" height="189" /></p>
<p>The code above will make the EqualLogic tab visible only when clicking on an ESX/ESXi host.  If you wanted to extend that to other objects, you can simply adjust the &#8220;&lt;view parent=&#8221; section.  For example, to also make this available at the cluster level you would include the following:</p>
<p>&lt;view parent=&#8221;Inventory.Cluster&#8221;&gt;<br />
&lt;title locale=&#8221;en&#8221;&gt;EqualLogic&lt;/title&gt;<br />
&lt;url&gt;http://10.1.97.30/&lt;/url&gt;<br />
&lt;/view&gt;</p>
<p>Similarly you could add Inventory.Global, Inventory.VirtualMachine, Inventory.Datacenter, etc.</p>
<p>This is a really simple way to make it easy to manage any web interface (not just EqualLogic) from within the vSphere/VI Client.  It&#8217;s not a new trick and has been out there for a while but I had never used it for this until today.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2010/07/12/manage-equallogic-sans-directly-from-the-vsphere-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware KB Clarifies Page Sharing on Nehalem Processors</title>
		<link>http://blogs.kraftkennedy.com/index.php/2010/05/27/vmware-kb-clarifies-page-sharing-on-nehalem-processors/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2010/05/27/vmware-kb-clarifies-page-sharing-on-nehalem-processors/#comments</comments>
		<pubDate>Thu, 27 May 2010 19:31:21 +0000</pubDate>
		<dc:creator>Matt Liebowitz</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSphere]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=1269</guid>
		<description><![CDATA[For quite a while there has been confusion over how VMware&#8217;s Transparent Page Sharing (TPS) feature works with vSphere 4 running on Nehalem (or other modern) processors. Many people were noticing that it appeared that TPS was not actually working anymore and looked for ways to fix the problem.
In my recent post on the effects [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F05%2F27%2Fvmware-kb-clarifies-page-sharing-on-nehalem-processors%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F05%2F27%2Fvmware-kb-clarifies-page-sharing-on-nehalem-processors%2F" height="61" width="51" /></a></div><p>For quite a while there has been confusion over how VMware&#8217;s Transparent Page Sharing (TPS) feature works with vSphere 4 running on Nehalem (or other modern) processors. Many people were noticing that it appeared that TPS was not actually working anymore and looked for ways to fix the problem.</p>
<p>In my <a href="http://blogs.kraftkennedy.com/index.php/2010/04/26/effect-of-aslr-on-transparent-page-sharing-in-vmware-vsphere/" target="_blank">recent post</a> on the effects of ASLR in vSphere the comments turned into a discussion about TPS on modern processors. And there are countless posts about this issue on the VMTN forums where folks are looking for a fix. In reality nothing is broken and there is no need to fix the issue.<span id="more-1269"></span></p>
<p>VMware has <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1020524" target="_blank">published a KB article</a> that gives more information on TPS with Nehalem processors and why it appears TPS isn&#8217;t working (this affects modern AMD processors also). The short version is that TPS uses small pages (4K), and Nehalem processors utilize large pages (2MB). The ESX/ESXi host keeps track of what pages could be shared, and once memory is over-comitted it breaks the large pages into small pages and begins sharing memory.</p>
<p>Many people think this is a bug in ESX that needs to be fixed. This likely started because when vSphere 4 was released there <em><strong>was</strong></em> a bug around memory usage on ESX hosts with Nehalem processors. In reality the bug was that vCenter was triggering high memory usage alarms for virtual machines running in this configuration. Nothing was actually wrong but because the host was using all of the assigned memory for the VM, vCenter was incorrectly triggering the alarm. That behavior has since been fixed <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1013206" target="_blank">with a patch </a>and is no longer an issue.</p>
<p>So what does this actually look like? When a VM is powered up on an ESX host with Nehalem processors, the amount of host memory in use will not drop down as the VM uses less memory or becomes idle. Those of us that have been using ESX for a long time likely found this scenario disturbing.</p>
<p>From vSphere Client (red highlighted section shows guest taking all of the 2GB assigned memory, yet memory usage in the guest is very low):</p>
<p><img class="alignnone size-full wp-image-1273" title="High host memory usage" src="http://blogs.kraftkennedy.com/wp-content/uploads/2010/05/MemUsageBeforeTPS.jpg" alt="High host memory usage" width="599" height="251" /></p>
<p>From esxtop (red highlighted section shows almost no memory being shared with page sharing):</p>
<p><img class="alignnone size-full wp-image-1277" title="View from esxtop" src="http://blogs.kraftkennedy.com/wp-content/uploads/2010/05/EsxtopNoTPS.jpg" alt="View from esxtop" width="608" height="371" /></p>
<p>The above screenshots show a host that is <em>under-committed </em>on memory and so no page sharing is occurring.  If the host gets over-commited page sharing kicks in automatically by breaking up large pages into small pages.  You can force the use of small pages on all guests all the time by changing the value of the advanced option Mem.AllocGuestLargePage to 0.  I don&#8217;t really see any reason to do this &#8211; remember that TPS isn&#8217;t broken and what you see in the above screenshots is normal and expected.</p>
<p>Once host memory is over-committed (or if you use the advanced option), memory sharing kicks in and things look like they normally do when page sharing is taking place.</p>
<p>From the vSphere Client (red highlighted section shows guest taking very little of the assigned 2GB memory as page sharing has kicked in):</p>
<p><img class="alignnone size-full wp-image-1279" title="Memory usage with TPS" src="http://blogs.kraftkennedy.com/wp-content/uploads/2010/05/MemUsageAfterTPS.jpg" alt="Memory usage with TPS" width="681" height="241" /></p>
<p>From esxtop (red highlighted sections show a large amount of shared memory and the host is over-commited on memory by 48%):</p>
<p><img class="alignnone size-full wp-image-1281" title="esxtop with TPS" src="http://blogs.kraftkennedy.com/wp-content/uploads/2010/05/EsxtopWithTPS.jpg" alt="esxtop with TPS" width="649" height="394" /></p>
<p>A quick note on the esxtop screenshot above &#8211; it was taken from a VDI environment where all workloads are identical so that explains the high amount of shared pages.  It was also overcommitted more than normal as it was taken during host maintenance.</p>
<p>I hope this clears up some of the confusion around TPS on modern Intel/AMD processors.  In short, don&#8217;t get hung up on the fact that TPS isn&#8217;t kicking in like it did with older processors.  Nothing is broken, TPS is working as expected, and it will kick in when you actually need it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2010/05/27/vmware-kb-clarifies-page-sharing-on-nehalem-processors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set Round Robin MPIO as default for vSphere 4/EqualLogic SANs</title>
		<link>http://blogs.kraftkennedy.com/index.php/2010/05/07/set-round-robin-mpio-as-default-for-vsphere-4equallogic-sans/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2010/05/07/set-round-robin-mpio-as-default-for-vsphere-4equallogic-sans/#comments</comments>
		<pubDate>Fri, 07 May 2010 15:18:28 +0000</pubDate>
		<dc:creator>Matt Liebowitz</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[EqualLogic]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSphere]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=1189</guid>
		<description><![CDATA[When VMware released vSphere 4 last year, one of the changes they made was a completely re-written software iSCSI initiator.  This was done to optimize performance which is great considering how popular iSCSI SANs have become. They also gave the ability to use Round Robin MPIO (mutlipathing) in the software initiator in addition to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F05%2F07%2Fset-round-robin-mpio-as-default-for-vsphere-4equallogic-sans%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F05%2F07%2Fset-round-robin-mpio-as-default-for-vsphere-4equallogic-sans%2F" height="61" width="51" /></a></div><p>When VMware released vSphere 4 last year, one of the changes they made was a completely re-written software iSCSI initiator.  This was done to optimize performance which is great considering how popular iSCSI SANs have become. They also gave the ability to use Round Robin MPIO (mutlipathing) in the software initiator in addition to Fixed Path and MRU which were previously available.</p>
<p>I&#8217;m working on a vSphere implementation using Dell EqualLogic SANs and wanted to configure Round Robin on all of my datastores.  Dell has a <a href="http://www.equallogic.com/resourcecenter/assetview.aspx?id=8453" target="_blank">great whitepaper</a> on how to set this up, but unfortunately the document fails to mention one key thing: this doesn&#8217;t change the default path selection plugin (PSP) from Fixed to Round Robin.    That means that you&#8217;ll have to set the multipathing policy to Round Robin on all of your existing datastores and will have to remember to do that on all future datastores.  When you&#8217;ve got multiple ESX hosts with lots of  datastores this can quickly become a pain.</p>
<p><span id="more-1189"></span>Luckily there is a way to force the default multipathing policy to Round Robin.  The following commands can be used to change the default PSP to Round Robin as well as configure round robin specifically for the EqualLogic provider.  These commands can be entered at the Service Console or via the <a href="http://www.vmware.com/support/developer/vcli/">vSphere CLI 4.0</a>:</p>
<blockquote><p>esxcli nmp satp setdefaultpsp &#8211;satp VMW_SATP_DEFAULT_AA  &#8211;psp VMW_PSP_RR<br />
esxcli nmp satp setdefaultpsp &#8211;satp VMW_SATP_EQL  &#8211;psp VMW_PSP_RR<br />
esxcli corestorage claimrule load<br />
esxcli corestorage claimrule run</p></blockquote>
<p><em>Note that &#8220;satp&#8221; and &#8220;psp&#8221; are preceded by two dashes and not a single dash as it appears in this blog post.</em></p>
<p>Once you enter those commands (no rebooting required) any volume you add, either new or existing, will use Round Robin MPIO by default.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2010/05/07/set-round-robin-mpio-as-default-for-vsphere-4equallogic-sans/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Does ASLR really hurt memory sharing in VMware vSphere?</title>
		<link>http://blogs.kraftkennedy.com/index.php/2010/04/26/effect-of-aslr-on-transparent-page-sharing-in-vmware-vsphere/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2010/04/26/effect-of-aslr-on-transparent-page-sharing-in-vmware-vsphere/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 15:47:10 +0000</pubDate>
		<dc:creator>Matt Liebowitz</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSphere]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=1142</guid>
		<description><![CDATA[I&#8217;ve seen a lot of talk lately about VMware&#8217;s Transparent Page Sharing (TPS) and how it is affected by ASLR in Windows 2008/Windows 7.  I wanted to see if there was any real measurable reduction in shared memory when using ASLR vs. when it was disabled.  First, let&#8217;s talk about what TPS and [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F04%2F26%2Feffect-of-aslr-on-transparent-page-sharing-in-vmware-vsphere%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F04%2F26%2Feffect-of-aslr-on-transparent-page-sharing-in-vmware-vsphere%2F" height="61" width="51" /></a></div><p>I&#8217;ve seen a lot of talk lately about VMware&#8217;s Transparent Page Sharing (TPS) and how it is affected by ASLR in Windows 2008/Windows 7.  I wanted to see if there was any real measurable reduction in shared memory when using ASLR vs. when it was disabled.  First, let&#8217;s talk about what TPS and ASLR actually are and what the acronyms mean.<br />
<span id="more-1142"></span><br />
Transparent Page Sharing is a technology built into ESX/ESXi that looks for identical guest memory pages and writes them to memory just once.  Guests can then share those identical pages rather than each writing the same page to memory.  TPS is a great feature that allows for memory overcommittment, especially on hosts that run many of the same type of workload.</p>
<p>Address Space Layout Randomization (ASLR) is a security feature that randomizes the position of data in memory, making it more difficult for attackers to predict where data can be found while in memory.  This feature has been enabled in Windows since Windows Vista, and other operating system such as Linux and MacOS implement this in some form as well.</p>
<p>Since ASLR randomizes information in memory it makes sense that it would be more difficult for TPS to find identical memory pages and thus memory sharing would be reduced.  But just how much of a difference does it make?  I decided to try and find out.  Here are the specs from my test environment:</p>
<p>Server: HP DL385 G1 (AMD Opteron 275)<br />
ESX: 4.0.0 build 244038<br />
Guest OS: Windows Server 2008 R2<br />
Guest RAM: 2.5GB</p>
<p>All guests were cloned from the same template and have the same software installed.  On guests TESTSRV1 and TESTSRV3, I left the default settings. On TESTSRV2 and TESTSRV4, I disabled ASLR using the following regkey:</p>
<p><em>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]<br />
&#8220;MoveImages&#8221;=dword:00000000</em></p>
<p>In all of my testing, including leaving VMs idle and also running memory tests, I found <strong>no measurable difference</strong> in the amount of memory shared with TPS.  I also looked at esxtop to see how much memory was actually being shared and I saw virtually no difference whatsoever between VMs that had ASLR enabled and those that had it disabled.</p>
<p><strong>Host Memory Usage:</strong><br />
<img src="http://blogs.kraftkennedy.com/wp-content/uploads/2010/04/HostMem.jpg" alt="Host Memory Usage" title="Host Memory Usage" width="539" height="116" class="alignnone size-full wp-image-1158" /></p>
<p><strong>esxtop statistics:</strong><br />
<img src="http://blogs.kraftkennedy.com/wp-content/uploads/2010/04/esxtop.png" alt="esxtop" title="esxtop" width="501" height="102" class="alignnone size-full wp-image-1168" /></p>
<p>The SHRD and SHRDSVD columns represent how much memory is being shared with TPS and the total memory savings.  Clearly there is quite a bit of memory sharing going with or without ASLR enabled. </p>
<p>Why would this be the case since it makes sense that TPS would be hurt by ASLR?  ASLR requires applications to &#8220;opt-in&#8221; to have their memory randomized, and I suspect that much of Windows 2008 R2 is not opted in.  Perhaps applications will come out in the future that are written to take advantage of ASLR, but at the moment that doesn&#8217;t appear to be the case.</p>
<p>Of course this is by no means a definitive test as it wasn&#8217;t run with production systems and real users running real applications.  That said, I think it shows that ASLR does not dramatically reduce the amount of memory shared with TPS.  I did also look at production systems left at the default settings (ASLR enabled) and saw similar memory sharing gains.  I&#8217;m curious if others have seen similar results in their environments, so drop me a line if you&#8217;ve done any similar testing.</p>
<p>More info:<br />
<br />
<a href="http://en.wikipedia.org/wiki/Address_space_layout_randomization" target="_blank">What is ASLR (Wikipedia)</a><br />
<a href="http://communities.vmware.com/docs/DOC-9279/version/2;jsessionid=AD58140E2334A04A619AD1DC3D07F43F" target="_blank">Interpreting esxtop statistics</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2010/04/26/effect-of-aslr-on-transparent-page-sharing-in-vmware-vsphere/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Virtualizing SCSI tape drives with an iSCSI bridge</title>
		<link>http://blogs.kraftkennedy.com/index.php/2010/01/05/virtualizing-scsi-tape-drives-with-an-iscsi-bridge/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2010/01/05/virtualizing-scsi-tape-drives-with-an-iscsi-bridge/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 05:25:14 +0000</pubDate>
		<dc:creator>Matt Liebowitz</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=982</guid>
		<description><![CDATA[For years organizations have relied on tape drives and changers for backup and recovery of their critical data. Despite many predictions to the contrary, tape is still alive as we begin 2010.
When virtualization became popular it presented a challenge to those looking to continue to use their tape drives in fully virtualized environments. If you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F01%2F05%2Fvirtualizing-scsi-tape-drives-with-an-iscsi-bridge%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F01%2F05%2Fvirtualizing-scsi-tape-drives-with-an-iscsi-bridge%2F" height="61" width="51" /></a></div><p>For years organizations have relied on tape drives and changers for backup and recovery of their critical data. Despite many predictions to the contrary, tape is still alive as we begin 2010.</p>
<p>When virtualization became popular it presented a challenge to those looking to continue to use their tape drives in fully virtualized environments. If you were using VMware you could use SCSI pass-through to present a tape drive or changer directly to a virtual machine but that prevented you from using any advanced features like VMotion. It also tied your tape drive and VM to a single host containing a SCSI card, making things complicated if that host were to experience a hardware failure.</p>
<p><span id="more-982"></span>While this is still possible in <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1016407" target="_blank">vSphere 4</a> (and the <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1000024" target="_blank">previous version</a>), this configuration is not ideal.  Instead, consider converting that SCSI tape changer into an iSCSI target that can be used on any virtual machine attached to any host by using an iSCSI-to-SCSI bridge.  These bridges let you attach your tape changer directly to the device and then present the tape changer to virtual machines as an iSCSI target.  There are several different vendors providing this technology, including <a href="http://www.attotech.com/index.html" target="_blank">Atto Technology</a>, <a href="http://www.paralan.com/index.html" target="_blank">Paralan</a>, and others.</p>
<p>Once the tape drive is attached to the iSCSI bridge and configured as a target, you simply use the Microsoft iSCSI initiator inside a virtual machine to connect to the device.  The tape device will appear to the virtual machine as if it were any other iSCSI target (like a SAN LUN).</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1013" title="Initiator" src="http://blogs.kraftkennedy.com/wp-content/uploads/2010/01/initiator2.JPG" alt="Initiator" width="394" height="258" /></p>
<p>After connecting to the target in the iSCSI Initator, the tape device will become visible in Device Manager on the VM and within tape backup software.</p>
<p><img class="aligncenter size-full wp-image-1007" title="Library" src="http://blogs.kraftkennedy.com/wp-content/uploads/2010/01/library.JPG" alt="Library" width="265" height="131" /></p>
<p>After the tape device has been successfully discovered, the virtual machine can then be managed with features like VMotion, HA, and DRS because the VM won&#8217;t be tied to an individual host.  This configuration also opens up other design possibilities, such as multiple backup servers running different backup products.  Using the iSCSI bridge provides a lot more flexibility than directly attaching the tape device to an ESX host.</p>
<p>Sounds great, right?  As always, there are things to consider before moving forward with this type of solution:</p>
<p>1) Does your backup software vendor and tape changer vendor support this setup?</p>
<p>2) Will this setup meet the performance requirements of your environment?  In practice I&#8217;ve seen these devices push 2 GB/min or more, similar to the performance of direct attached tape devices.</p>
<p>Using an iSCSI-to-SCSI bridge opens up a lot of possibilities for keeping a tape device in your fully virtualized environment.  It also simplifies your setup and allows you to take advantage of enterprise features of your virtualization product.  Finally, for around $1,200 for the iSCSI bridge this is also an affordable solution to a common problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2010/01/05/virtualizing-scsi-tape-drives-with-an-iscsi-bridge/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Think that screensaver doesn&#8217;t matter in your virtual machine?</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/11/17/think-that-screensaver-doesnt-matter-in-your-virtual-machine/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/11/17/think-that-screensaver-doesnt-matter-in-your-virtual-machine/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 14:35:14 +0000</pubDate>
		<dc:creator>Matt Liebowitz</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[VDI]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=878</guid>
		<description><![CDATA[
For years the best practice has been to disable screensavers on virtual machines.  Screensavers take memory and CPU cycles to run and that can hurt consolidation ratios, especially when there is no reason to run a screensaver on a server VM.  After all, why run a screensaver on a server that doesn&#8217;t actually connect to a [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F11%2F17%2Fthink-that-screensaver-doesnt-matter-in-your-virtual-machine%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F11%2F17%2Fthink-that-screensaver-doesnt-matter-in-your-virtual-machine%2F" height="61" width="51" /></a></div><div class="mceTemp">
<p>For years the best practice has been to disable screensavers on virtual machines.  Screensavers take memory and CPU cycles to run and that can hurt consolidation ratios, especially when there is no reason to run a screensaver on a server VM.  After all, why run a screensaver on a server that doesn&#8217;t actually connect to a monitor?  Seems obvious and almost unnecessary to bring up in 2009.</p>
<p>While working on a recent VDI project, I noticed unexpectedly high CPU utilization on a seemingly idle virtual desktop.  Turns out that the desktop image we were given had the 3D Flying Objects screensaver enabled.  When it kicked in after the desktop went idle it started taking a fair amount of the CPU.  How much CPU it was using might surprise you.  Take a look:</p>
<p><span id="more-878"></span></div>
<div id="attachment_882" class="wp-caption alignnone" style="width: 391px"><img class="size-full wp-image-882" title="CPU Spike" src="http://blogs.kraftkennedy.com/wp-content/uploads/2009/11/CPU-Spike.jpg" alt="High CPU utilization when screensaver kicks in" width="381" height="262" /><p class="wp-caption-text">High CPU utilization when screensaver kicks in</p></div>
<p>That ended up being around 900MHz of a modern Intel X5460 CPU.  If this was lunch time and 15 people left their VDI session idle, this easily could have caused high CPU utilization across the entire ESX host and hurt performance for everyone.</p>
<p>Most organizations require that a screensaver kick in after a set period of idle time to protect access to the desktop.  A much better alternative is to use the Blank screensaver available in Windows XP/Vista/7 to protect the screen and require a password to unlock.  You get the protection without the unnecessary drain on the CPU.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/11/17/think-that-screensaver-doesnt-matter-in-your-virtual-machine/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Comparing VMware Fault Tolerance to Microsoft Failover Clusters</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/10/01/comparing-vmware-fault-tolerance-to-microsoft-failover-clusters/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/10/01/comparing-vmware-fault-tolerance-to-microsoft-failover-clusters/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 20:09:32 +0000</pubDate>
		<dc:creator>Matt Liebowitz</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Failover Cluster]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VSphere]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=416</guid>
		<description><![CDATA[With the release of VMware vSphere 4, VMware has released a very powerful management tool called Fault Tolerance (FT).  At a basic level, FT allows you to keep two virtual machines (a Primary VM and a Secondary VM) running in lockstep on two different physical ESX hosts.  If one of the ESX hosts were to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F10%2F01%2Fcomparing-vmware-fault-tolerance-to-microsoft-failover-clusters%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F10%2F01%2Fcomparing-vmware-fault-tolerance-to-microsoft-failover-clusters%2F" height="61" width="51" /></a></div><p>With the release of VMware vSphere 4, VMware has released a very powerful management tool called <a href="http://www.vmware.com/products/fault-tolerance/" target="_blank">Fault Tolerance</a> (FT).  At a basic level, FT allows you to keep two virtual machines (a Primary VM and a Secondary VM) running in lockstep on two different physical ESX hosts.  If one of the ESX hosts were to experience a hardware failure, the VM protected with FT would remain running on the second host without any downtime.  This can greatly reduce downtime due to hardware failures and provide increased service levels for important applications.</p>
<p>FT is often compared to Microsoft Windows Failover Clusters, formerly Microsoft Cluster Server (MSCS), and in fact many have talked about how FT can replace Microsoft clustering altogether.  Rather than jump to conclusions like this, it is important to understand the use cases for both technologies.  In addition, there are several limitations to FT that need to be considered. Here are some important points to remember about FT:</p>
<p><span id="more-416"></span></p>
<p>1) FT only supports a single vCPU, limiting its usefulness for some applications (this will probably change in the future).</p>
<p>2) FT is meant to protect against <strong>host level failures</strong> only, such as physical server failures.</p>
<p>3) FT keeps protected virtual machines in complete lockstep, meaning whatever happens on the Primary VM also happens on the Secondary VM.  Why is this important to understand?  Guess what happens when the Primary VM bluescreens.</p>
<p>4) FT VMs share the same virtual disk file, meaning a storage level failure affects both.</p>
<p>Microsoft Failover Clustering, on the other hand, can help protect against <strong>application and operating system</strong> level failures in addition to physical server failures.  Clusters also make it easier to patch the underlying operating system with minimal downtime.  Finally, FT has a limited set of hardware that it is compatible with (see <a href="http://www.vmware.com/download/shared_utilities.html" target="_blank">this link</a> to check if your system is compatible) so that may limit its usefulness for some organizations using older hardware.</p>
<p>All of that said, FT is a great feature and definitely has a place in your virtual infrastructure.  Best of all it is available in <a href="http://www.vmware.com/products/vsphere/mid-size-and-enterprise-business/buy.html" target="_blank">vSphere Advanced</a> and above, making it an affordable feature that many organizations may already own.  So what are good use cases for FT over Microsoft clusters?  Here are some thoughts:</p>
<ul>
<li>Provide hardware level protection to applications that don&#8217;t natively support any clustering functionality.  There are many examples here &#8211; web servers, application servers, etc.</li>
<li>Provide hardware level protection to applications where clustering support may be available but is either expensive or requires a special license.  Document management servers, indexers, etc., may make good candidates here.</li>
<li>Provide extra protection against hardware failures for critical applications during specific business periods where downtime simply cannot be tolerated, such as accounting servers during end of month processing.</li>
<li>Your specific virtual infrastructure configuration precludes you from using Microsoft clusters due to <a href="http://www.windowsservercatalog.com/svvp.aspx?svvppage=svvpwizard.htm" target="_blank">Microsoft</a> or <a href="http://www.vmware.com/pdf/vsphere4/r40/vsp_40_mscs.pdf" target="_blank">VMware</a> supportability.</li>
</ul>
<p>VMware FT is a great new feature that can help provide extra uptime to virtual machines in your environment.  It is available in most versions of vSphere and should definitely be considered as part of a virtual infrastructure design.  Just make sure you understand the use cases for it and don&#8217;t rule out Microsoft clusters where they are appropriate.</p>
<p>See also:</p>
<p><a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1013428" target="_blank">FT Frequently Asked Questions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/10/01/comparing-vmware-fault-tolerance-to-microsoft-failover-clusters/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Expand Windows 2008 boot volumes with no downtime</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/09/14/expand-windows-2008-boot-volumes-with-no-downtime/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/09/14/expand-windows-2008-boot-volumes-with-no-downtime/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 18:10:32 +0000</pubDate>
		<dc:creator>Matt Liebowitz</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=612</guid>
		<description><![CDATA[In a previous post, I discussed how to expand virtual machine boot volumes with no downtime using Dell&#8217;s ExtPart utility.  Using this method is useful if you are using Windows Server 2000/2003, but is no longer required when using Windows 2008.  With Windows 2008 becoming the preferred server operating system going forward, using the method [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F09%2F14%2Fexpand-windows-2008-boot-volumes-with-no-downtime%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F09%2F14%2Fexpand-windows-2008-boot-volumes-with-no-downtime%2F" height="61" width="51" /></a></div><p>In a <a href="http://blogs.kraftkennedy.com/index.php/2009/06/30/expand-virtual-machine-boot-volumes-with-no-downtime/" target="_blank">previous post</a>, I discussed how to expand virtual machine boot volumes with no downtime using Dell&#8217;s ExtPart utility.  Using this method is useful if you are using Windows Server 2000/2003, but is no longer required when using Windows 2008.  With Windows 2008 becoming the preferred server operating system going forward, using the method described below will become more and more common.</p>
<p>Microsoft has made it possible to expand boot volumes easily and on the fly without downtime without the need for any additional tools.  In this example, we&#8217;ll expand the C: drive of a Windows 2008 virtual machine from 25GB to 30GB.</p>
<p>1. Expand the size of the virtual disk.<br />
<img class="size-full wp-image-613 alignnone" src="http://blogs.kraftkennedy.com/wp-content/uploads/2009/09/Win2k8-ExpandDisk.JPG" alt="Expand virtual hard drive" width="310" height="78" /></p>
<p>2. Launch Disk Management by right clicking on My Computer, selecting Manage, and then selecting Storage\Disk Management.  If you do not see the unallocated space, right click on Disk Management and select &#8220;Rescan Disks.&#8221;</p>
<p><img class="size-full wp-image-614 alignnone" src="http://blogs.kraftkennedy.com/wp-content/uploads/2009/09/Win2k8-DiskMgmt.JPG" alt="Disk Management" width="438" height="66" /></p>
<p>
<span id="more-612"></span></p>
<p>3. Right click on the currently allocated (blue) space, and select &#8220;Extend Volume&#8230;&#8221; to launch the Extend Volume Wizard.</p>
<p><img class="size-full wp-image-616 alignnone" src="http://blogs.kraftkennedy.com/wp-content/uploads/2009/09/Win2k8-Extend.JPG" alt="Win2k8-Extend" width="157" height="178" /></p>
<p>4. Select Next at the Wizard launch screen, and then confirm the amount of space to add to the volume.</p>
<p><img class="size-full wp-image-617 alignnone" src="http://blogs.kraftkennedy.com/wp-content/uploads/2009/09/Win2k8-ConfirmSize.JPG" alt="Confirm Size of Volume" width="391" height="311" /></p>
<p>5. Select Finish to extend the volume to the new size.</p>
<p><img class="alignnone size-full wp-image-627" src="http://blogs.kraftkennedy.com/wp-content/uploads/2009/09/Win2k8-ExtendedVolume.JPG" alt="Extended Volume" width="482" height="72" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/09/14/expand-windows-2008-boot-volumes-with-no-downtime/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ILTA 2009 &#8211; Recap from Tuesday, 8/25</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/08/26/ilta-2009-recap-from-tuesday-825/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/08/26/ilta-2009-recap-from-tuesday-825/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 12:12:55 +0000</pubDate>
		<dc:creator>Matt Liebowitz</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[ILTA]]></category>
		<category><![CDATA[Legal]]></category>
		<category><![CDATA[VDI]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=518</guid>
		<description><![CDATA[Tuesday was a exciting day at ILTA 2009 with lots of great sessions and discussions throughout the day.  About the only part of the day that wasn&#8217;t so great was the turkey bacon served at breakfast, which had the texture of construction paper and the flavor of it as well.
The morning saw a number of really [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F08%2F26%2Filta-2009-recap-from-tuesday-825%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F08%2F26%2Filta-2009-recap-from-tuesday-825%2F" height="61" width="51" /></a></div><p>Tuesday was a exciting day at ILTA 2009 with lots of great sessions and discussions throughout the day.  About the only part of the day that wasn&#8217;t so great was the turkey bacon served at breakfast, which had the texture of construction paper and the flavor of it as well.</p>
<p>The morning saw a number of really good sessions, such as the session entitled &#8220;G100 Recap: Weathering the Storm and Cloud Computing.&#8221;  A number of key points were raised, such as the acknowledgment that technology spending was sacrificed during the economic downturn during the past couple of years.  The panelists believe that IT will actually help lead firms out of the recession and allow them to complete projects to help overall productivity.  On the subject of cloud computing, it was said that most law firms will likely begin to get exposure through telephony systems where there is less of the privacy concerns of other cloud based applications.</p>
<p>If you&#8217;re interested in exploring cloud computing in greater detail, Kraft Kennedy&#8217;s John Tsiofas and Dave Carlson will be speaking on data center relocation and cloud computing at 11:00AM on Wednesday in the Maryland C ballroom.</p>
<p>Also in the morning was a great session called &#8220;From the Trenches: Office 2007 Deployment Lessons.&#8221;  Here three different firms talked about their experiences, both good and bad, in upgrading to Office 2007.  The general consensus from the panelists was that the ribbon bar, the biggest visual change in the Office 2007 suite, actually turned out to be an insignificant issue overall.  The larger concerns were around application integration with document management systems and add-ins to Office applications that cause instability and performance issues.  In fact, one panelist described the project as &#8220;The document management system project featuring Office 2007,&#8221; highlighting the importance of the integration between Office 2007 and the DMS.</p>
<p>Office 2010 may have some of the same challenges.  Feel free to stop by Kraft Kennedy&#8217;s booth (721/723) to get a first hand look at Office 2010 running in our VDI environment.  The VDI desktops also feature Windows 7 and Microsoft Office Communications Server 2007 R2, so stop by and check them out!</p>
<p>VDI, or virtual desktop infrastructure, seems to be a hot topic at the conference this year.  Firms are starting to recognize that there are many benefits that can come with implementing a VDI solution, both in terms of financial savings as well as ease of administration and management.  We&#8217;ve spoken with many firms at the conference already this year that are starting to look at VDI as an alternative to traditional desktop deployment strategies.  We think the release of Windows 7 is also helping to drive VDI interest and adoption, as is the acceptance of virtualization technology in general.</p>
<p>With cost savings in mind, firms are also talking about how to contain costs or continue to reduce them.  Technologies like virtualization are helping to reduce costs as firms work to extend their hardware investments.  Developing a sound technology strategy has also been a reoccurring topic throughout the day as firms are preparing for what is coming next and want to ensure their strategy makes good business sense.</p>
<p>Finally, the day ended with the &#8220;Tut After Dark&#8221; party and casino night and everyone had a great time.  Even the party is a great place to learn new things, such as this blogger learning just how quickly you can lose $25,000 at the high rollers craps table.  But hey, it sure was a fun four minutes of my life!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/08/26/ilta-2009-recap-from-tuesday-825/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VMware Tools lockdown for VDI/Terminal Server environments</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/08/10/vmware-tools-lockdown-for-vditerminal-server-environments/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/08/10/vmware-tools-lockdown-for-vditerminal-server-environments/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 03:46:40 +0000</pubDate>
		<dc:creator>Matt Liebowitz</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=406</guid>
		<description><![CDATA[Installing the VMware Tools package inside a VMware virtual machine improves overall performance and allows the use of advanced features and faster virtual hardware drivers.  The installation package also installs a tray icon that controls guest access to virtual hardware, time synchronization, etc.  Since most virtual machines are servers and end users don&#8217;t typically access [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F08%2F10%2Fvmware-tools-lockdown-for-vditerminal-server-environments%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F08%2F10%2Fvmware-tools-lockdown-for-vditerminal-server-environments%2F" height="61" width="51" /></a></div><p>Installing the VMware Tools package inside a VMware virtual machine improves overall performance and allows the use of advanced features and faster virtual hardware drivers.  The installation package also installs a tray icon that controls guest access to virtual hardware, time synchronization, etc.  Since most virtual machines are servers and end users don&#8217;t typically access the console of a server, worries about the security implications of leaving that tray application running have been fairly minimal.  However, as firms move towards solutions like virtualized XenApp servers or virtual desktops, this becomes more of a concern.</p>
<p>Removing administrator access to end users is unfortunately not enough.  For example, a user can open the VMware Tools tray icon and select the Devices tab, and from there can uncheck &#8220;NIC1&#8243; and click Apply.  What happens?  You guessed it &#8211; the virtual NIC is disconnected and the user loses connection.  That&#8217;s bad in a virtual desktop environment since it will orphan the desktop and likely require a connection broker like XenDesktop to create another desktop but it is even worse on a XenApp server where the user potentially just disconnected dozens of other users as well.</p>
<p>This, and several other things found in the VMware Tools, can be dangerous to leave available to an end user even if they have no rights to the server itself.  To get around this, there are two approaches that make sense:</p>
<p>1) Remove access to the VMware Tools for end users.</p>
<p>2) Modify the VMX configuration file to prevent these actions.</p>
<p>I prefer the second method since it allows for more granular control over security, though if you&#8217;re interested in option one then you can read VMware&#8217;s <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1006354" target="_blank">KB article</a> on the subject.  In order to prevent this at the VMX (virtual machine configuration file) level, simply add the following lines to the virtual machine(s) that you wish to protect (after powering it down):</p>
<p><em>isolation.device.connectable.disable = &#8220;true&#8221;<br />
isolation.device.edit.disable = &#8220;true&#8221;</em></p>
<p>To see how to add one of these values to the VMX file via PowerShell and PowerCLI, it would look something like this:</p>
<p><em>$vm = Get-View (Get-VM NameofVM).ID<br />
$vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec<br />
$vmConfigSpec.extraconfig += New-Object VMware.Vim.optionvalue<br />
$vmConfigSpec.extraconfig[0].Key=&#8221;<em>isolation.device.connectable.disable</em>&#8221;<br />
$vmConfigSpec.extraconfig[0].Value=&#8221;true&#8221;<br />
$vm.ReconfigVM($vmConfigSpec)</em></p>
<p>There are many other security parameters that can be set in the VMX file that are covered in VMware&#8217;s <a href="http://www.vmware.com/files/pdf/vi35_security_hardening_wp.pdf" target="_blank">Security Hardening document</a> (PDF).  The document covers this and many other common security best practices for virtual machines.  As always, test any change you make (especially the script above) before putting anything into production.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/08/10/vmware-tools-lockdown-for-vditerminal-server-environments/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
