<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2dutchfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>ICT-Freak.nl</title>
	
	<link>http://ict-freak.nl</link>
	<description>VMware, Windows, Citrix, Linux, Scripting...</description>
	<lastBuildDate>Fri, 20 Nov 2009 09:28:20 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain="ict-freak.nl" port="80" path="/?rsscloud=notify" registerProcedure="" protocol="http-post" />
<image><link>http://creativecommons.org/licenses/by-nc-sa/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image>
			<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Ict-freak" type="application/rss+xml" /><feedburner:emailServiceId>Ict-freak</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FIct-freak" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FIct-freak" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/Ict-freak" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FIct-freak" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FIct-freak" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FIct-freak" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FIct-freak" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>vSphere: Agent Pre-Upgrade Check Utility</title>
		<link>http://feedproxy.google.com/~r/Ict-freak/~3/Xid37KjCgAc/</link>
		<comments>http://ict-freak.nl/2009/11/20/vsphere-agent-pre-upgrade-check-utility/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 09:25:32 +0000</pubDate>
		<dc:creator>afokkema</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://ictfreak.wordpress.com/2009/11/20/vsphere-agent-pre-upgrade-check-utility/</guid>
		<description><![CDATA[ 
When you start the autorun of vSphere vCenter 4.0 update, you will notice a new button called Agent Pre-upgrade Check. In this post you, I will show you the wizard.
 
Choose the right credentials to connect the vCenter database:
 

Choose your scan type:
 
And wait. My hosts are ready to upgrade: 

Posted in VMware [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4499&subd=ictfreak&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://ictfreak.files.wordpress.com/2009/11/image30.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb30.png?w=204&#038;h=38" width="204" height="38" /></a> </p>
<p>When you start the autorun of vSphere vCenter 4.0 update, you will notice a new button called Agent Pre-upgrade Check. In this post you, I will show you the wizard.</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image31.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb31.png?w=392&#038;h=306" width="392" height="306" /></a> </p>
<p>Choose the right credentials to connect the vCenter database:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image32.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb32.png?w=644&#038;h=449" width="644" height="449" /></a> </p>
</p>
<p>Choose your scan type:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image33.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb33.png?w=644&#038;h=449" width="644" height="449" /></a> </p>
<p>And wait. My hosts are ready to upgrade: </p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image34.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb34.png?w=644&#038;h=447" width="644" height="447" /></a></p>
Posted in VMware Tagged: vCenter, vSphere <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ictfreak.wordpress.com/4499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ictfreak.wordpress.com/4499/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ictfreak.wordpress.com/4499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ictfreak.wordpress.com/4499/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ictfreak.wordpress.com/4499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ictfreak.wordpress.com/4499/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ictfreak.wordpress.com/4499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ictfreak.wordpress.com/4499/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ictfreak.wordpress.com/4499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ictfreak.wordpress.com/4499/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4499&subd=ictfreak&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ict-freak.nl/2009/11/20/vsphere-agent-pre-upgrade-check-utility/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68a6ca0e4e1bf2d16d6db8cae5db2c7c?s=96&amp;d=&amp;r=G" medium="image">
			<media:title type="html">afokkema</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb30.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb31.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb32.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb33.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb34.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	<feedburner:origLink>http://ict-freak.nl/2009/11/20/vsphere-agent-pre-upgrade-check-utility/</feedburner:origLink></item>
		<item>
		<title>VMware: vSphere &amp; PowerCLI Update 1 released</title>
		<link>http://feedproxy.google.com/~r/Ict-freak/~3/vg-74TgwRCA/</link>
		<comments>http://ict-freak.nl/2009/11/20/vmware-vsphere-powercli-update-1-released/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 06:35:40 +0000</pubDate>
		<dc:creator>afokkema</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://ictfreak.wordpress.com/2009/11/20/vmware-vsphere-powercli-update-1-released/</guid>
		<description><![CDATA[  
Finally the vSphere Client is supported on Windows 7 &#38; Windows Server 2008 R2:
Windows 7 and Windows 2008 R2 support — This release adds support for 32-bit and 64-bit versions of Windows 7 as well as 64-bit Windows 2008 R2 as guest operating system platforms. In addition, the vSphere Client is now supported [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4487&subd=ictfreak&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://ictfreak.files.wordpress.com/2009/11/image28.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb28.png?w=204&#038;h=38" width="204" height="38" /></a> <a href="http://ictfreak.files.wordpress.com/2009/11/image29.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb29.png?w=78&#038;h=66" width="78" height="66" /></a> </p>
<p>Finally the vSphere Client is supported on Windows 7 &amp; Windows Server 2008 R2:</p>
<blockquote><p><strong>Windows 7 and Windows 2008 R2 support</strong> — This release adds support for 32-bit and 64-bit versions of Windows 7 as well as 64-bit Windows 2008 R2 as guest operating system platforms. In addition, the vSphere Client is now supported and can be installed on a Windows 7 platform.</p>
</blockquote>
<p>&#160;</p>
<p>You can find the downloads and release notes here:</p>
<p>&#160;</p>
<p>ESX 4.0 Update 1: <a title="http://downloads.vmware.com/d/details/esx40u1/ZHcqYmQlcGpiZGVqdA==" href="http://downloads.vmware.com/d/details/esx40u1/ZHcqYmQlcGpiZGVqdA==">http://downloads.vmware.com/d/details/esx40u1/ZHcqYmQlcGpiZGVqdA==</a></p>
<p>Release note: <a title="http://downloads.vmware.com/support/vsphere4/doc/vsp_esx40_u1_rel_notes.html" href="http://downloads.vmware.com/support/vsphere4/doc/vsp_esx40_u1_rel_notes.html">http://downloads.vmware.com/support/vsphere4/doc/vsp_esx40_u1_rel_notes.html</a></p>
<p>&#160;</p>
<p>ESXi 4.0 Update 1: <a title="http://downloads.vmware.com/d/details/esxi40u1/ZHcqYmQlcGhiZGVqdA==" href="http://downloads.vmware.com/d/details/esxi40u1/ZHcqYmQlcGhiZGVqdA==">http://downloads.vmware.com/d/details/esxi40u1/ZHcqYmQlcGhiZGVqdA==</a></p>
<p>Release Notes: <a title="http://downloads.vmware.com/support/vsphere4/doc/vsp_esxi40_u1_rel_notes.html" href="http://downloads.vmware.com/support/vsphere4/doc/vsp_esxi40_u1_rel_notes.html">http://downloads.vmware.com/support/vsphere4/doc/vsp_esxi40_u1_rel_notes.html</a></p>
<p>&#160;</p>
<p>vCenter 4.0 Update 1: <a title="http://downloads.vmware.com/d/details/vc40u1/ZHcqYmQlcCpiZGVqdA==" href="http://downloads.vmware.com/d/details/vc40u1/ZHcqYmQlcCpiZGVqdA==">http://downloads.vmware.com/d/details/vc40u1/ZHcqYmQlcCpiZGVqdA==</a></p>
<p>Release notes: <a title="http://downloads.vmware.com/support/vsphere4/doc/vsp_vc40_u1_rel_notes.html" href="http://downloads.vmware.com/support/vsphere4/doc/vsp_vc40_u1_rel_notes.html">http://downloads.vmware.com/support/vsphere4/doc/vsp_vc40_u1_rel_notes.html</a></p>
<p>&#160;</p>
<p>vSphere PowerCLI 4.0 Update 1: <a title="http://downloads.vmware.com/d/details/sdkwin40u1/ZHcqYmQlcHRiZGVqdA" href="http://downloads.vmware.com/d/details/sdkwin40u1/ZHcqYmQlcHRiZGVqdA">http://downloads.vmware.com/d/details/sdkwin40u1/ZHcqYmQlcHRiZGVqdA</a></p>
<p>Release notes: <a title="http://www.vmware.com/support/developer/windowstoolkit/wintk40u1/windowstoolkit40U1-200911-releasenotes.html" href="http://www.vmware.com/support/developer/windowstoolkit/wintk40u1/windowstoolkit40U1-200911-releasenotes.html">http://www.vmware.com/support/developer/windowstoolkit/wintk40u1/windowstoolkit40U1-200911-releasenotes.html</a></p>
Posted in VMware Tagged: PowerCLI, vSphere <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ictfreak.wordpress.com/4487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ictfreak.wordpress.com/4487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ictfreak.wordpress.com/4487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ictfreak.wordpress.com/4487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ictfreak.wordpress.com/4487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ictfreak.wordpress.com/4487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ictfreak.wordpress.com/4487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ictfreak.wordpress.com/4487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ictfreak.wordpress.com/4487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ictfreak.wordpress.com/4487/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4487&subd=ictfreak&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ict-freak.nl/2009/11/20/vmware-vsphere-powercli-update-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68a6ca0e4e1bf2d16d6db8cae5db2c7c?s=96&amp;d=&amp;r=G" medium="image">
			<media:title type="html">afokkema</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb28.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb29.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	<feedburner:origLink>http://ict-freak.nl/2009/11/20/vmware-vsphere-powercli-update-1-released/</feedburner:origLink></item>
		<item>
		<title>vSphere: Storage vMotion Fails with a Timeout</title>
		<link>http://feedproxy.google.com/~r/Ict-freak/~3/6u4-PaqR7mk/</link>
		<comments>http://ict-freak.nl/2009/11/17/vsphere-storage-vmotion-fails-with-a-timeout/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 15:53:41 +0000</pubDate>
		<dc:creator>afokkema</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Storage VMotion]]></category>

		<guid isPermaLink="false">http://ictfreak.wordpress.com/2009/11/17/vsphere-storage-vmotion-fails-with-a-timeout/</guid>
		<description><![CDATA[ 
When I tried to Storage vMotion a VM to another LUN I got an “operation timed out error”:
 
After analyzing the vpxd.log, I found the following lines:
 

The best part I found out, is that the VM was rolled back to it’s old location without losing data or getting corrupt.
This problem is documented in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4481&subd=ictfreak&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://ictfreak.files.wordpress.com/2009/11/image25.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb25.png?w=78&#038;h=66" width="78" height="66" /></a> </p>
<p>When I tried to Storage vMotion a VM to another LUN I got an “operation timed out error”:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image26.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb26.png?w=635&#038;h=193" width="635" height="193" /></a> </p>
<p>After analyzing the vpxd.log, I found the following lines:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image27.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb27.png?w=684&#038;h=348" width="684" height="348" /></a> </p>
</p>
<p>The best part I found out, is that the VM was rolled back to it’s old location without losing data or getting corrupt.</p>
<p>This problem is documented in <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1010045" target="_blank">KB1010045</a>. The following solution will resolve the timeout problem:</p>
<blockquote><p>Increase the Storage VMotion fsr.maxSwitchoverSeconds setting in the virtual machine configuration file to a larger value.</p>
<p>The default is 100 seconds.</p>
<p>To modify fsr.maxSwitchoverSeconds:</p>
<ol>
<li>Right-click the virtual machine and click <strong>Edit Settings</strong>. </li>
<li>Click the <strong>Options &gt; Advanced &gt; General</strong>. </li>
<li>Click <strong>Configuration Parameters</strong>. </li>
<li>From the Configuration Parameters window, click <strong>Add Row</strong>. </li>
<li>For the <strong>Name</strong> field,&#160; fsr.maxSwitchoverSeconds and for the <strong>Value</strong> field enter the new timeout value. </li>
<li>Click <strong>OK</strong> twice to save. </li>
<li>Restart the virtual machine for the changes to take effect. </li>
</ol>
</blockquote>
<p>You don’t want to change this by hand, so I created a PowerCLI script which will set the fsr.maxSwitchoverSeconds to 300 seconds for all your VM’s:</p>
<pre><span style="color:#800080;">$vms</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;font-weight:bold;">Get-View</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-ViewType</span><span style="color:#000000;"> </span><span style="color:#800000;">VirtualMachine</span><span style="color:#000000;"> | </span><span style="color:#5f9ea0;font-weight:bold;">where</span><span style="color:#000000;"> {</span><span style="color:#ff0000;">-not</span><span style="color:#000000;"> </span><span style="color:#800080;">$_</span><span style="color:#000000;">.config.template}

    </span><span style="color:#800080;">$vmConfigSpec</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;font-weight:bold;">New-Object</span><span style="color:#000000;"> </span><span style="color:#800000;">VMware.Vim.VirtualMachineConfigSpec</span><span style="color:#000000;">

    </span><span style="color:#800080;">$extra</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;font-weight:bold;">New-Object</span><span style="color:#000000;"> </span><span style="color:#800000;">VMware.Vim.optionvalue</span><span style="color:#000000;">
    </span><span style="color:#800080;">$extra</span><span style="color:#000000;">.Key</span><span style="color:#ff0000;">=</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">fsr.maxSwitchoverSeconds</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">
    </span><span style="color:#800080;">$extra</span><span style="color:#000000;">.Value</span><span style="color:#ff0000;">=</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">300</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">

    </span><span style="color:#800080;">$vmConfigSpec</span><span style="color:#000000;">.extraconfig </span><span style="color:#ff0000;">+=</span><span style="color:#000000;"> </span><span style="color:#800080;">$extra</span><span style="color:#000000;">

</span><span style="color:#0000ff;">foreach</span><span style="color:#000000;">(</span><span style="color:#800080;">$vm</span><span style="color:#000000;"> </span><span style="color:#0000ff;">in</span><span style="color:#000000;"> </span><span style="color:#800080;">$vms</span><span style="color:#000000;">){
    </span><span style="color:#800080;">$vm</span><span style="color:#000000;">.ReconfigVM(</span><span style="color:#800080;">$vmConfigSpec</span><span style="color:#000000;">)
}</span></pre>
<p>After changing the value to 300 seconds, I was able to Storage vMotion the VM. </p>
Posted in VMware Tagged: PowerCLI, Storage VMotion <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ictfreak.wordpress.com/4481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ictfreak.wordpress.com/4481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ictfreak.wordpress.com/4481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ictfreak.wordpress.com/4481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ictfreak.wordpress.com/4481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ictfreak.wordpress.com/4481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ictfreak.wordpress.com/4481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ictfreak.wordpress.com/4481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ictfreak.wordpress.com/4481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ictfreak.wordpress.com/4481/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4481&subd=ictfreak&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ict-freak.nl/2009/11/17/vsphere-storage-vmotion-fails-with-a-timeout/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68a6ca0e4e1bf2d16d6db8cae5db2c7c?s=96&amp;d=&amp;r=G" medium="image">
			<media:title type="html">afokkema</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb25.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb26.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb27.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	<feedburner:origLink>http://ict-freak.nl/2009/11/17/vsphere-storage-vmotion-fails-with-a-timeout/</feedburner:origLink></item>
		<item>
		<title>PowerCLI: One-Liner to get  VMs, Clusters, ESX Hosts and Datastores</title>
		<link>http://feedproxy.google.com/~r/Ict-freak/~3/jJsHc32W8G4/</link>
		<comments>http://ict-freak.nl/2009/11/17/powercli-one-liner-to-get-vms-clusters-esx-hosts-and-datastores/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 11:11:16 +0000</pubDate>
		<dc:creator>afokkema</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[One-Liner]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">http://ictfreak.wordpress.com/2009/11/17/powercli-one-liner-to-get-vms-clusters-esx-hosts-and-datastores/</guid>
		<description><![CDATA[ 
With the one-liner below, you’re able to create an overview of your VM’s, Clusters, ESX Hosts and Datastores.
Get-VM &#124; Select Name, @{N=&#34;Cluster&#34;;E={Get-Cluster -VM $_}}, `
@{N=&#34;ESX Host&#34;;E={Get-VMHost -VM $_}}, `
@{N=&#34;Datastore&#34;;E={Get-Datastore -VM $_}} 
The following output will be generated:
 
If you add an extra line with the export-csv cmdlet, you can export the output to a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4474&subd=ictfreak&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://ictfreak.files.wordpress.com/2009/11/image22.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb22.png?w=78&#038;h=66" width="78" height="66" /></a> </p>
<p>With the one-liner below, you’re able to create an overview of your VM’s, Clusters, ESX Hosts and Datastores.</p>
<pre><span style="color:#5f9ea0;font-weight:bold;">Get-VM</span><span style="color:#000000;"> | </span><span style="color:#5f9ea0;font-weight:bold;">Select</span><span style="color:#000000;"> Name, @{N</span><span style="color:#ff0000;">=</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Cluster</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">;E</span><span style="color:#ff0000;">=</span><span style="color:#000000;">{</span><span style="color:#5f9ea0;font-weight:bold;">Get-Cluster</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-VM</span><span style="color:#000000;"> </span><span style="color:#800080;">$_</span><span style="color:#000000;">}}, </span><span style="color:#5f9ea0;font-weight:bold;">`</span><span style="color:#000000;">
@{N</span><span style="color:#ff0000;">=</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">ESX Host</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">;E</span><span style="color:#ff0000;">=</span><span style="color:#000000;">{</span><span style="color:#5f9ea0;font-weight:bold;">Get-VMHost</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-VM</span><span style="color:#000000;"> </span><span style="color:#800080;">$_</span><span style="color:#000000;">}}, </span><span style="color:#5f9ea0;font-weight:bold;">`</span><span style="color:#000000;">
@{N</span><span style="color:#ff0000;">=</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Datastore</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">;E</span><span style="color:#ff0000;">=</span><span style="color:#000000;">{</span><span style="color:#5f9ea0;font-weight:bold;">Get-Datastore</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-VM</span><span style="color:#000000;"> </span><span style="color:#800080;">$_</span><span style="color:#000000;">}} </span></pre>
<p>The following output will be generated:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image23.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb23.png?w=672&#038;h=335" width="672" height="335" /></a> </p>
<p>If you add an extra line with the export-csv cmdlet, you can export the output to a CSV file.</p>
<pre><span style="color:#5f9ea0;font-weight:bold;">Get-VM</span><span style="color:#000000;"> | </span><span style="color:#5f9ea0;font-weight:bold;">Select</span><span style="color:#000000;"> Name, @{N</span><span style="color:#ff0000;">=</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Cluster</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">;E</span><span style="color:#ff0000;">=</span><span style="color:#000000;">{</span><span style="color:#5f9ea0;font-weight:bold;">Get-Cluster</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-VM</span><span style="color:#000000;"> </span><span style="color:#800080;">$_</span><span style="color:#000000;">}}, </span><span style="color:#5f9ea0;font-weight:bold;">`</span><span style="color:#000000;">
@{N</span><span style="color:#ff0000;">=</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">ESX Host</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">;E</span><span style="color:#ff0000;">=</span><span style="color:#000000;">{</span><span style="color:#5f9ea0;font-weight:bold;">Get-VMHost</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-VM</span><span style="color:#000000;"> </span><span style="color:#800080;">$_</span><span style="color:#000000;">}}, </span><span style="color:#5f9ea0;font-weight:bold;">`</span><span style="color:#000000;">
@{N</span><span style="color:#ff0000;">=</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Datastore</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">;E</span><span style="color:#ff0000;">=</span><span style="color:#000000;">{</span><span style="color:#5f9ea0;font-weight:bold;">Get-Datastore</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-VM</span><span style="color:#000000;"> </span><span style="color:#800080;">$_</span><span style="color:#000000;">}} | </span><span style="color:#5f9ea0;font-weight:bold;">`</span><span style="color:#000000;">
</span><span style="color:#5f9ea0;font-weight:bold;">Export-Csv</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-NoTypeInformation</span><span style="color:#000000;"> </span><span style="color:#800000;">C:\Scripts\VM_CLuster_Host_Datastore.csv</span><span style="color:#000000;"> </span></pre>
<p>If you want, you can import the CSV file into Excel. Excel has some basic filtering options, so you’re able to filter on ESX Host, Cluster etc.</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image24.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb24.png?w=542&#038;h=437" width="542" height="437" /></a></p>
Posted in VMware Tagged: One-Liner, PowerCLI <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ictfreak.wordpress.com/4474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ictfreak.wordpress.com/4474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ictfreak.wordpress.com/4474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ictfreak.wordpress.com/4474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ictfreak.wordpress.com/4474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ictfreak.wordpress.com/4474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ictfreak.wordpress.com/4474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ictfreak.wordpress.com/4474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ictfreak.wordpress.com/4474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ictfreak.wordpress.com/4474/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4474&subd=ictfreak&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ict-freak.nl/2009/11/17/powercli-one-liner-to-get-vms-clusters-esx-hosts-and-datastores/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68a6ca0e4e1bf2d16d6db8cae5db2c7c?s=96&amp;d=&amp;r=G" medium="image">
			<media:title type="html">afokkema</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb22.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb23.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb24.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	<feedburner:origLink>http://ict-freak.nl/2009/11/17/powercli-one-liner-to-get-vms-clusters-esx-hosts-and-datastores/</feedburner:origLink></item>
		<item>
		<title>Project Onyx released – How to connect and use it</title>
		<link>http://feedproxy.google.com/~r/Ict-freak/~3/zm9xwEBAwW0/</link>
		<comments>http://ict-freak.nl/2009/11/17/project-onyx-released-how-to-connect-and-use-it/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 07:15:52 +0000</pubDate>
		<dc:creator>afokkema</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Project Onyx]]></category>

		<guid isPermaLink="false">http://ictfreak.wordpress.com/2009/11/17/project-onyx-released-how-to-connect-and-use-it/</guid>
		<description><![CDATA[  
Carter Shanklin just announced the release of Project Onyx. She his post here: http://blogs.vmware.com/vipowershell/2009/11/project-onyx-is-here.html
Download the zip file from here: http://tinyurl.com/ygayony extract the zip file and start Onyx.exe. If you’re starting Onyx from your c: drive and you are running Windows Vista / , you’ve to run it with Administrator rights:
 
Accept the License [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4464&subd=ictfreak&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://ictfreak.files.wordpress.com/2009/11/image12.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb12.png?w=204&#038;h=38" width="204" height="38" /></a> <a href="http://ictfreak.files.wordpress.com/2009/11/image13.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb13.png?w=78&#038;h=66" width="78" height="66" /></a> </p>
<p>Carter Shanklin just announced the release of Project Onyx. She his post here: <a title="http://blogs.vmware.com/vipowershell/2009/11/project-onyx-is-here.html" href="http://blogs.vmware.com/vipowershell/2009/11/project-onyx-is-here.html">http://blogs.vmware.com/vipowershell/2009/11/project-onyx-is-here.html</a></p>
<p>Download the zip file from here: <a title="http://tinyurl.com/ygayony" href="http://tinyurl.com/ygayony">http://tinyurl.com/ygayony</a> extract the zip file and start Onyx.exe. If you’re starting Onyx from your c: drive and you are running Windows Vista / , you’ve to run it with Administrator rights:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image14.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb14.png?w=603&#038;h=266" width="603" height="266" /></a> </p>
<p>Accept the License Agreement to continue. The main screen opens. Click on connect and fill in the IP Address of you vCenter server:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image21.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb21.png?w=613&#038;h=417" width="613" height="417" /></a> </p>
</p>
<p>When you’re connected to your vCenter server, Remember the second IP Address on top of the Onyx Screen:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image16.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb16.png?w=604&#038;h=61" width="604" height="61" /></a> </p>
<p>Now open the vSphere Client and connect to the second IP Address with http:// on front of it:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image17.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb17.png?w=423&#038;h=380" width="423" height="380" /></a> </p>
<p>You will see a warning message about the connection to server xxx.xxx.xxx.xxx is not secure. Click yes to continue.</p>
<p>The vSphere client opens and it will look and feel like we’re used to it. But here comes the great part. Click on the play button in Onyx:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image18.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb18.png?w=233&#038;h=65" width="233" height="65" /></a> </p>
<p>Do the thing you wanted to do within the vCenter client and you will see that Onyx is generating some nice ready to use PowerCLI code:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image19.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb19.png?w=611&#038;h=546" width="611" height="546" /></a> </p>
<p>To save the script, press the Save output to file button.</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image20.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb20.png?w=609&#038;h=60" width="609" height="60" /></a></p>
Posted in VMware Tagged: PowerCLI, Project Onyx <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ictfreak.wordpress.com/4464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ictfreak.wordpress.com/4464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ictfreak.wordpress.com/4464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ictfreak.wordpress.com/4464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ictfreak.wordpress.com/4464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ictfreak.wordpress.com/4464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ictfreak.wordpress.com/4464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ictfreak.wordpress.com/4464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ictfreak.wordpress.com/4464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ictfreak.wordpress.com/4464/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4464&subd=ictfreak&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ict-freak.nl/2009/11/17/project-onyx-released-how-to-connect-and-use-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68a6ca0e4e1bf2d16d6db8cae5db2c7c?s=96&amp;d=&amp;r=G" medium="image">
			<media:title type="html">afokkema</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb12.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb14.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb21.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb16.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb17.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb18.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb19.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb20.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	<feedburner:origLink>http://ict-freak.nl/2009/11/17/project-onyx-released-how-to-connect-and-use-it/</feedburner:origLink></item>
		<item>
		<title>Event: Dutch VMUG Event 2009</title>
		<link>http://feedproxy.google.com/~r/Ict-freak/~3/2g1u9fTkWhA/</link>
		<comments>http://ict-freak.nl/2009/11/12/event-dutch-vmug-event-2009/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 09:46:20 +0000</pubDate>
		<dc:creator>afokkema</dc:creator>
				<category><![CDATA[VMUG]]></category>
		<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://ictfreak.wordpress.com/2009/11/12/event-dutch-vmug-event-2009/</guid>
		<description><![CDATA[ 
11 December aanstaande is het weer tijd voor het jaarlijkse VMUG event.&#160; De voorlopige agenda staat al een tijdje online en wordt per week beter en beter.&#160; Wat het leuke aan dit event is dat er&#160; presentaties worden gegeven door mensen uit de communitie zelf. Eric Sloof, Viktor van den Berg, Joep Piscaer, Bouke [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4444&subd=ictfreak&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://ictfreak.files.wordpress.com/2009/11/image11.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb11.png?w=150&#038;h=58" width="150" height="58" /></a> </p>
<p>11 December aanstaande is het weer tijd voor het jaarlijkse VMUG event.&#160; De voorlopige <a href="http://www.vmug.nl/cms/index.php?option=com_content&amp;view=article&amp;id=85&amp;Itemid=47" target="_blank">agenda</a> staat al een tijdje online en wordt per week beter en beter.&#160; Wat het leuke aan dit event is dat er&#160; presentaties worden gegeven door mensen uit de communitie zelf. <em>Eric Sloof</em>, <em>Viktor van den Berg, Joep Piscaer, Bouke Groenescheij, Gabrie van Zanten</em> en <em>Luc Dekens.</em> Deze sessie zullen technisch van aard zijn. </p>
<p>Nieuw dit jaar is de workshop.&#160; Deze workshop gaat over het product vCenter Heartbeat. Wil je kennis maken met dit product, dan is de je kans. Tijdens deze workshop krijg je kort wat theorie en daarna kun je zelf met het product aan de slag.</p>
<p>Mocht je nog niet zijn ingeschreven, doe dit dan snel want ik heb gehoord dat er al bijna 400 inschrijvingen binnen zijn en er is plaats voor 600 deelnemers. Dus wacht niet langer en schrijf je snel in: <a title="http://www.vmug.nl/modules.php?name=Inschrijven" href="http://www.vmug.nl/modules.php?name=Inschrijven">http://www.vmug.nl/modules.php?name=Inschrijven</a></p>
Posted in VMUG Tagged: Events <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ictfreak.wordpress.com/4444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ictfreak.wordpress.com/4444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ictfreak.wordpress.com/4444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ictfreak.wordpress.com/4444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ictfreak.wordpress.com/4444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ictfreak.wordpress.com/4444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ictfreak.wordpress.com/4444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ictfreak.wordpress.com/4444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ictfreak.wordpress.com/4444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ictfreak.wordpress.com/4444/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4444&subd=ictfreak&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ict-freak.nl/2009/11/12/event-dutch-vmug-event-2009/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68a6ca0e4e1bf2d16d6db8cae5db2c7c?s=96&amp;d=&amp;r=G" medium="image">
			<media:title type="html">afokkema</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	<feedburner:origLink>http://ict-freak.nl/2009/11/12/event-dutch-vmug-event-2009/</feedburner:origLink></item>
		<item>
		<title>VMware Tools: Default disk timeout settings</title>
		<link>http://feedproxy.google.com/~r/Ict-freak/~3/0STmxXjuPA4/</link>
		<comments>http://ict-freak.nl/2009/11/12/vmware-tools-default-disk-timeout-settings/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 09:14:56 +0000</pubDate>
		<dc:creator>afokkema</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[disk timeout]]></category>
		<category><![CDATA[VMware Tools]]></category>

		<guid isPermaLink="false">http://ictfreak.wordpress.com/2009/11/12/vmware-tools-default-disk-timeout-settings/</guid>
		<description><![CDATA[&#160;
On a new Windows Server 2003 server without the VMware Tools installed, there are no TimeOut settings configured.
You can find this setting in the following registry key: 
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Disk\

The picture below, you’ll see the default settings from Microsoft:
 
After the installation of the VMware Tools, a new dword value called TimeoutValue is added with the hexadecimal [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4440&subd=ictfreak&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://ictfreak.files.wordpress.com/2009/11/image6.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb6.png?w=204&#038;h=38" width="204" height="38" /></a>&#160;</p>
<p>On a new Windows Server 2003 server without the VMware Tools installed, there are no TimeOut settings configured.</p>
<p>You can find this setting in the following registry key: </p>
<blockquote><p>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Disk\</p>
</blockquote>
<p>The picture below, you’ll see the default settings from Microsoft:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image7.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb7.png?w=619&#038;h=368" width="619" height="368" /></a> </p>
<p>After the installation of the VMware Tools, a new dword value called TimeoutValue is added with the hexadecimal value of 3c. This value represents a timeout of 60 seconds. </p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image8.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb8.png?w=652&#038;h=262" width="652" height="262" /></a> </p>
<p>On a Linux VM the default timeout is 60 seconds (on a CentOS setup). You can find the timeout settings in:</p>
<blockquote><p>/sys/block/&lt;disk&gt;/device/timeout</p>
</blockquote>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image9.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb9.png?w=501&#038;h=55" width="501" height="55" /></a> </p>
<p>After the installation of the VMware Tools, the timeout value is changed to 180 seconds.</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image10.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb10.png?w=508&#038;h=53" width="508" height="53" /></a> </p>
<p>&#160;</p>
</p>
<p>More info about this subject can be found here:</p>
<ul>
<li><a title="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1014" href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1014" target="_blank">KB1014</a> </li>
</ul>
Posted in VMware Tagged: disk timeout, VMware Tools <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ictfreak.wordpress.com/4440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ictfreak.wordpress.com/4440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ictfreak.wordpress.com/4440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ictfreak.wordpress.com/4440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ictfreak.wordpress.com/4440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ictfreak.wordpress.com/4440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ictfreak.wordpress.com/4440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ictfreak.wordpress.com/4440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ictfreak.wordpress.com/4440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ictfreak.wordpress.com/4440/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4440&subd=ictfreak&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ict-freak.nl/2009/11/12/vmware-tools-default-disk-timeout-settings/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68a6ca0e4e1bf2d16d6db8cae5db2c7c?s=96&amp;d=&amp;r=G" medium="image">
			<media:title type="html">afokkema</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	<feedburner:origLink>http://ict-freak.nl/2009/11/12/vmware-tools-default-disk-timeout-settings/</feedburner:origLink></item>
		<item>
		<title>vCenter 4.0 and SQL 2008 as a Database server</title>
		<link>http://feedproxy.google.com/~r/Ict-freak/~3/j0KbEQUUlTo/</link>
		<comments>http://ict-freak.nl/2009/11/01/vcenter-4-0-and-sql-2008-as-a-database-server/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 15:57:35 +0000</pubDate>
		<dc:creator>afokkema</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://ictfreak.wordpress.com/2009/11/01/vcenter-4-0-and-sql-2008-as-a-database-server/</guid>
		<description><![CDATA[ 
Last week I had to install a vCenter 4.0 server with a database on a SQL 2008 x64 server. Before you can connect to the SQL 2008 x64 you have to install the new SQL server 2008 Native client. You can find it here:

X86 Package
X64 Package

Download and install the package:
 
In my earlier post [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4423&subd=ictfreak&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://ictfreak.files.wordpress.com/2009/11/image.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb.png?w=204&#038;h=38" width="204" height="38" /></a> </p>
<p>Last week I had to install a vCenter 4.0 server with a database on a SQL 2008 x64 server. Before you can connect to the SQL 2008 x64 you have to install the new SQL server 2008 Native client. You can find it here:</p>
<ul>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=123717&amp;clcid=0x409" target="_blank">X86 Package</a></li>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=123718&amp;clcid=0x409" target="_blank">X64 Package</a></li>
</ul>
<p>Download and install the package:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image1.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb1.png?w=516&#038;h=397" width="516" height="397" /></a> </p>
<p>In my earlier <a href="http://ict-freak.nl/2009/07/03/vcenter-4-on-windows-x64-and-32-bit-dsn/" target="_blank">post</a> about how to create an ODBC connection to use with vCenter 4 on a x64 version of Windows 2008. You already read about the “special” way of starting the ODBC data Source Administrator. Start it via: <strong>Start –Run -</strong> <strong>%systemdrive%\Windows\SysWoW64\Odbcad32.exe. </strong>The next step is to select the new Native Client version 10.0</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/11/image2.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/11/image_thumb2.png?w=482&#038;h=362" width="482" height="362" /></a>&#160; <br />The rest of the stuff is still the same <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
Posted in VMware Tagged: SQL, vCenter, vSphere <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ictfreak.wordpress.com/4423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ictfreak.wordpress.com/4423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ictfreak.wordpress.com/4423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ictfreak.wordpress.com/4423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ictfreak.wordpress.com/4423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ictfreak.wordpress.com/4423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ictfreak.wordpress.com/4423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ictfreak.wordpress.com/4423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ictfreak.wordpress.com/4423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ictfreak.wordpress.com/4423/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4423&subd=ictfreak&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ict-freak.nl/2009/11/01/vcenter-4-0-and-sql-2008-as-a-database-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68a6ca0e4e1bf2d16d6db8cae5db2c7c?s=96&amp;d=&amp;r=G" medium="image">
			<media:title type="html">afokkema</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/11/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	<feedburner:origLink>http://ict-freak.nl/2009/11/01/vcenter-4-0-and-sql-2008-as-a-database-server/</feedburner:origLink></item>
		<item>
		<title>vSphere: False alarms on high VM Memory usage in vCenter 4.0</title>
		<link>http://feedproxy.google.com/~r/Ict-freak/~3/W-ejpxJ-vD4/</link>
		<comments>http://ict-freak.nl/2009/10/21/vsphere-false-alarms-on-high-vm-memory-usage-in-vcenter-4-0/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 07:15:07 +0000</pubDate>
		<dc:creator>afokkema</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Alarms]]></category>
		<category><![CDATA[AMD RVI]]></category>
		<category><![CDATA[Intel EPT]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://ictfreak.wordpress.com/?p=4412</guid>
		<description><![CDATA[ 
Since the upgrade to vCenter 4.0 and ESX 4.0 we got a lot of false alarms on VM memory usage. If you take a look in the advanced performance tab, at VM level. You’ll see that the VM is using all the assigned memory. When you take a look on the host OS, you’ll [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4412&subd=ictfreak&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://ictfreak.files.wordpress.com/2009/10/image16.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/10/image_thumb16.png?w=204&#038;h=38" width="204" height="38" /></a> </p>
<p>Since the upgrade to vCenter 4.0 and ESX 4.0 we got a lot of false alarms on VM memory usage. If you take a look in the advanced performance tab, at VM level. You’ll see that the VM is using all the assigned memory. When you take a look on the host OS, you’ll see that there is less memory usage then vCenter reports to you. I asked on Twitter if anyone else had seen this behavior before. @DuncanYB responded with a <a href="http://www.yellow-bricks.com/2009/09/11/memory-alarms-triggered-with-amd-rvi-and-intel-ept/" target="_blank">post</a>, which he did earlier this year.&#160;&#160; </p>
<p>So with the information from @DuncanYB I started a search at <a title="http://kb.vmware.com/selfservice/microsites/microsite.do" href="http://kb.vmware.com/selfservice/microsites/microsite.do" target="_blank">http://kb.vmware.com/</a> and found the following KB article: <a href="http://kb.vmware.com/kb/1014019">http://kb.vmware.com/kb/1014019</a>. This article describes one of the symptoms that apply on our environment:</p>
<blockquote><h5>Summaries and Symptoms</h5>
<p>Issues fixed in this patch (and their relevant symptoms, if applicable) include:</p>
<ul>
<li><font color="#ff8000">Fixes an issue where a guest operating system&#8217;s memory usage might be overestimated on Intel systems that support EPT technology or AMD systems that support RVI technology. This issue might cause the memory alarms in vCenter to go off spuriously even if the guest is not actively accessing a lot of memory. </font></li>
<li>Fixes an issue where DVFilter API&#8217;s fail for particular message types during message reordering. </li>
<li>Fixes an issue where DVfilter socket reads might fail if zero bytes are returned due to a connection close. </li>
<li>Fixes an issue with a DVFilter API where ESX might fail if a guest operating system is moved from one vswitch port to another. This fix allows dropping frames which are accidentally or maliciously posted to a different portset. </li>
<li>Fixes an issue where incorrect SysAlert() messages might be displayed on certain systems if the number of cache colors is not calculated correctly. </li>
<li>Fixes an issue with monitor or vmkernel crashing when running certain guest operating systems with a 32-bit monitor running in binary translation mode. </li>
</ul>
<h5>Deployment Considerations </h5>
<p><strong>BEFORE INSTALLING THIS PATCH:</strong> If you have set <tt>Mem.AllocGuestLargePage</tt> to 0 to workaround the high memory usage issue detailed in the Summaries and Symptoms section, undo the workaround by setting <tt>Mem.AllocGuestLargePage</tt> to 1.</p>
</blockquote>
<p>I installed the patch on a Cluster whit this problem. After the installation of the patch mentioned in the KB article above, vCenter keeps sending false alarms. After a short search on the <a href="http://communities.vmware.com/message/1393426#1393426" target="_blank">vmtn communities</a> I found the following post of Paul1</p>
<blockquote><p>I go to the Top-Level in Vcenter, klick &quot;Alarms&quot; and than &quot;Definitions&quot;. Edit one of the definitions (don&#8217;t change anything) and then save it. After this the old alarms was gone in my environment</p>
</blockquote>
<p>After “changing” the VM Memory Alarm definition, vCenter stops sending out false alarms.</p>
Posted in VMware Tagged: Alarms, AMD RVI, Intel EPT, vCenter, vSphere <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ictfreak.wordpress.com/4412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ictfreak.wordpress.com/4412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ictfreak.wordpress.com/4412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ictfreak.wordpress.com/4412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ictfreak.wordpress.com/4412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ictfreak.wordpress.com/4412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ictfreak.wordpress.com/4412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ictfreak.wordpress.com/4412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ictfreak.wordpress.com/4412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ictfreak.wordpress.com/4412/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4412&subd=ictfreak&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ict-freak.nl/2009/10/21/vsphere-false-alarms-on-high-vm-memory-usage-in-vcenter-4-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68a6ca0e4e1bf2d16d6db8cae5db2c7c?s=96&amp;d=&amp;r=G" medium="image">
			<media:title type="html">afokkema</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/10/image_thumb16.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	<feedburner:origLink>http://ict-freak.nl/2009/10/21/vsphere-false-alarms-on-high-vm-memory-usage-in-vcenter-4-0/</feedburner:origLink></item>
		<item>
		<title>PowerCLI: Virtual Machine Disk (VMDK) info v2: Analyze data with Excel</title>
		<link>http://feedproxy.google.com/~r/Ict-freak/~3/p23iwR9Y8AY/</link>
		<comments>http://ict-freak.nl/2009/10/11/powercli-virtual-machine-disk-vmdk-info-v2-analyze-data-with-excel/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 11:33:13 +0000</pubDate>
		<dc:creator>afokkema</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Thin Provisioning]]></category>
		<category><![CDATA[VMDK]]></category>

		<guid isPermaLink="false">http://ictfreak.wordpress.com/2009/10/11/powercli-virtual-machine-disk-vmdk-info-v2-analyze-data-with-excel/</guid>
		<description><![CDATA[ 
In my previous post about this subject I created a script to view the information on the PowerCLI console. With the v2 script you are able to export the data to a CSV file. 
$myCol = @()
$vms = get-view -ViewType VirtualMachine  &#124; Where-Object `
{-not $_.config.template}
foreach($vm in $vms){
    foreach($dev in $vm.config.hardware.Device){
 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4409&subd=ictfreak&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://ictfreak.files.wordpress.com/2009/10/image13.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/10/image_thumb13.png?w=78&#038;h=66" width="78" height="66" /></a> </p>
<p>In my previous <a href="http://ict-freak.nl/2009/10/09/powercli-virtual-machine-disk-vmdk-info/" target="_blank">post</a> about this subject I created a script to view the information on the PowerCLI console. With the v2 script you are able to export the data to a CSV file. </p>
<pre><span style="color:#800080;">$myCol</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> @()
</span><span style="color:#800080;">$vms</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;font-weight:bold;">get-view</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-ViewType</span><span style="color:#000000;"> </span><span style="color:#800000;">VirtualMachine</span><span style="color:#000000;">  | </span><span style="color:#5f9ea0;font-weight:bold;">Where-Object</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;font-weight:bold;">`</span><span style="color:#000000;">
{</span><span style="color:#ff0000;">-not</span><span style="color:#000000;"> </span><span style="color:#800080;">$_</span><span style="color:#000000;">.config.template}
</span><span style="color:#0000ff;">foreach</span><span style="color:#000000;">(</span><span style="color:#800080;">$vm</span><span style="color:#000000;"> </span><span style="color:#0000ff;">in</span><span style="color:#000000;"> </span><span style="color:#800080;">$vms</span><span style="color:#000000;">){
    </span><span style="color:#0000ff;">foreach</span><span style="color:#000000;">(</span><span style="color:#800080;">$dev</span><span style="color:#000000;"> </span><span style="color:#0000ff;">in</span><span style="color:#000000;"> </span><span style="color:#800080;">$vm</span><span style="color:#000000;">.config.hardware.Device){
    </span><span style="color:#800080;">$MYInfo</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;&quot;</span><span style="color:#000000;"> | </span><span style="color:#5f9ea0;font-weight:bold;">Select-Object</span><span style="color:#000000;"> VMName, DeviceLabel, </span><span style="color:#5f9ea0;font-weight:bold;">`</span><span style="color:#000000;">
    FileName, DiskMode, </span><span style="color:#800000;">ThinProvisioned</span><span style="color:#000000;">

       </span><span style="color:#800080;">$MYInfo</span><span style="color:#000000;">.VMName </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$vm</span><span style="color:#000000;">.Name

           </span><span style="color:#0000ff;">if</span><span style="color:#000000;">(</span><span style="color:#800080;">$dev</span><span style="color:#000000;">.GetType().Name </span><span style="color:#ff0000;">-eq</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">VirtualDisk</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">){
                   </span><span style="color:#800080;">$MYInfo</span><span style="color:#000000;">.DeviceLabel </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$dev</span><span style="color:#000000;">.DeviceInfo.Label
                </span><span style="color:#800080;">$MYInfo</span><span style="color:#000000;">.FileName </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$dev</span><span style="color:#000000;">.Backing.FileName
                </span><span style="color:#800080;">$MYInfo</span><span style="color:#000000;">.DiskMode </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$dev</span><span style="color:#000000;">.Backing.DiskMode
                </span><span style="color:#0000ff;">if</span><span style="color:#000000;">(</span><span style="color:#800080;">$dev</span><span style="color:#000000;">.Backing.ThinProvisioned){
                </span><span style="color:#800080;">$MYInfo</span><span style="color:#000000;">.ThinProvisioned </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">True</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">}
                </span><span style="color:#0000ff;">else</span><span style="color:#000000;">{</span><span style="color:#800080;">$MYInfo</span><span style="color:#000000;">.ThinProvisioned </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">False</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">}

                </span><span style="color:#800080;">$myCol</span><span style="color:#000000;"> </span><span style="color:#ff0000;">+=</span><span style="color:#000000;"> </span><span style="color:#800080;">$MYInfo</span><span style="color:#000000;">
               }
       }
}
</span><span style="color:#800080;">$myCol</span><span style="color:#000000;"> | </span><span style="color:#5f9ea0;font-weight:bold;">Export-CSV</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-NoTypeInformation</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">D:\scripts\vmdkinfo.csv</span><span style="color:#800000;">&quot;</span></pre>
<p>When the script is finished, you can import the CSV file into Excel.&#160; After the import, we can analyze the data with just a simple filter. With a few clicks,&#160; you’re able to view al the VM’s without Thin Provisioned disks.</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/10/image14.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/10/image_thumb14.png?w=600&#038;h=235" width="600" height="235" /></a> </p>
<p>Now we have a list with all the VM’s with Thin Provisioned disks:</p>
<p><a href="http://ictfreak.files.wordpress.com/2009/10/image15.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://ictfreak.files.wordpress.com/2009/10/image_thumb15.png?w=600&#038;h=103" width="600" height="103" /></a>&#160;</p>
<p>So with a small PowerCLI script and the help of Microsoft Excel, you’re able to generate a report with just the information you need. The best part is that it will only cost you couple of minutes of your time <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  . </p>
Posted in VMware Tagged: Excel, PowerCLI, Thin Provisioning, VMDK <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ictfreak.wordpress.com/4409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ictfreak.wordpress.com/4409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ictfreak.wordpress.com/4409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ictfreak.wordpress.com/4409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ictfreak.wordpress.com/4409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ictfreak.wordpress.com/4409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ictfreak.wordpress.com/4409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ictfreak.wordpress.com/4409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ictfreak.wordpress.com/4409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ictfreak.wordpress.com/4409/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ict-freak.nl&blog=427991&post=4409&subd=ictfreak&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ict-freak.nl/2009/10/11/powercli-virtual-machine-disk-vmdk-info-v2-analyze-data-with-excel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68a6ca0e4e1bf2d16d6db8cae5db2c7c?s=96&amp;d=&amp;r=G" medium="image">
			<media:title type="html">afokkema</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/10/image_thumb13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/10/image_thumb14.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://ictfreak.files.wordpress.com/2009/10/image_thumb15.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	<feedburner:origLink>http://ict-freak.nl/2009/10/11/powercli-virtual-machine-disk-vmdk-info-v2-analyze-data-with-excel/</feedburner:origLink></item>
	</channel>
</rss>
