<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.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/" version="2.0">

<channel>
	<title>wekabyte</title>
	
	<link>http://www.wekabyte.co.uk</link>
	<description>Adventures in IT</description>
	<lastBuildDate>Wed, 03 Mar 2010 08:15:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Wekabyte" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="wekabyte" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>PowerCLI: New cmdlets for Update Manager</title>
		<link>http://www.wekabyte.co.uk/2010/03/powercli-new-cmdlets-for-update-manager/</link>
		<comments>http://www.wekabyte.co.uk/2010/03/powercli-new-cmdlets-for-update-manager/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 08:15:41 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[powercli]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=496</guid>
		<description><![CDATA[VMware have this morning / last night released some PowerCLI cmdlets for VMware Update Manager (VUM). A short description can be found of them below:



Cmdlet Name
Cmdlet  Description


Attach-Baseline
Attaches baselines to the  specified Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder,  and VApp objects.
Attaching a baseline to a container object  such as a folder or <a href="http://www.wekabyte.co.uk/2010/03/powercli-new-cmdlets-for-update-manager/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/03/powercli-new-cmdlets-for-update-manager/">PowerCLI: New cmdlets for Update Manager</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>VMware have this morning / last night released some PowerCLI cmdlets for VMware Update Manager (VUM). A short description can be found of them below:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="103" valign="top">Cmdlet Name</td>
<td width="426" valign="top">Cmdlet  Description</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Attach-Baseline</strong></td>
<td width="426" valign="top">Attaches baselines to the  specified Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder,  and VApp objects.</p>
<p>Attaching a baseline to a container object  such as a folder or datacenter transitively attaches the baseline to all  objects in the container.</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Detach-Baseline</strong></td>
<td width="426" valign="top">Detaches baselines from the  specified inventory objects.</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Download-Patch</strong></td>
<td width="426" valign="top">Downloads new patches into the  Update Manager patch repository from the enabled patch download sources.</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Get-Baseline</strong></td>
<td width="426" valign="top">Retrieves the baselines specified  by the provided cmdlet</p>
<p>parameters.</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Get-Compliance</strong></td>
<td width="426" valign="top">Retrieve baseline compliance data  for the specified object of type Template, VirtualMachine, VMHost, Cluster, Datacenter,  Folder, and VApp.</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Get-Patch</strong></td>
<td width="426" valign="top">Retrieves all available patches or  those specified by the provided cmdlet parameters.</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Get-PatchBaseline</strong></td>
<td width="426" valign="top">Retrieves all  patch  baselines or those specified by the provided cmdlet parameters.</td>
</tr>
<tr>
<td width="103" valign="top"><strong>New-PatchBaseline</strong></td>
<td width="426" valign="top">Creates a new patch baseline.  Patch baselines can be applied to either hosts or virtual machines. Depending on the patch  criteria you select,  patch baselines can be either dynamic or static (fixed).</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Remediate-Inventory</strong></td>
<td width="426" valign="top">Remediates an inventory object  against the specified baselines.</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Remove-Baseline</strong></td>
<td width="426" valign="top">Deletes the specified baselines  from their servers. Before the</p>
<p>removal, the baselines are  detached from all entities they have been attached to.</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Scan-Inventory</strong></td>
<td width="426" valign="top">Scans inventory objects for  baselines attached to them.</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Set-PatchBaseline</strong></td>
<td width="426" valign="top">Modifies the properties of a patch  baseline. You can specify explicitly the patches you want to include in the baseline through  the IncludePatch  parameter.</td>
</tr>
<tr>
<td width="103" valign="top"><strong>Stage-Patch</strong></td>
<td width="426" valign="top">Initializes staging of patches.  Staging allows you to download</p>
<p>patches from the Update Manager  server to the ESX/ESXi hosts, without applying the patches immediately.</td>
</tr>
</tbody>
</table>
<p>The cmdlets can be downloaded from VMware&#8217;s website as a PowerShell Snapin and require PowerCLI 4.0 U1.</p>
<p>I look forward to seeing a few scripts pop out in the next few days that make use of these.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/03/powercli-new-cmdlets-for-update-manager/">PowerCLI: New cmdlets for Update Manager</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/hNPJ_TEuqDId6P5eA5DQPQ2j3QQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/hNPJ_TEuqDId6P5eA5DQPQ2j3QQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/hNPJ_TEuqDId6P5eA5DQPQ2j3QQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/hNPJ_TEuqDId6P5eA5DQPQ2j3QQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/Ay8YR847BAg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/03/powercli-new-cmdlets-for-update-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CloudCamp March 2010</title>
		<link>http://www.wekabyte.co.uk/2010/02/cloudcamp-march-2010/</link>
		<comments>http://www.wekabyte.co.uk/2010/02/cloudcamp-march-2010/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 09:57:24 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[CloudCamp]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=470</guid>
		<description><![CDATA[CloudCamp London is back again. It seems like only last week when I went to the last one. Now although this is only going to be my second attendance at CloudCamp, it promises to be a little different from the norm. Since there will only be one room available there won&#8217;t be any breakout sessions <a href="http://www.wekabyte.co.uk/2010/02/cloudcamp-march-2010/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/cloudcamp-march-2010/">CloudCamp March 2010</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-384" title="CloudCamp" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/01/cloudcamp.gif" alt="" width="308" height="70" />CloudCamp London is back again. It seems like only last week when I went to the <a href="http://www.wekabyte.co.uk/2010/01/review-cloudcamp-january-2010/">last one</a>. Now although this is only going to be my second attendance at CloudCamp, it promises to be a little different from the norm. Since there will only be one room available there won&#8217;t be any breakout sessions but instead a presidential style debate about cloud computing featuring:</p>
<ul>
<li>Matt Deacon &#8211; Microsoft</li>
<li>Simon Wardley &#8211; Canonical</li>
<li>Rod Johnston &#8211; VMware</li>
<li>Chris Richardson &#8211; Thoughtworks</li>
</ul>
<p>I&#8217;m not particularly familiar with any of them but it could be interesting having VMware and Microsoft squaring up against each other to talk about Clouds.</p>
<p>As an added bonus it&#8217;s just round the corner from where I&#8217;m working. I think I&#8217;ll go and register now. For more details (including the registration process) see <a href="http://www.cloudcamp.org/london" target="_blank">CloudCamp&#8217;s site</a>.</p>
<h3>Date:</h3>
<p>Thursday, March 11, 2010 from 6:30 PM &#8211; 11:00 PM (GMT)</p>
<h3>Location:</h3>
<p>Queen Elizabeth II Conference Centre<br />
Broad Sanctuary<br />
Westminster<br />
SW1P 3EE London<br />
United Kingdom</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/cloudcamp-march-2010/">CloudCamp March 2010</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/tJfI9APjA6Ys7LV1bDyNX6nLI6A/0/da"><img src="http://feedads.g.doubleclick.net/~a/tJfI9APjA6Ys7LV1bDyNX6nLI6A/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/tJfI9APjA6Ys7LV1bDyNX6nLI6A/1/da"><img src="http://feedads.g.doubleclick.net/~a/tJfI9APjA6Ys7LV1bDyNX6nLI6A/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/KqG1M9nsYbI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/02/cloudcamp-march-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Veeam Surebackup</title>
		<link>http://www.wekabyte.co.uk/2010/02/veeam-surebackup/</link>
		<comments>http://www.wekabyte.co.uk/2010/02/veeam-surebackup/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 22:48:19 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[veeam]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=462</guid>
		<description><![CDATA[Everybody is talking about it. If I asked my brother-in-law (an advertising creative) he&#8217;d probably say that this is a good marketing strategy. It certainly works on me anyway &#8211; I&#8217;m as curious a hell! Like everyone else who&#8217;s been talking about it, I registered to find out more. Some have specualted about features or <a href="http://www.wekabyte.co.uk/2010/02/veeam-surebackup/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/veeam-surebackup/">Veeam Surebackup</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>Everybody is talking about it. If I asked my brother-in-law (an advertising creative) he&#8217;d probably say that this is a good marketing strategy. It certainly works on me anyway &#8211; I&#8217;m as curious a hell! Like everyone else who&#8217;s been talking about it, I registered to find out more. Some have specualted about features or approaches (<a href="http://virtualisedreality.com/2010/02/19/something-big-is-happening-at-veeam/" target="_blank">VirtualisedReality</a>) and some (<a href="http://www.simonlong.co.uk/blog/2010/02/19/veeam-something-big-is-coming/" target="_blank">the SLOG</a>), better connected than me, may find out more.</p>
<p>Actually I registered a few hours ago now but something has been bugging me. The big reveal is due on March 22nd. There are still 9 days of February to go. Doing the maths, 22 + 9 does not equal 23 (see the image below). It&#8217;s a lot closer to 32. Perhaps Veeam have a small code problem? I&#8217;d hope not and I think not.</p>
<p>Having had a look at the page source,</p>
<p><img class="alignnone size-large wp-image-463" title="veeam-surebackup-source" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/02/veeam-surebackup-source-600x121.png" alt="" width="600" height="121" /></p>
<p>it looks like the countdown is configured to run until March 15th. I&#8217;m guessing that there will be more revealed or some change to their site around that time. I wait in eager anticipation.</p>
<p><img class="alignnone size-large wp-image-464" title="veeam-surebackup" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/02/veeam-surebackup-600x455.png" alt="" width="600" height="455" /></p>
<p>Update (20/02/2010): Found a tweet from @veeam this morning:</p>
<p>RT: @veeam: RT @mpoore: New Post: Veeam Surebackup http://bit.ly/bAVtum &amp;lt;- Good detective work&#8230;the countdown will be changed for March 22 (OOPS) <img src='http://www.wekabyte.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/veeam-surebackup/">Veeam Surebackup</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/n1ysca8Qp3a0cKOWiiJ6DuSPIG4/0/da"><img src="http://feedads.g.doubleclick.net/~a/n1ysca8Qp3a0cKOWiiJ6DuSPIG4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/n1ysca8Qp3a0cKOWiiJ6DuSPIG4/1/da"><img src="http://feedads.g.doubleclick.net/~a/n1ysca8Qp3a0cKOWiiJ6DuSPIG4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/ybLaiwZ8Sqk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/02/veeam-surebackup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Get the DN of your Windows account from AD</title>
		<link>http://www.wekabyte.co.uk/2010/02/get-the-dn-of-your-windows-account-from-ad/</link>
		<comments>http://www.wekabyte.co.uk/2010/02/get-the-dn-of-your-windows-account-from-ad/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 15:24:27 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[VBS]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=457</guid>
		<description><![CDATA[You know how it is. A nice, nested OU structure in AD. Everything beautifully organised in containers with weird and wonderful names. There&#8217;s a new guy who needs an account creating. Needs the same permissions as you. Simplest answer is to copy the account. But you didn&#8217;t set your account up so you have no <a href="http://www.wekabyte.co.uk/2010/02/get-the-dn-of-your-windows-account-from-ad/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/get-the-dn-of-your-windows-account-from-ad/">Get the DN of your Windows account from AD</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>You know how it is. A nice, nested OU structure in AD. Everything beautifully organised in containers with weird and wonderful names. There&#8217;s a new guy who needs an account creating. Needs the same permissions as you. Simplest answer is to copy the account. But you didn&#8217;t set your account up so you have no idea where in the beautifully organised tree it is.</p>
<p>For a quick answer, run this VBScript:</p>
<pre class="brush: plain;">set objSysInfo = CreateObject(&quot;ADSystemInfo&quot;)
set objUser = GetObject(&quot;LDAP://&quot; &amp; objSysInfo.UserName)
wscript.echo &quot;DN: &quot; &amp; objUser.distinguishedName</pre>
<p>Ah, found it. Of course, things would be much quicker with PowerShell but 4 hours ago I was the new guy and PowerShell doesn&#8217;t really exists that side of the firewall yet <img src='http://www.wekabyte.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/get-the-dn-of-your-windows-account-from-ad/">Get the DN of your Windows account from AD</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/AuMZa3gXtQtjaiEZxFro7lTKtCg/0/da"><img src="http://feedads.g.doubleclick.net/~a/AuMZa3gXtQtjaiEZxFro7lTKtCg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/AuMZa3gXtQtjaiEZxFro7lTKtCg/1/da"><img src="http://feedads.g.doubleclick.net/~a/AuMZa3gXtQtjaiEZxFro7lTKtCg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/2ORllWNxCS0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/02/get-the-dn-of-your-windows-account-from-ad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basics: Open PowerCLI using different credentials</title>
		<link>http://www.wekabyte.co.uk/2010/02/basics-open-powercli-using-different-credentials/</link>
		<comments>http://www.wekabyte.co.uk/2010/02/basics-open-powercli-using-different-credentials/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 08:48:45 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[powercli]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=449</guid>
		<description><![CDATA[Everytime I use a different PC or laptop I always forget to do this after installing PowerCLI. I happily open PowerCLI up and try to connect to a vCenter server and get prompted for my login information. This is how I feel:

Every time in that session that &#8220;Connect-VIServer&#8221; is used I&#8217;ll get it because my <a href="http://www.wekabyte.co.uk/2010/02/basics-open-powercli-using-different-credentials/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/basics-open-powercli-using-different-credentials/">Basics: Open PowerCLI using different credentials</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>Everytime I use a different PC or laptop I always forget to do this after installing PowerCLI. I happily open PowerCLI up and try to connect to a vCenter server and get prompted for my login information. This is how I feel:</p>
<p><img class="size-full wp-image-451 alignnone" title="doh" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/02/doh.jpg" alt="" width="84" height="118" /></p>
<p>Every time in that session that &#8220;Connect-VIServer&#8221; is used I&#8217;ll get it because my normal domain account doesn&#8217;t have any privileges in vCenter. The point of this post isn&#8217;t to teach anyone to suck eggs but maybe it&#8217;ll help me remember in future to make one tiny change after installing PowerCLI.</p>
<p>Right click on the PowerCLI shortcut and open the shortcut&#8217;s properties.</p>
<p><img class="alignnone size-medium wp-image-452" title="2010-02-16_13-31-17" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/02/2010-02-16_13-31-17-216x300.png" alt="" width="216" height="300" /></p>
<p>Click the &#8220;Advanced&#8221; button.</p>
<p><img class="alignnone size-medium wp-image-453" title="2010-02-16_13-31-24" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/02/2010-02-16_13-31-24-300x224.png" alt="" width="300" height="224" /></p>
<p>Tick the box &#8220;Run with different credentials&#8221;. OK everything.</p>
<p>The next time the the shortcut is used the option to specify different credentials is shown:</p>
<p><img class="alignnone size-medium wp-image-454" title="2010-02-16_13-32-10" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/02/2010-02-16_13-32-10-300x245.png" alt="" width="300" height="245" /></p>
<p>Entering a different account here saves having to do it each time &#8220;Connect-VIServer&#8221; is used. There are other things that can be done of course. Maybe I&#8217;ll save those for another day.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/basics-open-powercli-using-different-credentials/">Basics: Open PowerCLI using different credentials</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/adqWce-KqEG8xQQNFAnqNgvPKEw/0/da"><img src="http://feedads.g.doubleclick.net/~a/adqWce-KqEG8xQQNFAnqNgvPKEw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/adqWce-KqEG8xQQNFAnqNgvPKEw/1/da"><img src="http://feedads.g.doubleclick.net/~a/adqWce-KqEG8xQQNFAnqNgvPKEw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/gmFAHCOPjLY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/02/basics-open-powercli-using-different-credentials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Released: VMware View 4.0.1</title>
		<link>http://www.wekabyte.co.uk/2010/02/released-vmware-view-4-0-1/</link>
		<comments>http://www.wekabyte.co.uk/2010/02/released-vmware-view-4-0-1/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 07:59:14 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[View]]></category>
		<category><![CDATA[PCoIP]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=443</guid>
		<description><![CDATA[VMware View 4.0.1 is a maintenance release that adds a small number of features / enhancements:

Localisation of the View client in a number of languages including French and German.
Support for vCenter 2.5 Update 6 and ESX 3.5 Update 5
PCoIP now supports Virtual Printing, a couple of Single Sign-On Providers and International keyboards.

There are a few <a href="http://www.wekabyte.co.uk/2010/02/released-vmware-view-4-0-1/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/released-vmware-view-4-0-1/">Released: VMware View 4.0.1</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>VMware View 4.0.1 is a maintenance release that adds a small number of features / enhancements:</p>
<ul>
<li>Localisation of the View client in a number of languages including French and German.</li>
<li>Support for vCenter 2.5 Update 6 and ESX 3.5 Update 5</li>
<li>PCoIP now supports Virtual Printing, a couple of Single Sign-On Providers and International keyboards.</li>
</ul>
<p>There are a few bug fixes included also. The best thing to do is to head over to the <a href="http://www.vmware.com/support/view40/doc/releasenotes_viewmanager401.html" target="_blank">release notes</a> and check them out. Then it&#8217;s time to <a href="http://downloads.vmware.com/d/info/desktop_downloads/vmware_view/4_0" target="_blank">download</a> and update <img src='http://www.wekabyte.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/released-vmware-view-4-0-1/">Released: VMware View 4.0.1</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/POZ_D45A5Y4SSi3RxHkMfvV2Bis/0/da"><img src="http://feedads.g.doubleclick.net/~a/POZ_D45A5Y4SSi3RxHkMfvV2Bis/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/POZ_D45A5Y4SSi3RxHkMfvV2Bis/1/da"><img src="http://feedads.g.doubleclick.net/~a/POZ_D45A5Y4SSi3RxHkMfvV2Bis/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/ykkgcw4pUU4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/02/released-vmware-view-4-0-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerCLI: Documenting vCenter Permissions (Part 1)</title>
		<link>http://www.wekabyte.co.uk/2010/02/powercli-documenting-vcenter-permissions-part-1/</link>
		<comments>http://www.wekabyte.co.uk/2010/02/powercli-documenting-vcenter-permissions-part-1/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 16:05:04 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[permissions]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=426</guid>
		<description><![CDATA[It&#8217;s a nice feeling being asked to do something challenging and new. There I was writing lots of lovely documentation and I was asked if I could document the permissions in vCenter. I said &#8220;Ok&#8221; without really thinking about it. Do you know how many different privileges there are in vCenter? Quite a few, I <a href="http://www.wekabyte.co.uk/2010/02/powercli-documenting-vcenter-permissions-part-1/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/powercli-documenting-vcenter-permissions-part-1/">PowerCLI: Documenting vCenter Permissions (Part 1)</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a nice feeling being asked to do something challenging and new. There I was writing lots of lovely documentation and I was asked if I could document the permissions in vCenter. I said &#8220;Ok&#8221; without really thinking about it. Do you know how many different privileges there are in vCenter? Quite a few, I realised a few seconds later.</p>
<p>After consulting the PowerCLI <a href="http://www.vmware.com/support/developer/windowstoolkit/wintk40u1/html/index.html" target="_blank">cmdlets reference</a> I found out exactly how many there were.</p>
<pre class="brush: powershell;">(get-VIPrivilege).count</pre>
<p>Only 249. Multiply that by 14 default roles and you get 3486 permissions to document. It&#8217;s not quite that bad really. You only need to document permissions that have been assigned so that cuts the number down considerably. Still, there must be an easier way.</p>
<p>I&#8217;ve all but hit you over the head with the solution. Let&#8217;s take the default &#8220;Admin&#8221; role as an example. The following shows exactly which permissions it has:</p>
<pre class="brush: powershell;">get-VIPrivilege -role Admin</pre>
<p>The output isn&#8217;t pretty but it gets the job done. Suppose you want the privileges for all roles. To borrow Apple&#8217;s catch-phrase, there&#8217;s a cmdlet for that.</p>
<pre class="brush: powershell;">get-VIRole</pre>
<p>This is all well and good but we need to combine these cmdlets, their output and present it in some sort of meaningful way. PowerShell has a number of builtin cmdlets for formatting and / or exporting data. What I wanted was something that didn&#8217;t require me to do any extra formatting afterwards and that I can use again. Given the nature of the data we&#8217;re trying to extract, one of the best ways of presenting it is in an Excel spreadsheet. For this we could use the export-csv cmdlet but to avoid any extra formatting I decided to experiment with Excel interaction. That is the part that took most of the time and has made the script below such an ungainly beast. Thanks though to the magic of Google and inspiration from one of <a href="http://www.virtu-al.net/2008/06/18/my-first-powershell/" target="_blank">Alan Renouf&#8217;s scripts</a>, I cobbled together the following:</p>
<pre class="brush: powershell;">####################################################################
# List-Privileges.ps1                                              #
#                                                                  #
# Author: Michael Poore (www.wekabyte.co.uk)                       #
# Version: 0.1                                                     #
# Date: 12/02/2010                                                 #
#                                                                  #
# Change History:                                                  #
# - 0.1 - First working version                                    #
#                                                                  #
####################################################################

$vcserver = &quot;myvcserver&quot;
$startrow = 3
$date = get-date -format F

# Connect to VC Server
Connect-VIServer $vcserver

# Get a list of all privileges from the VC Server
$privs = @()
foreach ($priv in Get-VIPrivilege | sort Id)
{
 $objecta = &quot;&quot;  | select-Object ID,Description
 $objecta.ID = $priv.Id
 $objecta.Description = $priv.Description
 $privs += $objecta
}

# Get a list of all roles from the VC Server and determine which privileges they hold
$roles = @()
foreach ($role in Get-VIRole)
{
 $objectb = &quot;&quot; | select-Object Name,System,Description,Privileges
 $objectb.Name = $role.Name
 $objectb.System = $role.IsSystem
 $objectb.Description = $role.Description
 $myprivs = @()
 $roleprivs = $role.PrivilegeList | Sort
 $roleprivs
 foreach ($priv in $privs)
 {
 $myprivs += $roleprivs -contains $priv.ID
 }
 $objectb.Privileges = $myprivs
 $roles += $objectb
}

# Create new Excel object
$Excel = New-Object -Com Excel.Application
$Excel.visible = $True
$Excel = $Excel.Workbooks.Add(1)
$Sheet = $Excel.WorkSheets.Item(1)

# Write Worksheet title
$Sheet.Cells.Item(1,1) = &quot;Roles and Privileges Report for $vcserver - $date&quot;
$Sheet.Cells.Item(1,1).font.bold = $true
$Sheet.Cells.Item(1,1).font.underline = $true
$Sheet.Cells.Item(1,1).font.size = 18

# Write worksheet column headers
$row = $startrow
$Sheet.Cells.Item($row,3) = &quot;ROLE:&quot;
$Sheet.Cells.Item($row,3).font.bold = $true
$Sheet.Cells.Item($row,3).HorizontalAlignment = 4
$Sheet.Cells.Item($row,3).Borders.Item(10).LineStyle = 1
$Sheet.Cells.Item($row,3).Borders.Item(10).Weight = 4
$row++
$Sheet.Cells.Item($row,3) = &quot;DESCRIPTION:&quot;
$Sheet.Cells.Item($row,3).font.bold = $true
$Sheet.Cells.Item($row,3).HorizontalAlignment = 4
$Sheet.Cells.Item($row,3).Borders.Item(10).LineStyle = 1
$Sheet.Cells.Item($row,3).Borders.Item(10).Weight = 4
$row++
$Sheet.Cells.Item($row,3) = &quot;SYSTEM:&quot;
$Sheet.Cells.Item($row,3).font.bold = $true
$Sheet.Cells.Item($row,3).HorizontalAlignment = 4
$Sheet.Cells.Item($row,3).Borders.Item(10).LineStyle = 1
$Sheet.Cells.Item($row,3).Borders.Item(10).Weight = 4
$Sheet.Rows.Item($row).Borders.Item(9).LineStyle = 1
$Sheet.Rows.Item($row).Borders.Item(9).Weight = 4
$row++
$sheet.columns.item(1).columnwidth = 5
$sheet.columns.item(2).columnwidth = 5
$sheet.columns.item(3).columnwidth = 30
$sheet.columns.item(4).columnwidth = 2

foreach ($priv in $privs)
{
 $level = [regex]::matches($priv.ID,&quot;\.&quot;).count
 switch ($level)
 {
 0 {$col = 1}
 1 {$col = 2}
 default {$col = 3}
 }
 $Sheet.Cells.Item($row,$col) = $priv.Description
 $Sheet.Cells.Item($row,3).Borders.Item(10).LineStyle = 1
 $Sheet.Cells.Item($row,3).Borders.Item(10).Weight = 4
 #$Sheet.Cells.Item($row,3).WrapText = $true
 $Sheet.Cells.Item($row,4) = &quot; &quot;
 $row++
}

$col = 5
foreach ($role in $roles)
{
 $row = $startrow
 $Sheet.Cells.Item($row,$col).Orientation = 90
 $Sheet.Cells.Item($row++,$col) = $role.Name
 $Sheet.Cells.Item($row,$col).HorizontalAlignment = 3
 $Sheet.Cells.Item($row++,$col) = $role.System
 $Sheet.Cells.Item($row,$col).HorizontalAlignment = 5
 $Sheet.Cells.Item($row++,$col) = $role.Description
 foreach ($priv in $role.Privileges)
 {
 if ($priv)
 {
 $Sheet.Cells.Item($row,$col).HorizontalAlignment = 3
 $Sheet.Cells.Item($row,$col) = &quot;Yes&quot;
 }
 $row++
 }
 $sheet.columns.item($col).columnwidth = 6
 $col++
}
Clear</pre>
<p>It&#8217;s a little slow to run but fairly easy to read the output. These are the default roles in vCenter 4.0.</p>
<p><img class="alignnone size-large wp-image-430" title="2010-02-12_13-09-26" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/02/2010-02-12_13-09-261-600x363.png" alt="" width="600" height="363" /></p>
<p>So that&#8217;s part 1. The next step is already underway &#8211; tidying the script and adding to it to try and give some indication of which AD users and groups map to which roles.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/powercli-documenting-vcenter-permissions-part-1/">PowerCLI: Documenting vCenter Permissions (Part 1)</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/GwjJmgS4Dv5U3xOGwmHLCgLQKhw/0/da"><img src="http://feedads.g.doubleclick.net/~a/GwjJmgS4Dv5U3xOGwmHLCgLQKhw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/GwjJmgS4Dv5U3xOGwmHLCgLQKhw/1/da"><img src="http://feedads.g.doubleclick.net/~a/GwjJmgS4Dv5U3xOGwmHLCgLQKhw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/jW24ukdNxkA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/02/powercli-documenting-vcenter-permissions-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vSphere Client Silent Install</title>
		<link>http://www.wekabyte.co.uk/2010/02/vsphere-client-silent-install/</link>
		<comments>http://www.wekabyte.co.uk/2010/02/vsphere-client-silent-install/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 13:26:27 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[VI Client]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=410</guid>
		<description><![CDATA[I was asked yesterday if I knew how to do a silent installation of the vSphere client. My client wanted to roll out the vSphere client to their Operations team automatically. They had experimented with getting it working and even asked a company about producing a custom MSI for them.
The solution is a little easier <a href="http://www.wekabyte.co.uk/2010/02/vsphere-client-silent-install/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/vsphere-client-silent-install/">vSphere Client Silent Install</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>I was asked yesterday if I knew how to do a silent installation of the vSphere client. My client wanted to roll out the vSphere client to their Operations team automatically. They had experimented with getting it working and even asked a company about producing a custom MSI for them.</p>
<p>The solution is a little easier than that though. The key thing is using the right file. The VMware-viclient.exe file that can be downloaded from the vCenter server or an ESX / ESXi host is a self-extracting archive and doesn&#8217;t pay any attention to the normal parameters and switches that you can try to add to get a silent installation performed.</p>
<p>The right file to use is from the vCenter installation media (zip file or iso). In the &#8220;vpx&#8221; folder is a VMware-viclient.exe file that is 137Mb in size (the archive file mentioned above is about 114Mb). If you place the file on the root of your C:\ drive then a silent installation (an unattended one at least) can be performed using the following command line:</p>
<pre class="brush: plain;">start /wait C:\VMware-viclient.exe /q /s /w /L1033 /v&quot; /qr&quot;</pre>
<p>If you&#8217;d like a log file created, use this instead to write a logfile to the user&#8217;s temp directory:</p>
<pre class="brush: plain;">start /wait C:\VMware-viclient.exe /q /s /w /L1033 /v&quot; /qr /L*v \&quot;%TEMP%\vmvcc.log\&quot;&quot;</pre>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/vsphere-client-silent-install/">vSphere Client Silent Install</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/Pwh1fvfjjUTqx9Ln8GC0WGoop3M/0/da"><img src="http://feedads.g.doubleclick.net/~a/Pwh1fvfjjUTqx9Ln8GC0WGoop3M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Pwh1fvfjjUTqx9Ln8GC0WGoop3M/1/da"><img src="http://feedads.g.doubleclick.net/~a/Pwh1fvfjjUTqx9Ln8GC0WGoop3M/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/rBC2sEnsAII" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/02/vsphere-client-silent-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell 2.0 Installation Error</title>
		<link>http://www.wekabyte.co.uk/2010/02/powershell-2-0-installation-error/</link>
		<comments>http://www.wekabyte.co.uk/2010/02/powershell-2-0-installation-error/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 10:44:47 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Registry]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=417</guid>
		<description><![CDATA[I was trying to install PowerShell 2.0 and kept getting an error part way through that simply told me that access was denied while installing the Windows Management Framework Core. The installation was then rolled back. I tried a few times, with local and domain administrator accounts but to no avail. The following event was <a href="http://www.wekabyte.co.uk/2010/02/powershell-2-0-installation-error/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/powershell-2-0-installation-error/">PowerShell 2.0 Installation Error</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>I was trying to install PowerShell 2.0 and kept getting an error part way through that simply told me that access was denied while installing the Windows Management Framework Core. The installation was then rolled back. I tried a few times, with local and domain administrator accounts but to no avail. The following event was logged each time in the system event log:</p>
<p><img class="alignnone size-full wp-image-420" title="2010-02-10_15-12-13" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/02/2010-02-10_15-12-13.png" alt="" width="404" height="448" /></p>
<p>After some poking around I found that the local Administrators group did not not have Full Control of the registry key HKLM\Software\Microsoft\Windows NT\CurrentVersion\Svchost to which it was trying to write.</p>
<p><img class="alignnone size-full wp-image-421" title="2010-02-10_15-10-44" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/02/2010-02-10_15-10-44.png" alt="" width="367" height="443" /></p>
<p>Just thought I&#8217;d share this in case anyone else encountered it.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/powershell-2-0-installation-error/">PowerShell 2.0 Installation Error</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/8wdjMT1dhV8u6BYiN8HOyzvmnq0/0/da"><img src="http://feedads.g.doubleclick.net/~a/8wdjMT1dhV8u6BYiN8HOyzvmnq0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/8wdjMT1dhV8u6BYiN8HOyzvmnq0/1/da"><img src="http://feedads.g.doubleclick.net/~a/8wdjMT1dhV8u6BYiN8HOyzvmnq0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/EsVAwK7RsfY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/02/powershell-2-0-installation-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VI3 Extended Support</title>
		<link>http://www.wekabyte.co.uk/2010/02/vi3-extended-support/</link>
		<comments>http://www.wekabyte.co.uk/2010/02/vi3-extended-support/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 09:50:27 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[VI3]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=406</guid>
		<description><![CDATA[Sorry to keep going on about VI3 but I alluded to the end of General Support in a previous post and thought it might be nice just to expand on it a bit.
VMware explain their support lifecycle policies here and basically the clock started ticking for VI3 support the day that vSphere went GA. VI3 <a href="http://www.wekabyte.co.uk/2010/02/vi3-extended-support/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/vi3-extended-support/">VI3 Extended Support</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>Sorry to keep going on about VI3 but I alluded to the end of General Support in a <a href="http://www.wekabyte.co.uk/2010/02/released-vcenter-2-5-update-6/" target="_self">previous post</a> and thought it might be nice just to expand on it a bit.</p>
<p>VMware explain their support lifecycle policies<a href="http://www.vmware.com/support/policies/lifecycle/vi/" target="_blank"> here</a> and basically the clock started ticking for VI3 support the day that vSphere went GA. VI3 moves into extended support on 21st May 2010. That&#8217;s only 4 months away.</p>
<p>So what does Extended Support mean? This is VMware&#8217;s definition:</p>
<blockquote><p>New hardware platforms are no longer supported, new guest OS updates may or may not be applied, and bug fixes are limited to critical issues. Critical bugs are deviations from specified product functionality that cause data corruption, data loss, system crash, or significant customer application down time and there is no work-around that can be implemented.</p></blockquote>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/vi3-extended-support/">VI3 Extended Support</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/qxV6IR6NhGxeCfs3xDztNZwxLcE/0/da"><img src="http://feedads.g.doubleclick.net/~a/qxV6IR6NhGxeCfs3xDztNZwxLcE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/qxV6IR6NhGxeCfs3xDztNZwxLcE/1/da"><img src="http://feedads.g.doubleclick.net/~a/qxV6IR6NhGxeCfs3xDztNZwxLcE/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/0BwU-7FdyIo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/02/vi3-extended-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Released: vCenter 2.5 Update 6</title>
		<link>http://www.wekabyte.co.uk/2010/02/released-vcenter-2-5-update-6/</link>
		<comments>http://www.wekabyte.co.uk/2010/02/released-vcenter-2-5-update-6/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 09:10:17 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=402</guid>
		<description><![CDATA[vCenter 2.5 Update 6 was released on Friday. Whilst I&#8217;m not working with any 3.5 / 2.5 environments at the moment this is good news because Windows Server 2008 R2 guest customisations have been added. Also added is support for Firefox 3.x using vCenter Web Access. The full release notes are here.
I&#8217;m going to stick <a href="http://www.wekabyte.co.uk/2010/02/released-vcenter-2-5-update-6/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/released-vcenter-2-5-update-6/">Released: vCenter 2.5 Update 6</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>vCenter 2.5 Update 6 was released on Friday. Whilst I&#8217;m not working with any 3.5 / 2.5 environments at the moment this is good news because Windows Server 2008 R2 guest customisations have been added. Also added is support for Firefox 3.x using vCenter Web Access. The full release notes are<a href="http://www.vmware.com/support/vi3/doc/vi3_vc25u6_rel_notes.html" target="_blank"> here</a>.</p>
<p>I&#8217;m going to stick my neck out a bit and suggest that this may be the final update to vCenter 2.5 before it reaches the end of General Support in May.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/02/released-vcenter-2-5-update-6/">Released: vCenter 2.5 Update 6</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/T0m68pBnZ8cpaai6DH1DNThbR4o/0/da"><img src="http://feedads.g.doubleclick.net/~a/T0m68pBnZ8cpaai6DH1DNThbR4o/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/T0m68pBnZ8cpaai6DH1DNThbR4o/1/da"><img src="http://feedads.g.doubleclick.net/~a/T0m68pBnZ8cpaai6DH1DNThbR4o/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/pkCF7cvb4JI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/02/released-vcenter-2-5-update-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vStorage Virtual Machine File System (VMFS)</title>
		<link>http://www.wekabyte.co.uk/2010/01/vstorage-virtual-machine-file-system-vmfs/</link>
		<comments>http://www.wekabyte.co.uk/2010/01/vstorage-virtual-machine-file-system-vmfs/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 10:32:06 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMFS]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=397</guid>
		<description><![CDATA[Rick Vanover has written a nice article on TechTarget that delves a bit into VMFS. It&#8217;s the sort of thing that&#8217;s good to know about if you&#8217;re contemplating taking the Enterprise Exam.
Read the full article here: Breaking down the  vStorage Virtual  Machine File System (VMFS)

"vStorage Virtual Machine File System (VMFS)" originally appeared on <a href="http://www.wekabyte.co.uk/2010/01/vstorage-virtual-machine-file-system-vmfs/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/vstorage-virtual-machine-file-system-vmfs/">vStorage Virtual Machine File System (VMFS)</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>Rick Vanover has written a nice article on TechTarget that delves a bit into VMFS. It&#8217;s the sort of thing that&#8217;s good to know about if you&#8217;re contemplating taking the Enterprise Exam.</p>
<p>Read the full article here: <a href="http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1368383_mem1,00.html?track=NL-916&amp;ad=745875&amp;asrc=EM_NLN_10759297" target="_blank">Breaking down the  vStorage Virtual  Machine File System (VMFS)</a></p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/vstorage-virtual-machine-file-system-vmfs/">vStorage Virtual Machine File System (VMFS)</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/_LK_6VaF-QLcsvcejar1kge6GdI/0/da"><img src="http://feedads.g.doubleclick.net/~a/_LK_6VaF-QLcsvcejar1kge6GdI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/_LK_6VaF-QLcsvcejar1kge6GdI/1/da"><img src="http://feedads.g.doubleclick.net/~a/_LK_6VaF-QLcsvcejar1kge6GdI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/pI2r2SYEiTg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/01/vstorage-virtual-machine-file-system-vmfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshooting: Missing file after vMotion attempt</title>
		<link>http://www.wekabyte.co.uk/2010/01/troubleshooting-missing-file-after-vmotion-attempt/</link>
		<comments>http://www.wekabyte.co.uk/2010/01/troubleshooting-missing-file-after-vmotion-attempt/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 15:32:32 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[vmdk]]></category>
		<category><![CDATA[vMotion]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=389</guid>
		<description><![CDATA[I apologise in advance if this doesn&#8217;t make much sense to you. It took me a while to unravel what was wrong and I still don&#8217;t know why.
Update 5 was being applied to a 3.5 cluster and one of the hosts was being placed into maintenance mode. Most of the VMs were migrated to other <a href="http://www.wekabyte.co.uk/2010/01/troubleshooting-missing-file-after-vmotion-attempt/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/troubleshooting-missing-file-after-vmotion-attempt/">Troubleshooting: Missing file after vMotion attempt</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>I apologise in advance if this doesn&#8217;t make much sense to you. It took me a while to unravel what was wrong and I still don&#8217;t know why.<br />
Update 5 was being applied to a 3.5 cluster and one of the hosts was being placed into maintenance mode. Most of the VMs were migrated to other hosts but one failed part way through and was powered off. At first I thought that one of the two hosts had a grumpy moment but the VM then refused to power on again and the following message was shown:</p>
<p><img class="alignnone size-full wp-image-392" title="screenshot_2010-01-27_14-38-50" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/01/screenshot_2010-01-27_14-38-50.png" alt="" width="718" height="122" /></p>
<p>Ooops. I had a good rummage in the hostd.log file on the host that attempted to power on the VM and found the following messages:</p>
<pre class="brush: plain;">[2010-01-27 12:33:09.101 'BaseLibs' 133225392 info] DISKLIB-VMFS : &quot;/vmfs/volumes/4a081291-4fb12f12-bef0-001e0bcdc996/myvm/mydisk_1-000001-delta.vmdk&quot; : open successful (21) size = 16106127360, hd = 0. Type 8
[2010-01-27 12:33:09.103 'BaseLibs' 133225392 info] DISKLIB-VMFS : &quot;/vmfs/volumes/4a081291-4fb12f12-bef0-001e0bcdc996/myvm/mydisk_1-000001-delta.vmdk&quot; : closed.
[2010-01-27 12:33:09.151 'BaseLibs' 133225392 info] SNAPSHOT: Unable to find all files for '/vmfs/volumes/4992b455-063c9aec-5e36-001e0bcdc996/mytemplate/mydisk_1.vmdk'
[2010-01-27 12:33:56.219 'vm:/vmfs/volumes/4a081291-4fb12f12-bef0-001e0bcdc996/myvm/myvm.vmx' 20868016 info] Question info: VMware ESX Server cannot find the virtual disk &quot;/vmfs/volumes/4992b455-063c9aec-5e36-001e0bcdc996/mytemplate/mydisk_1.vmdk&quot;. Please verify the path is valid and try again.
Cannot open the disk '/vmfs/volumes/4a081291-4fb12f12-bef0-001e0bcdc996/myvm/mydisk_1-000001.vmdk' or one of the snapshot disks it depends on.
[2010-01-27 12:33:56.240 'ha-eventmgr' 20868016 info] Event 81 : Message on myvm on myhost.local in ha-datacenter: VMware ESX Server cannot find the virtual disk &quot;/vmfs/volumes/4992b455-063c9aec-5e36-001e0bcdc996/mytemplate/mydisk_1.vmdk&quot;. Please verify the path is valid and try again.
Cannot open the disk '/vmfs/volumes/4a081291-4fb12f12-bef0-001e0bcdc996/myvm/mydisk_1-000001.vmdk' or one of the snapshot disks it depends on.</pre>
<p>(I&#8217;ve sanitised this log file snippet so the names aren&#8217;t accurate but they are consistent with the issue that I discovered.)</p>
<p>Firstly the logfile shows a delta file. That means that the VM is running from a snapshot. This didn&#8217;t show up beforehand and the Snapshot Manager did not show it. Most likely VCB (or the backup software using it) didn&#8217;t clean up after itself. Browsing the datastore where the VM resides showed that the snapshot was nearly two weeks old.</p>
<p>Secondly, you can see the issue in the third line onwards. It looks like the base disk file has gone missing. However reading more closely it looks like the base disk is on a different datastore and actually part of a different VM! For some reason, when this VM was deployed from a template it retained one of the template&#8217;s disks as its own. Looking into that datastore I could see the mydisk_1-flat.vmdk file but there was no mydisk_1.vmdk file. (Just to explain, the former is the actual disk file. 15Gb in size and containing the VM&#8217;s data. The latter file is a small text file and contains configuration data. I&#8217;ll call it the disk descriptor file.) So, it was a missing disk descriptor file that was the issue. I did a quick google and didn&#8217;t find anything immediately helpful so I ran through the following steps:</p>
<ol>
<li>Copied the mydisk_1-flat.vmdk file from the template VM&#8217;s datastore to the broken VM&#8217;s datastore.</li>
<li>Knowing that the disk was supposed to be 15Gb in size, I created a quick VM with a single 15Gb disk and copied the disk descriptor file to the broken VM&#8217;s datastore.</li>
<li>Next I made a note of the parentCID from the mydisk_1-000001.vmdk disk descriptor file. This value (from the snapshot delta&#8217;s disk descriptor file) is the ID of the parent disk.</li>
<pre class="brush: plain;"># Disk DescriptorFile
version=1
CID=de54d5dd
parentCID=1bb73626
createType=&quot;vmfsSparse&quot;
parentFileNameHint=&quot;/vmfs/volumes/4992b455-063c9aec-5e36-001e0bcdc996/mytemplate/mydisk_1.vmdk&quot;
# Extent description
RW 31457280 VMFSSPARSE &quot;mydisk_1-000001-delta.vmdk&quot;

# The Disk Data Base
#DDB

ddb.toolsVersion = &quot;7302&quot;</pre>
<li>I also modified the file above to correct the parentFileNameHint value so that it referred to the local datastore and became:</li>
<pre class="brush: plain;">parentFileNameHint=&quot;mydisk_1.vmdk&quot;</pre>
<li>I modified the newly created 15Gb disk descriptor file with the CID matching the parent value from step 3. And made sure that the Extent description was correct.</li>
<pre class="brush: plain;"># Disk DescriptorFile
version=1
CID=1bb73626
parentCID=ffffffff
createType=&quot;vmfs&quot;

# Extent description
RW 31457280 VMFS &quot;mydisk_1-flat.vmdk&quot;

# The Disk Data Base
#DDB

ddb.virtualHWVersion = &quot;4&quot;
ddb.uuid = &quot;60 00 C2 91 07 97 77 cb-87 9e 5d 9f 95 95 2c 46&quot;
ddb.geometry.cylinders = &quot;1958&quot;
ddb.geometry.heads = &quot;255&quot;
ddb.geometry.sectors = &quot;63&quot;
ddb.adapterType = &quot;lsilogic&quot;</pre>
<li>I saved the file as mydisk_1.vmdk</li>
</ol>
<p>The VM then powered on successfully. I checked the disks after successful boot up and they&#8217;re there.</p>
<p><img class="alignnone size-full wp-image-393" title="screenshot_2010-01-27_15-06-02" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/01/screenshot_2010-01-27_15-06-02.png" alt="" width="528" height="393" /></p>
<p>Now all that remains is to sort out the snapshot. It still doesn&#8217;t register in snapshot manager.</p>
<p>This has been a bit of a hack but it worked. And before anyone comments, I just modified my google search terms and found the answer in a VMware KB &#8211; first hit! <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1002511" target="_blank">Recreating a missing virtual disk (VMDK) header/descriptor file</a></p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/troubleshooting-missing-file-after-vmotion-attempt/">Troubleshooting: Missing file after vMotion attempt</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/6mC8XM-hZEh12yt9n0i4Ld4zG8g/0/da"><img src="http://feedads.g.doubleclick.net/~a/6mC8XM-hZEh12yt9n0i4Ld4zG8g/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/6mC8XM-hZEh12yt9n0i4Ld4zG8g/1/da"><img src="http://feedads.g.doubleclick.net/~a/6mC8XM-hZEh12yt9n0i4Ld4zG8g/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/mev2M80Fbjg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/01/troubleshooting-missing-file-after-vmotion-attempt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Review: CloudCamp January 2010</title>
		<link>http://www.wekabyte.co.uk/2010/01/review-cloudcamp-january-2010/</link>
		<comments>http://www.wekabyte.co.uk/2010/01/review-cloudcamp-january-2010/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 12:41:29 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[CloudCamp]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=383</guid>
		<description><![CDATA[CloudCamp is a conference (they call it an &#8220;unconference&#8221;) where end users, IT professionals and vendors meet to swap ideas about Cloud Computing. I&#8217;d never been to one before and both the format and the topic intrigued me.
As a virtualisation consultant I am of course aware of cloud computing but the reality of my day <a href="http://www.wekabyte.co.uk/2010/01/review-cloudcamp-january-2010/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/review-cloudcamp-january-2010/">Review: CloudCamp January 2010</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cloudcamp.org/london" target="_blank"><img class="alignleft size-full wp-image-384" title="CloudCamp" src="http://www.wekabyte.co.uk/wp-content/uploads/2010/01/cloudcamp.gif" alt="" width="308" height="70" />CloudCamp</a> is a conference (they call it an &#8220;unconference&#8221;) where end users, IT professionals and vendors meet to swap ideas about Cloud Computing. I&#8217;d never been to one before and both the format and the topic intrigued me.<br />
As a virtualisation consultant I am of course aware of cloud computing but the reality of my day job means that clouds are things representing the internet on infrastructure diagrams or the things that I see out of the office window just before it&#8217;s time to go home. However there is no denying that there is a movement out there and it is in the general direction of the clouds. Time for me to think and learn more about it.<br />
So that&#8217;s one motivation for me attending. Another one was that several of my favourite bloggers and twitterers were due to be in attendance and I wanted to meet them.</p>
<h3>Format</h3>
<p>The format of the evening was quite refreshing. Six lightning talks by various speakers to be followed by a question panel and focused break-out sessions. (See the full agenda <a href="http://www.cloudcamp.org/london/2010-01-21" target="_blank">here</a>). The lightning talks in particular were slightly new to me but very effective. Having just five minutes to talk about a subject without being too vendor specific can&#8217;t be easy. In a minimalist way it forces the speaker to focus on the important things. Of the six speakers / subjects I found that Kate Craig-Wood&#8217;s five minutes on the &#8220;UK G-Cloud&#8221; got me thinking the most as I have done a lot of work with central and local government bodies.</p>
<h3>Unpanel</h3>
<p>The question panel (&#8220;unpanel&#8221;) featured six volunteers giving their thought / answers about various questions posed by the other audience members. Again the idea is not to be too vendor specific and a red card system was in place to send off any of the panel who strayed too far in one direction or another. There were some interesting questions asked and some very good answers given. Plenty for me to think about on my train home.</p>
<h3>Breakout Sessions</h3>
<p>The topics for the sessions were nominated by anyone with an idea for one. &#8220;The role of the government in the Cloud&#8221; was booed as a suggestion and &#8220;The role of Microsoft in the Cloud&#8221; was met with stony silence. That the session on &#8220;Interoperability and Standards&#8221; was chaired by a man from Microsoft was met with several undisguised chuckles.<br />
I had meant to attend to join in with one of the discussions but after a drinks / beer break I was chatting about all sorts with bloggers Simon x 3 (Gallagher, Long and Seagrave of <a href="http://vinf.net" target="_blank">vinf.net</a>, <a href="http://www.simonlong.co.uk" target="_blank">simonlong.co.uk</a> and <a href="http://www.techhead.co.uk" target="_blank">techhead.co.uk</a> respectively) and Stuart (<a href="http://www.vinternals.com" target="_blank">vinternals.com</a>).</p>
<h3>Thoughts on Clouds</h3>
<p>I&#8217;ve had numerous thoughts about Cloud Computing in recent months and more after last night. At some point I might write some of it down and share it.<br />
As for CloudCamp, I enjoyed it and I definitely got something from it. I might not attend every one in the future but I&#8217;d certainly recommend it for anyone with an interest or potential interest in Cloud Computing and the future of virtualisation.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/review-cloudcamp-january-2010/">Review: CloudCamp January 2010</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/zEkt9GjHMo-q080ri0JYjaYpohM/0/da"><img src="http://feedads.g.doubleclick.net/~a/zEkt9GjHMo-q080ri0JYjaYpohM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/zEkt9GjHMo-q080ri0JYjaYpohM/1/da"><img src="http://feedads.g.doubleclick.net/~a/zEkt9GjHMo-q080ri0JYjaYpohM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/MvCvi0dBHME" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/01/review-cloudcamp-january-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>London VMUG February 25th</title>
		<link>http://www.wekabyte.co.uk/2010/01/london-vmug-february-25th/</link>
		<comments>http://www.wekabyte.co.uk/2010/01/london-vmug-february-25th/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 16:29:01 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[VMUG]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=380</guid>
		<description><![CDATA[The next date for the London VMUG was announced this morning. It is on Thursday 25th February 2010.
The proposed agenda (shamelessly pinched from the announcement page on VMware Communities) is:
1100 – 1200 (Optional) PowerCLI / Powershell workshop &#8211; Alan Renouf. Please bring your own curly brackets.
12:30 – 13:00 Arrive &#38; Refreshments
13:00 – 13:20 Welcome &#38; <a href="http://www.wekabyte.co.uk/2010/01/london-vmug-february-25th/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/london-vmug-february-25th/">London VMUG February 25th</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>The next date for the London VMUG was announced this morning. It is on Thursday 25th February 2010.</p>
<p>The proposed agenda (shamelessly pinched from the <a href="http://communities.vmware.com/thread/251400;jsessionid=87695B119C9F6385449BFF3FB688FF1A?tstart=0" target="_blank">announcement page on VMware Communities</a>) is:</p>
<p>1100 – 1200 <strong>(Optional)</strong> PowerCLI / Powershell workshop &#8211; Alan Renouf. Please bring your own curly brackets.</p>
<p>12:30 – 13:00 Arrive &amp; Refreshments<br />
13:00 – 13:20 Welcome &amp; News &#8211; Alaric Davies</p>
<p>13:20 – 14:00 Sponsor Presentation &#8211; Chris Hammans, Pano Logic</p>
<p>Real world vSphere deployment experiences &#8211; Stuart Thompson<br />
(Mostly) Zero downtime DC migration for Dummies &#8211; Jonathan Medd</p>
<p>15:00 &#8211; 15:20 Refreshment break</p>
<p>ESX home lab update, virtualizing Terminal Server workloads &#8211; Simon Gallagher<br />
Thin provisioning and capacity planning in a virtual world &#8211; Chris Evans, &#8216;The Storage Architect&#8217;</p>
<p>16:45 – 17:00 Close<br />
17:00 – Pub</p>
<p>I plan to be there.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/london-vmug-february-25th/">London VMUG February 25th</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/wMu0VO3SDTOXd8mT4esSsNyRX3Q/0/da"><img src="http://feedads.g.doubleclick.net/~a/wMu0VO3SDTOXd8mT4esSsNyRX3Q/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/wMu0VO3SDTOXd8mT4esSsNyRX3Q/1/da"><img src="http://feedads.g.doubleclick.net/~a/wMu0VO3SDTOXd8mT4esSsNyRX3Q/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/KZa9MYc9EGw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/01/london-vmug-february-25th/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerCLI: Adding New PortGroups</title>
		<link>http://www.wekabyte.co.uk/2010/01/adding-new-portgroups/</link>
		<comments>http://www.wekabyte.co.uk/2010/01/adding-new-portgroups/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 09:54:10 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[vlan]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=275</guid>
		<description><![CDATA[I&#8217;m sure that someone somewhere has written a script exactly like this in the past but I wanted to write my own for a number of reasons. While I&#8217;ll probably never be a PowerCLI hero, it really doesn&#8217;t hurt to keep in practice and hone your skills.
Let&#8217;s start with what I want to accomplish. I&#8217;m <a href="http://www.wekabyte.co.uk/2010/01/adding-new-portgroups/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/adding-new-portgroups/">PowerCLI: Adding New PortGroups</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure that someone somewhere has written a script exactly like this in the past but I wanted to write my own for a number of reasons. While I&#8217;ll probably never be a PowerCLI hero, it really doesn&#8217;t hurt to keep in practice and hone your skills.</p>
<p>Let&#8217;s start with what I want to accomplish. I&#8217;m working with an ESX 3.5 web hosting environment and there&#8217;s a new project in the pipelines. A brace of new servers are required and they&#8217;ll be on a new VLAN. The VLAN has been created and configured on the various switches that the ESX hosts connect to but now of course a corresponding PortGroup is required. (Actually two are needed &#8211; complex project.) Now we&#8217;re not talking about a huge number of hosts here. It would probably only take 10 minutes to do it by hand using the VI client. It&#8217;ll take me longer to write this post! However, it is something that happens relatively often in this environment so it&#8217;s worth taking the time to write a script.<span id="more-275"></span></p>
<p>Let&#8217;s say, for the sake of simplicity, that I have 5 or 6 hosts with near identical networking configurations. The same number of NICs in each host, the same NICs attached to the same vSwitches in each host.</p>
<p>The command that we&#8217;ll need to use to create the PortGroup will be New-VirtualPortGroup. We&#8217;ll need to give it a name for the PortGroup and a VLAN ID too. Crucially it will need to know which vSwitch we want the new PortGroup to be placed on. Many environments will have more that one vSwitch and PowerCLI won&#8217;t be able to guess for you. The VirtualSwitch parameter of the New-VirtualPortGroup cmdlet needs to be an object so we have to use the Get-VirtualSwitch cmdlet with sufficient detail to identify the vSwitch that we want uniquely. Using the vSwitch name and the VMHost gives a unique combination.</p>
<p>Finally, to add the PortGroup to all hosts in a cluster we have to call the New-VirtualPortGroup cmdlet once per VMHost. This can be done using the PowerShell pipeline.</p>
<p>So, now that I&#8217;ve confused you with a few parapgraphs of waffle, adding a new PortGroup is actually pretty simple. In fact it could be a one liner once you are connected to vCenter. Something like this:</p>
<pre class="brush: powershell;">Get-Cluster -Name $cluster | Get-VMHost | foreach { New-VirtualPortGroup -VirtualSwitch ( Get-VirtualSwitch -Name $vswitch -VMHost $_ ) -Name $PG -VLanId $vlan }</pre>
<p>Of course you&#8217;d need to insert your own values for $cluster, $vswitch, $PG and $vlan as follows:</p>
<p style="padding-left: 30px;">$cluster = The name of the cluster in vCenter that your hosts are in</p>
<p style="padding-left: 30px;">$vswitch = The name of the vSwitch that you want to add the PortGroup to</p>
<p style="padding-left: 30px;">$PG = The name of the PortGroup that you want to add</p>
<p style="padding-left: 30px;">$vlan = The VLAN ID that the PortGroup should use (0 can be used to indictae no VLAN ID)</p>
<p>It should guarantee that if you make any spelling mistakes / typos that they are at least consistent across your infrastructure <img src='http://www.wekabyte.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  You could tack -whatif onto the end of the New-VirtualPortGroup command to test it before making any changes. As always, be careful when you make scripted changes. If possible test them in a development environment first.</p>
<p>To take this further, you could convert the whole thing into a script that takes input from the command prompt or as parameters.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/adding-new-portgroups/">PowerCLI: Adding New PortGroups</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/w9IcPox98_hLzuvK998wCgzgVLk/0/da"><img src="http://feedads.g.doubleclick.net/~a/w9IcPox98_hLzuvK998wCgzgVLk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/w9IcPox98_hLzuvK998wCgzgVLk/1/da"><img src="http://feedads.g.doubleclick.net/~a/w9IcPox98_hLzuvK998wCgzgVLk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/tN9hNopeJnQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/01/adding-new-portgroups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Review: vSphere 4.0 Quick Start Guide</title>
		<link>http://www.wekabyte.co.uk/2010/01/review-vsphere-4-0-quick-start-guide/</link>
		<comments>http://www.wekabyte.co.uk/2010/01/review-vsphere-4-0-quick-start-guide/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 09:31:48 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=363</guid>
		<description><![CDATA[I was planning to do this over the Christmas break but I hardly turned my computers on. I did pop a quick review on Amazon but I wanted to expand on it a bit.

I first heard about the book in the run up to VMworld 2009 back in September. I would very much have like <a href="http://www.wekabyte.co.uk/2010/01/review-vsphere-4-0-quick-start-guide/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/review-vsphere-4-0-quick-start-guide/">Review: vSphere 4.0 Quick Start Guide</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>I was planning to do this over the Christmas break but I hardly turned my computers on. I did pop a quick review on Amazon but I wanted to expand on it a bit.</p>
<p><img class="alignnone" title="vSphere 4.0 Quick Start Guide" src="http://ecx.images-amazon.com/images/I/51gknUnRGGL._SL500_AA240_.jpg" alt="" width="240" height="240" /></p>
<p>I first heard about the book in the run up to VMworld 2009 back in September. I would very much have like to go but could not. I gather that some preview copies of the book were given away there. Luckily I know and live quite close to one of the authors and managed to get my hands on a copy. I can&#8217;t recall what my expectations were but the book that I started reading that night was easier to read and more compelling than anything that I&#8217;d picked up for a while.</p>
<p>The structure of the book is fairly loose &#8211; there are no chapters. It is broken down into different sections covering vCenter, Networking, Storage etc and in turn each of those is broken down into sub topics. These take the form of FAQ type questions that are then answered or are descriptive sections of text. Throughout the book are helpful scripts or commands that can be used, the majority being written in PowerShell.</p>
<p>The quality of the content is very high and should appeal to seasoned vExperts and relative beginners alike. While reading it I certainly found areas where my knowledge was rusty or non-existent and many other areas where the book will serve as a handy reference when I can&#8217;t remember something. And given the size of the book (~240 pages and pocket sized) it&#8217;s very easy to carry around.</p>
<p>There is talk of further titles coming from the same authors and if this volume is indicative of the quality that we can expect then I am looking forward to seeing more. I also hope that it inspires other people to consider sharing their knowledge like this.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2010/01/review-vsphere-4-0-quick-start-guide/">Review: vSphere 4.0 Quick Start Guide</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/87Su0b3WmgI_4H7ucLZXm_Y_Qbg/0/da"><img src="http://feedads.g.doubleclick.net/~a/87Su0b3WmgI_4H7ucLZXm_Y_Qbg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/87Su0b3WmgI_4H7ucLZXm_Y_Qbg/1/da"><img src="http://feedads.g.doubleclick.net/~a/87Su0b3WmgI_4H7ucLZXm_Y_Qbg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/Vl8I8OPX84s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2010/01/review-vsphere-4-0-quick-start-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMTools Version Mismatch</title>
		<link>http://www.wekabyte.co.uk/2009/12/vmtools-version-mismatch/</link>
		<comments>http://www.wekabyte.co.uk/2009/12/vmtools-version-mismatch/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 08:48:01 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[vmtools]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=325</guid>
		<description><![CDATA[Before I get started, I just want to say that I don&#8217;t know for sure if this is an issue that is causing problems for some VMs that I have been looking at or not. I&#8217;d welcome any feedback, comment or help anyone has to offer on the topic. I thought that I&#8217;d share this <a href="http://www.wekabyte.co.uk/2009/12/vmtools-version-mismatch/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2009/12/vmtools-version-mismatch/">VMTools Version Mismatch</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>Before I get started, I just want to say that I don&#8217;t know for sure if this is an issue that is causing problems for some VMs that I have been looking at or not. I&#8217;d welcome any feedback, comment or help anyone has to offer on the topic. I thought that I&#8217;d share this just in case it helps anyone at any point.</p>
<p>The environment that I&#8217;ve been working in is a shared web hosting platform built on ESX 3.5 and vCenter 2.5. Recently the focus of effort has been on data centre migrations, service migrations and office moves. Business as usual (BAU) activities have taken a back seat because of resource constraints. That includes upgrading the virtual infrastructure to the latest version. Currently vCenter is at Update 4 (build 147633) and needs to be brought up to date following the release of Update 5 a few weeks ago. The ESX hosts are slightly further downlevel however. Two thirds of them are on Update 3 (build 123630) with a couple of extra patches applied to bring them up to build 143128. The other third is on Update 2 (build 110268).</p>
<p>Windows Server 2008 R2 has recently started to be used for some of the VMs and this is not officially supported until Update 5. Some of these VMs have had minor issues, things like random slowness and occasional failures to remove snapshots following their scheduled backups. While looking into these issues I discovered quite a variety of VMTools versions being used.</p>
<p>Ideally all ESX hosts in a cluster should be on the same update level. The version of VMTools that a VM uses should ideally match the lowest build version of ESX that is being used in a cluster as the VM could potentially run on any host in the cluster. On one VM vCenter said that the VMTools version was &#8220;OK&#8221; but I wanted to run a manual &#8220;Install / Upgrade&#8221; on the VMTools anyway just to run a repair and make sure that the drivers were installed correctly. When I tried to do this, the installer popped back an error stating that a newer version was already installed.</p>
<p>That got me thinking, which versions are installed on all the VMs? Now I could have used the excellent RVTools or something like that or I could craft my own brief PowerCLI script. I couldn&#8217;t resist the latter&#8230;</p>
<pre class="brush: powershell;">$vmhosts = get-vmhost | sort Name

$myCol = @()
foreach ($vmhost in $vmhosts)
{
   $vmhostdetail = $vmhost | get-view
   $versionmajor = $vmhostdetail.config.product.version
   $versionbuild = $vmhostdetail.config.product.build
   $vms = $vmhost | get-vm | sort Name
   foreach ($vm in $vms)
   {
      $myObj = &quot;&quot; | Select Host,Version,Build,Guest,ToolsVersion
      $vmdetail = $vm | get-view
      $vmtoolsversion = $vmdetail.config.tools.toolsversion
      $myObj.Host = $vmhost.Name
      $myObj.Version = $versionmajor
      $myObj.Build = $versionbuild
      $myObj.Guest = $vm.Name
      $myObj.ToolsVersion = $vmtoolsversion
      $myCol += $myObj
   }
}

$myCol | Export-Csv -NoTypeInformation &quot;C:\VMToolsVersions.csv&quot;
ii &quot;C:\VMToolsVersions.csv&quot;</pre>
<p>Running this script produces a CSV file with a line for each VM show the host, host version and build number, guest name and VMtools version for each VM. I&#8217;ve simplified the output that I got to remove the host names and guest names and also I&#8217;ve removed duplicate combinations of version numbers. That just leaves the following:</p>
<p><a href="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-18_08-22-28.png"><img class="alignnone size-medium wp-image-330" title="screenshot_2009-12-18_08-22-28" src="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-18_08-22-28-187x300.png" alt="screenshot_2009-12-18_08-22-28" width="187" height="300" /></a></p>
<p>This shows the different combinations of ESX hosts versions and VMTools versions being used. What&#8217;s very interesting are the VMs running VMTools version 164009. That is the build number for vSphere 4.0.0!</p>
<p>I know how this has come about. Rather than using templates, the preference here is to use a Windows ISO file that has been customised to be a practically unattended install that also includes a number of automatically installed applications. One of these is the VMTools installation. As there is a vSphere infrastructure here also the ISO has been modified to include the latest tools version so that one ISO fits all. But does it? The VMs are running butis the version of VMTools causing problems? That&#8217;s the bit that I don&#8217;t know the answer to yet. If anyone does know, please feel free to comment.</p>
<p>For now the way forward is going to be creating multiple ISO files or removing the VMTools installation from the ISO altogether. That way new builds will get their VMTools installed from the ESX server that they&#8217;re running on. An upgrade to Update 5 is also called for and with next week looking to be a bit quieter I think that it&#8217;ll be planned then to be executed early in the new year.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2009/12/vmtools-version-mismatch/">VMTools Version Mismatch</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/6sA0KpaHbDBzGp4qSPZlOPlat6E/0/da"><img src="http://feedads.g.doubleclick.net/~a/6sA0KpaHbDBzGp4qSPZlOPlat6E/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/6sA0KpaHbDBzGp4qSPZlOPlat6E/1/da"><img src="http://feedads.g.doubleclick.net/~a/6sA0KpaHbDBzGp4qSPZlOPlat6E/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/g3PrYo8P4WE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2009/12/vmtools-version-mismatch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL VM CPU Spikes</title>
		<link>http://www.wekabyte.co.uk/2009/12/sql-vm-cpu-spikes/</link>
		<comments>http://www.wekabyte.co.uk/2009/12/sql-vm-cpu-spikes/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 11:09:09 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=313</guid>
		<description><![CDATA[Some people still aren&#8217;t convinced by virtualisation and while it&#8217;s true that there are some situations that it&#8217;s not especially suited for they are relatively few in my experience. I know a few people who are yet to be convinced completely. One&#8217;s a SQL DBA and there are times when she has a point. I <a href="http://www.wekabyte.co.uk/2009/12/sql-vm-cpu-spikes/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2009/12/sql-vm-cpu-spikes/">SQL VM CPU Spikes</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>Some people still aren&#8217;t convinced by virtualisation and while it&#8217;s true that there are some situations that it&#8217;s not especially suited for they are relatively few in my experience. I know a few people who are yet to be convinced completely. One&#8217;s a SQL DBA and there are times when she has a point. I thought that this might be one of them until I started poking around.</p>
<p><a href="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_18-25-21.png"><img class="alignright size-full wp-image-316" title="screenshot_2009-12-04_18-25-21" src="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_18-25-21.png" alt="screenshot_2009-12-04_18-25-21" width="145" height="328" /></a>Initially I was asked about what was causing a SQL VM to respond slowly and use 100% CPU. I had a look in vCenter and while it looked slightly busy it didn&#8217;t seem over worked. As the graph to the right shows, it was using only about half of the available 3Ghz CPU it had access to. Perhaps I should explain further at this point that my client&#8217;s practice when it comes to VMs is to provision them with a single vCPU and add more if they are required. It seems that if this was normal load for the VM that 1 vCPU should be enough.</p>
<p>Looking back through the VM&#8217;s performance history I could see nothing particularly wrong either. Occasional CPU spikes in the past possibly indicating reboots or overnight processing. Oddly though there were random plateaus of activity for several hours at a time. Mostly overnight the VM would idle along using practically no CPU resource but during the day there were long periods where it looked a lot like the activity above. Time to look at the guest OS.</p>
<p>The picture inside Windows is slightly different. Opening up task manager shows frequent bursts of 100% CPU usage (see below). Actually you could call them regular. And, more worringly, it transpires that the server is not yet in production &#8211; it&#8217;s still being configured.</p>
<p><a href="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_18-18-30.png"><img class="alignnone size-medium wp-image-319" title="screenshot_2009-12-04_18-18-30" src="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_18-18-30-270x300.png" alt="screenshot_2009-12-04_18-18-30" width="270" height="300" /></a></p>
<p>The offending process is services.exe so it&#8217;s not immediately obvious what the issue is. Purely by coincidence I asked the DBA if she could log off for a while so that I could look into what was going on. When she did, the strangest thing happenned:</p>
<p><a href="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_18-27-18.png"><img class="alignnone size-medium wp-image-320" title="screenshot_2009-12-04_18-27-18" src="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_18-27-18-270x300.png" alt="screenshot_2009-12-04_18-27-18" width="270" height="300" /></a></p>
<p>See how the CPU usage dropped back down to idle and stayed there. That begged the question &#8220;What were you running?&#8221;.</p>
<p>It turns out that the culprit was none other than SQL Management Studio. When opened and connected it polls the server&#8217;s status every 10 seconds. Strangely though, instead of polling just the SQL services it polls all services on the server (this can be seen using <a href="http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx" target="_blank">Process Monitor</a>) which seems a bit excessive to me. Due to the way that hypervisors share resources, what would be a small blip on a physical host is magnified within the VM somewhat. Microsoft have acknowledged that this happens but to my knowledge haven&#8217;t done much about it. There is a registry key that can be modified to adjust Management Studio&#8217;s behaviour. For SQL 2005 SP1 onwards (it&#8217;s not available before that) it is:</p>
<p>HKLM\Software\Microsoft\Microsoft SQL Server\90\Tools\Shell\PollingInterval</p>
<p>Setting it to 600 will reduce the frequency of polls to once a minute. Alternatively, just don&#8217;t leave SQL Management Studio open longer than you have to and wait for Microsoft to fix it.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2009/12/sql-vm-cpu-spikes/">SQL VM CPU Spikes</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/FgEizYt5SXeeuMAcM3pm78yfFxQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/FgEizYt5SXeeuMAcM3pm78yfFxQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/FgEizYt5SXeeuMAcM3pm78yfFxQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/FgEizYt5SXeeuMAcM3pm78yfFxQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/alDakcP36h0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2009/12/sql-vm-cpu-spikes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Core Configurator</title>
		<link>http://www.wekabyte.co.uk/2009/12/core-configurator/</link>
		<comments>http://www.wekabyte.co.uk/2009/12/core-configurator/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 08:59:45 +0000</pubDate>
		<dc:creator>mp</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[server 2008]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://www.wekabyte.co.uk/?p=304</guid>
		<description><![CDATA[An acquaintance of mine (cheers Ray) found this after I asked him a few Server Core questions yesterday. The Core Configurator 2.0 is a graphical frontend to a collection of PowerShell scripts that will allow you to configure your Windows Server 2008 R2 Core VM very easily.
After downloading it locally, use the vSphere client to <a href="http://www.wekabyte.co.uk/2009/12/core-configurator/" class="more-link">More &#62;</a><p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2009/12/core-configurator/">Core Configurator</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>
]]></description>
			<content:encoded><![CDATA[<p>An acquaintance of mine (cheers Ray) found this after I asked him a few Server Core questions yesterday. The <a href="http://www.codeplex.com/CoreConfig" target="_blank">Core Configurator</a> 2.0 is a graphical frontend to a collection of PowerShell scripts that will allow you to configure your Windows Server 2008 R2 Core VM very easily.</p>
<p>After downloading it locally, use the vSphere client to mount the ISO file on your VM. From within the command prompt on the guest OS, change drive to your CD / DVD drive (D: in my screenshot below) and just run the&#8221;Start_Coreconfig.wsf&#8221; file.</p>
<p><a href="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_08-34-55.png"><img class="alignnone size-full wp-image-305" title="screenshot_2009-12-04_08-34-55" src="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_08-34-55.png" alt="screenshot_2009-12-04_08-34-55" width="600" height="413" /></a></p>
<p>This opens a GUI with a few options for configuring Server Core.</p>
<p><a href="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_08-42-37.png"><img class="alignnone size-full wp-image-306" title="screenshot_2009-12-04_08-42-37" src="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_08-42-37.png" alt="screenshot_2009-12-04_08-42-37" width="600" height="467" /></a></p>
<p>I&#8217;m not going to go into too much detail about what can be done, try it yourself. But just as an example, compare the following window with the <a href="http://www.wekabyte.co.uk/2009/12/configure-2008-server-core-networking/" target="_self">steps to configure networking using the command line</a>.</p>
<p><a href="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_08-43-37.png"><img class="alignnone size-full wp-image-307" title="screenshot_2009-12-04_08-43-37" src="http://www.wekabyte.co.uk/wp-content/uploads/2009/12/screenshot_2009-12-04_08-43-37.png" alt="screenshot_2009-12-04_08-43-37" width="570" height="485" /></a></p>
<p>Fantastic tool. I&#8217;ll be adding it to my toolkit for sure.</p>
<p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">
"<a href="http://www.wekabyte.co.uk/2009/12/core-configurator/">Core Configurator</a>" originally appeared on <a href="http://www.wekabyte.co.uk">wekabyte</a>.<br>
Add wekabyte to your <a href="http://www.wekabyte.co.uk/feed/">RSS Reader</a>.</div></p></p>

<p><a href="http://feedads.g.doubleclick.net/~a/2Q5pg5EjHBXTIftZsIbr18P5_ME/0/da"><img src="http://feedads.g.doubleclick.net/~a/2Q5pg5EjHBXTIftZsIbr18P5_ME/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2Q5pg5EjHBXTIftZsIbr18P5_ME/1/da"><img src="http://feedads.g.doubleclick.net/~a/2Q5pg5EjHBXTIftZsIbr18P5_ME/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Wekabyte/~4/8AgEaa9CgHU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wekabyte.co.uk/2009/12/core-configurator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
