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

<channel>
	<title>MCB Systems &#187; virtualization</title>
	<atom:link href="http://www.mcbsys.com/techblog/tag/virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mcbsys.com/techblog</link>
	<description>Custom Software and I.T. Services</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:58:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Thin Client vs. Desktop in the Small Business</title>
		<link>http://www.mcbsys.com/techblog/2009/12/thin-client-vs-desktop-in-the-small-business/</link>
		<comments>http://www.mcbsys.com/techblog/2009/12/thin-client-vs-desktop-in-the-small-business/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 13:33:17 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[rdp]]></category>
		<category><![CDATA[rds]]></category>
		<category><![CDATA[terminal services]]></category>
		<category><![CDATA[thin client]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">/mark/post/Thin-Client-vs-Desktop-in-the-Small-Business.aspx</guid>
		<description><![CDATA[A non-profit customer has an underutilized server and a desktop due and budgeted for replacement. Would it make sense to replace the desktop with a thin client, and run the needed programs in a virtual instance on the server?
I blogged earlier about Microsoft Desktop Virtualization Licensing for the SMB. Mostly for licensing reasons, it doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>A non-profit customer has an underutilized server and a desktop due and budgeted for replacement. Would it make sense to replace the desktop with a thin client, and run the needed programs in a virtual instance on the server?</p>
<p>I blogged earlier about <a href="http://blogs.mcbsys.com/mark/post/Microsoft-Desktop-Virtualization-Licensing-for-the-SMB.aspx">Microsoft Desktop Virtualization Licensing for the SMB</a>. Mostly for licensing reasons, it doesn&#8217;t make sense to do full virtual desktops. So that leaves the option of running a terminal server to host the customer&#8217;s apps.</p>
<p><span id="more-24"></span></p>
<p>This is actually an attractive option for this customer. Several users, some of whom are volunteers, log in to desktops from home. Since desktop login is limited to one person at a time, they have to work when no one is at the physical desktop and no one else is logged in remotely. Giving them access to a terminal server instead would eliminate those conflicts. But that is a &#8220;nice to have,&#8221; not something that would drive this project.</p>
<h1>Comparing the Projects</h1>
<p>Let&#8217;s look first at what would be required to replace this desktop. I making several assumptions here:&#160; desktops are fairly powerful Optiplex 960s from Dell Outlet; customer has Microsoft Open licenses with Software Assurance on existing server and desktops; and the customer qualifies for Microsoft non-profit pricing. What&#8217;s involved in replacing one desktop? What if it were three desktops?</p>
<table cellspacing="0" cellpadding="2" width="700" border="1">
<tbody>
<tr>
<td valign="top" width="100">&#160;</td>
<td valign="top" width="300"><strong>Replace Desktop with Desktop</strong></td>
<td valign="top" width="300"><strong>Replace Desktop with Thin Client</strong></td>
</tr>
<tr>
<td valign="top" width="100"><strong>Tasks</strong></td>
<td valign="top" width="300">- Buy desktop ($670)<br />
- Clean install of OS (move existing Software Assurance to new desktop)<br />
- Join to domain<br />
- Install apps</td>
<td valign="top" width="300">- Virtualize existing server under Hyper-V Server 2008 R2 (free)<br />
- Buy 2nd Windows Server Standard Open license with Software Assurance ($172 non-profit price)<br />
- Buy 7 RDS CALs ($224 non-profit price)<br />
- Install Windows Server 2008 R2 Standard server as a 2nd virtual machine and join to domain. Activate Remote Desktop Services role. Install all apps requiring remote access.<br />
- Buy either an entry-level or high-end thin client ($199 or $479)<br />
- Set up thin client on network.</td>
</tr>
<tr>
<td valign="top" width="100"><strong>Materials Cost replacing 1 desktop</strong></td>
<td valign="top" width="300">$670</td>
<td valign="top" width="300">$595 with $199 thin client<br />
$875 with $479 thin client</td>
</tr>
<tr>
<td valign="top" width="100"><strong>Materials Cost replacing 3 desktops</strong></td>
<td valign="top" width="300">$2010</td>
<td valign="top" width="300">$993 with $199 thin clients<br />
$1833 with $479 thin clients</td>
</tr>
</tbody>
</table>
<p>Obviously the costs in the right column would be substantially higher if the customer did not qualify for non-profit pricing. But it was the fact that they <em>do</em> qualify that made me think we might justify this project when just replacing one desktop at first.</p>
<h1>Audio, Video, RDP, and Choosing a Thin Client</h1>
<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="102" alt="t5325" src="http://www.mcbsys.com/techblog/wp-content/uploads/WindowsLiveWriter/ThinClientvs.DesktopintheSMB_9A3C/t5325_6.jpg" width="170" align="right" border="0">Hewlett-Packard has a new thin client, the <a href="http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/12454-12454-321959-338927-3640405-4063703.html" target="_blank">t5325</a>, currently available at an introductory price of $199. Sporting a 1.2GHz processor, 512MB of SDRAM, and DVI-I with a VGA converter, it&#8217;s a pretty nice little unit. And at that price, we might justify the thin client route when replacing only one desktop. So I bought a t5325 to see what I could get for $199.</p>
<h3>Quite a lot, actually</h3>
<p>There are definitely some quirks in the t5325 (probably due in part to it being a brand new product) but overall the setup is quite flexible and easy, and running standard Windows apps over RDP works amazingly well.</p>
<p>However, if a thin client is to replace a desktop, at least in this environment, it needs to be able to handle basic audio and video as one might encounter when browsing the web or playing an AVI or WMV video clip. This, unfortunately, is where the t5325 falls short.</p>
<h2>Multimedia Redirection Matters</h2>
<p>After playing with the t5325, and after reading <a href="http://blogs.msdn.com/rds/archive/2009/07/24/multimedia-redirection-improvements-in-windows-7-and-ws2008-r2-part-1.aspx" target="_blank">this excellent post</a> on the Remote Desktop Team Blog, I finally &#8220;got it&#8221;:&#160; you might as well forget about audio and video via RDP if you&#8217;re not redirecting multimedia to the client. </p>
<p>What is multimedia redirection? It&#8217;s passing the media stream directly to the client in its compressed form, allowing the client to format and play it. Without multimedia redirection, content must be rendered on the server and then passed as bitmaps to the client. Depending on the the power of the client and server, that may work more or less well, but it chews up CPU power on the server.</p>
<p>To test this, I tried playing back an AVI video while connected via Remote Desktop from three different clients:&#160; the HP t5325 running RDP 5.2, a Windows XP SP3 machine still running RDP 6.1, and Windows 7 running RDP 7. Here are my testing notes:</p>
<p><strong>HP t5325 and RDP 5.2:</strong>&#160; Video jerky; sound awful (unintelligible, scratchy).&#160; At one point I had somehow disabled sound and the video was okay. Server CPU 43% &#8211; 54% during playback. (I should note that I also tested connecting the t5325 via RDP to a Windows XP desktop and playing back a YouTube video. In that test, audio and video were acceptable, so the t5325 may be having issues with the way Windows Servers 2008 R2 serves audio and video.)</p>
<p><strong>Windows XP SP3 and RDP 6.1:</strong>&#160; At first, audio and video were decent but badly out of sync with each other. I set up Medium quality audio redirection as described in <a href="http://blogs.msdn.com/rds/archive/2009/05/11/what-s-new-in-remote-audio-for-windows-7.aspx" target="_blank">this blog post</a>. After that, audio and video are okay; sync is much better but still not 100%. Server CPU utilization is 75% &#8211; 100% during playback.</p>
<p><strong>Window 7 and RDP 7:</strong>&#160; Audio and video are smooth and in sync. Server CPU utilization during playback is 4% &#8211; 12% because audio and video are being streamed, not rendered on server.</p>
<p>The difference with Windows 7/RDP 7 was so dramatic that I was &#8220;sold&#8221; on multimedia redirection.</p>
<h2>Multimedia Redirection in a Thin Client</h2>
<p>HP, Wyse, and no doubt other thin client vendors offer various kinds of add-on software to enhance audio-video playback. I did not research that in depth, but I did note that HP&#8217;s offering, <a href="http://h20331.www2.hp.com/hpsub/cache/286504-0-0-225-121.html?jumpid=reg_R1002_USEN" target="_blank">Remote Graphics Software</a>, is only available on thin clients running XP Embedded (XPe) or its replacement, Windows Embedded Standard (WES). (Click <a href="http://h30094.www3.hp.com/searchresults.asp?store_id=11&#038;search_id=70&#038;dept_id=750&#038;search=showcase&#038;pagemode=ca&#038;resetSearch=1&#038;resetSearch=1" target="_blank">Buy Online</a> to see pricing from $50 to a site license at $154,000!)</p>
<p>For completing my simple chart above, I decided to look for a thin client that supports RDP 7, with the assumption that I would get the desired multimedia redirection. No doubt RDP 7 will become a common feature of WES-based thin clients, but it looks like 10ZiG is one of the first to offer it. Their <a href="http://www.10zig.com/blog/rdp7-on-windows-embedded-standard-thin-clients/" target="_blank">blog article</a> describes some of the benefits. Reviewing their <a href="http://www.10zig.com/thinclient/vdithinclients.php" target="_blank">list of thin clients aimed at virtual desktops</a>, the RBT-416v is the lowest-numbered model to support RDP 7. System ID Warehouse offers that model for <a href="http://www.systemid.com/terminals/thin_clients/bos_bosanova_/bos_rbt_416_citrix_image_terminal_xpe_rdp_ica_--318680.asp" target="_blank">$479</a>, so that&#8217;s the figure I used in my comparison above. HP&#8217;s thin clients running WES (though not yet listing RDP 7) are comparable in price ($429 &#8211; $550).</p>
<h1>Conclusion</h1>
<p>Entry-level thin clients like the HP t5325 offer an attractive price point and may be ideal for some applications (kiosks or data entry terminals, for example). But to get the &#8220;desktop experience&#8221; when playing audio and video, yet without overly taxing the server, you&#8217;ll need a higher-end thin client that supports multimedia redirection.</p>
<p>The cost of higher-end thin clients is on par with basic desktops. In a very small environment, that makes it difficult to justify the time and cost involved in setting up a terminal services infrastructure to handle the RDP sessions. However as the number of desktops to be replaced increases, the economies of scale (not to mention power savings, management simplicity, and longevity) make thin clients look increasingly attractive as desktop replacements.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2009/12/thin-client-vs-desktop-in-the-small-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Dell OpenManage on Hyper-V Server 2008 R2</title>
		<link>http://www.mcbsys.com/techblog/2009/11/setting-up-dell-openmanage-on-hyper-v-server-2008-r2/</link>
		<comments>http://www.mcbsys.com/techblog/2009/11/setting-up-dell-openmanage-on-hyper-v-server-2008-r2/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 16:53:00 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[hyper-v server]]></category>
		<category><![CDATA[openmanage]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">/mark/post/Setting-Up-Dell-OpenManage-on-Hyper-V-Server-2008-R2.aspx</guid>
		<description><![CDATA[One of my misconceptions about the Microsoft virtualization options was that if I wanted to have access to server management tools, I would need to run &#8220;regular&#8221; (paid) Window Server 2008 so I could install those tools, then enable the Hyper-V role for the virtual clients. It turns out that that is not the case.

My [...]]]></description>
			<content:encoded><![CDATA[<p>One of my misconceptions about the Microsoft virtualization options was that if I wanted to have access to server management tools, I would need to run &#8220;regular&#8221; (paid) Window Server 2008 so I could install those tools, then enable the Hyper-V role for the virtual clients. It turns out that that is not the case.</p>
<p><span id="more-26"></span></p>
<p>My test machine is a Dell PowerEdge 2900. I was able to install and access OpenManage on Hyper-V Server 2008 R2 as follows:</p>
<p>1. Download the latest <em>Dell Systems Management Tools and Documentation</em> DVD. I found version 6.1.0 A00 <a href="http://support.dell.com/support/downloads/format.aspx?c=us&amp;cs=04&amp;l=en&amp;s=bsd&amp;deviceid=17861&amp;libid=36&amp;releaseid=R226574&amp;vercnt=3&amp;formatcnt=0&amp;SystemID=PWE_2900&amp;servicetag=J1JJYD1&amp;os=WNET&amp;osl=en&amp;catid=-1&amp;dateid=-1&amp;typeid=-1&amp;formatid=-1&amp;impid=-1" target="_blank">here</a>. Note that this is actually two downloads that must be concatenated before burning the DVD&#8211;see the Installation Instructions on the download page.</p>
<p>2. Follow Dell&#8217;s <a href="http://support.dell.com/support/edocs/software/smsom/6.1/en/ug/HTML/serverco.htm" target="_blank">article</a>, &#8220;Installing Dell OpenManage Software On Microsoft Windows Server 2008 Core and Microsoft Hyper-V Server.&#8221; Only install the Managed System Software, not the Management Station Software.</p>
<p>First run the prerequisite checker by running these commands at the command prompt (assuming the DVD is in drive E):</p>
<p style="padding-left: 30px;"><code>E:<br />
</code><code>cd \SYSMGMT\<span style="color: #0000ff;">srvadmin</span>\windows\prereqchecker</code><br />
<code>runprereqchecks.exe /s</code></p>
<p><span style="color: #0000ff;">Update 10/12/2010:</span>&nbsp; Path corrected&#8211;thanks to comment from Ian N.</p>
<p>The instructions for the prerequisite checker tell you to take certain actions depending on the return code. Use this command to view the return code:</p>
<p style="padding-left: 30px;"><code>echo Return Code = %ERRORLEVEL%</code></p>
<p>My Return Code was -2, which, according to <a href="http://support.dell.com/support/edocs/software/smsom/6.1/en/ug/HTML/prereqch.htm#wp1053477" target="_blank">this article</a>, means &#8220;The operating system is not supported. The Prerequisite Checker will not run.&#8221; My hunch is that this is because the software has not been updated to recognize the R2 version of Server 2008. I went ahead and ran the installer anyway:</p>
<p style="padding-left: 30px;"><code>cd \SYSMGMT\srvadmin\windows\SystemsManagement</code><br />
<code>msiexec /i SysMgmt.msi</code></p>
<p>After agreeing to continue without having run the prerequisite checker, the installation completed successfully.</p>
<p>3. Open the firewall for the OpenManage web interface default port 1311:</p>
<p style="padding-left: 30px;"><code>netsh advfirewall firewall add rule name="Dell OpenManage Server Administrator Web GUI" dir=in action=allow protocol=TCP localport=1311</code></p>
<p style="padding-left: 30px;"><strong>Note</strong> <a href="http://support.microsoft.com/kb/947709" target="_blank">Knowledgebase article 947709</a> is helpful on the netsh commands. However, do <em>not</em> just cut and paste its examples:&nbsp; as of this writing, the quotation marks are all formatted as closing quotation marks (”), so the commands will fail. Replace those quotation marks with standard &#8220;vertical&#8221; quotation marks (&#8220;).</p>
<p>4. From another computer, open a browser and type in the following URL (be sure to get the &#8220;s&#8221; on the https):</p>
<p style="padding-left: 30px;"><code>https://</code><em>[computer</em><em> name or IP address]</em><code>:1311</code></p>
<p>After adding the required security exception in your browser (due to the self-signed web server certificate), you should now see the familiar Server Administrator web interface:</p>
<p><img style="border: 0px none;" src="http://www.mcbsys.com/techblog/wp-content/uploads/WindowsLiveWriter/SettingUpDellOpenManageonHyperVServer200_D16F/Dell%20OpenManage%20Web%20Interface_6.png" border="0" alt="Dell OpenManage Web Interface" width="644" height="446" align="left" /></p>
<p>There are other advantages to using the full version of Windows Server 2008 R2 as the host OS, but Dell OpenManage is available even from the free Hyper-V Server 2008 R2.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2009/11/setting-up-dell-openmanage-on-hyper-v-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Setting Up Windows Server Backup on Hyper-V Server 2008 R2</title>
		<link>http://www.mcbsys.com/techblog/2009/11/setting-up-windows-server-backup-on-hyper-v-server-2008-r2/</link>
		<comments>http://www.mcbsys.com/techblog/2009/11/setting-up-windows-server-backup-on-hyper-v-server-2008-r2/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 14:18:00 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[hyper-v server]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">/mark/post/Setting-Up-Windows-Server-Backup-on-Hyper-V-Server-2008-R2.aspx</guid>
		<description><![CDATA[Part of my testing of Microsoft Hyper-V Server 2008 R2 will be the built-in backup solution. But although Windows Server Backup it is a built-in feature, it is not enabled by default. Here&#8217;s how to activate it and to register the VSS writer so it will tell your virtual machines to do a snapshot for [...]]]></description>
			<content:encoded><![CDATA[<p>Part of my testing of <a href="http://www.microsoft.com/hyper-v-server/en/us/default.aspx">Microsoft Hyper-V Server 2008 R2</a> will be the built-in backup solution. But although <a href="http://technet.microsoft.com/en-us/library/cc754097(WS.10).aspx" target="_blank">Windows Server Backup</a> it is a built-in feature, it is not enabled by default. Here&#8217;s how to activate it and to register the VSS writer so it will tell your virtual machines to do a snapshot for the backup.</p>
<p><span id="more-27"></span></p>
<p>You also can&#8217;t add features remotely using Server Manager, so type these commands at the Hyper-V Server command prompt:</p>
<p>1. Start PowerShell:</p>
<p style="padding-left: 30px;"><code>powershell</code></p>
<p>2. Import the server manager module so you have access to those PowerShell commands:</p>
<p style="padding-left: 30px;"><code>import-module ServerManager</code></p>
<p>3. (Optional) Check available and installed features:</p>
<p style="padding-left: 30px;"><code>Get-WindowsFeature</code></p>
<p>4. (Optional) Get help on a PowerShell cmdlet:</p>
<p style="padding-left: 30px;"><code>Get-Help <em>[cmdlet_name]</em> -full</code><br />
For example:&nbsp; <code>Get-Help Add-WindowsFeature -full</code></p>
<p>5. Install Windows Server Backup Features:</p>
<p style="padding-left: 30px;"><code>Add-WindowsFeature -Name Backup-Features -IncludeAllSubfeature</code></p>
<p>6. Quit PowerShell:</p>
<p style="padding-left: 30px;"><code>exit</code></p>
<p>7. Register the VSS writer for use with Windows Server Backup (see this <a href="http://technet.microsoft.com/en-us/magazine/2008.10.disasterr.aspx?pr=blog#id0060049)" target="_blank">TechNet article</a> and MSKB <a href="http://support.microsoft.com/kb/958662" target="_blank">958662</a>):</p>
<p style="padding-left: 30px;"><code>reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup\Application Support\{66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}"</code></p>
<p style="padding-left: 30px;"><code>reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup\Application Support\{66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}" /v "Application Identifier" /t REG_SZ /d Hyper-V</code></p>
<p>8. Check the registration of VSS writer for use with Windows Server Backup:</p>
<p style="padding-left: 30px;"><code>reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup\Application Support\{66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}" /s</code></p>
<p style="padding-left: 30px;"><strong>Note</strong> You can also type <code>regedit</code> at the server&#8217;s command prompt to launch the familiar graphical registry editor and check the setting.</p>
<h1>Using Windows Server Backup</h1>
<p>Once installed, it seems you are left with the <strong>Wbadmin</strong> command line tool for running backups and restores unless you have a full installation of Windows Server 2008 with the Windows Server Backup MMC plug-in. That plug-in is not available in the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7D2F6AD7-656B-4313-A005-4E344E43997D&amp;displaylang=en" target="_blank">Remote Administration Tools</a> available for Windows 7.</p>
<p>According to this <a href="http://technet.microsoft.com/en-us/library/ee344835(WS.10).aspx">TechNet article</a>, Wbadmin has been extended for Windows Server 2008 R2 (there are some cool new backup features in R2), however as of this writing, the <a href="http://go.microsoft.com/fwlink/?LinkID=101794">Wbadmin command reference</a> has not been updated. The built-in help <em>has</em> been updated, so for details you can, for example, type the following at the server command line:</p>
<p style="padding-left: 30px;"><code>Wbadmin -help<br />
Wbadmin Enable Backup -help</code></p>
<p>Here&#8217;s the command to do a one-time backup of the system drive C: and the data drive D: to an external drive F:</p>
<p style="padding-left: 30px;"><code>Wbadmin start backup -backupTarget:F: -include:C:,D: -systemState -allCritical</code></p>
<p>The <code>-systemState</code> flag is actually redundant since backing up the system drive C: includes the system state. The <code>-allcritical</code> flag means &#8220;back up everything needed to restore the operating system to bare metal,&#8221; which in this case adds the 100MB System Reserved volume used by Bitlocker<span style="font-family: Courier New;">.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2009/11/setting-up-windows-server-backup-on-hyper-v-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Managing Hyper-V Server 2008 R2 from Windows 7</title>
		<link>http://www.mcbsys.com/techblog/2009/11/managing-hyper-v-server-2008-r2-from-windows-7/</link>
		<comments>http://www.mcbsys.com/techblog/2009/11/managing-hyper-v-server-2008-r2-from-windows-7/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 13:54:00 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[hyper-v server]]></category>
		<category><![CDATA[remote management]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">/mark/post/Managing-Hyper-V-Server-2008-R2-from-Windows-7.aspx</guid>
		<description><![CDATA[
I&#39;m testing Microsoft Hyper-V Server 2008 R2 as a virtualization platform. This is the free version that only includes the Hyper-V role and a command-line interface.


Here are a few notes I made on setting things up so I can manage the server from Windows 7 (Professional, Ultimate, or Enterprise only):





On the Windows 7 machine, download [...]]]></description>
			<content:encoded><![CDATA[<p>
I&#39;m testing <a href="http://www.microsoft.com/hyper-v-server/en/us/default.aspx" target="_blank">Microsoft Hyper-V Server 2008 R2</a> as a virtualization platform. This is the free version that only includes the Hyper-V role and a command-line interface.
</p>
<p>
Here are a few notes I made on setting things up so I can manage the server from Windows 7 (Professional, Ultimate, or Enterprise only):
</p>
<p>
<span id="more-28"></span>
</p>
<ol>
<li>On the Windows 7 machine, download and install the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7D2F6AD7-656B-4313-A005-4E344E43997D&#038;displaylang=en" target="_blank">Remote Server Administration Tools for Windows 7</a>. Go to Control Panel > Programs > Turn Windows features on or off. Under Remote Server Administration Tools, check (at least) Server Manager and Role Administration Tools > Hyper-V Tools.  </li>
<li>(Optional) On the Hyper-V Server 2008 R2 machine, use the sconfig menu system to enable Remote Desktop so you can log on to the server without being in front of the console. Connect to the machine using its IP address.  </li>
<li>On the Hyper-V Server 2008 R2 machine, use the sconfig menu system to enable all remote management options. A reboot is required in there somewhere.  </li>
<li>On the Hyper-V Server 2008 R2 machine, use the sconfig menu system to join the machine to the same domain as the Windows 7 machine. According to <a href="http://www.vistax64.com/virtual-server/252700-hyper-v-manager-without-domain.html" target="_blank">this thread</a>, it is apparently possible to leave the machine in a workgroup; using the <a href="http://code.msdn.microsoft.com/HVRemote" target="_blank">Hyper-V Remote Management Configuration Utility</a> is recommended in that case. I chose the simpler route of just joining the machine to the domain.  </li>
<li>On the Window 7 machine, log on as a domain administrator. Go to Administrative Tools > Server Manager. When prompted for the Remote computer, type the name or IP address of the Hyper-V 2008 R2 server.</li>
</ol>
<p>
At this point you should be able to browse the roles, features, diagnostics (including event logs), configuration (including firewall and services) of the Hyper-V 2008 Server. However, Device Manager and Disk Management require some additional configuration before they will work.
</p>
<p>
<strong>Note</strong> You cannot add or remove features (like Windows Server Backup) remotely. See this <a href="http://technet.microsoft.com/en-us/library/dd759202.aspx" target="_blank">TechNet article</a> for what you can and cannot do remotely. I&#39;ve also blogged about <a href="http://blogs.mcbsys.com/mark/post/Setting-Up-Windows-Server-Backup-on-Hyper-V-Server-2008-R2.aspx">Setting Up Windows Server Backup on Hyper-V Server 2008 R2</a>.
</p>
<h1>Enabling Remote Access to Device Manager</h1>
<p>
As explained in this <a href="http://technet.microsoft.com/en-us/library/ee441255(WS.10).aspx" target="_blank">TechNet article</a>, to enable remote device management, you have to make a change to group policy on the Hyper-V 2008 R2 machine. (The TechNet article refers to Windows 2008 Server Core, but as I discovered, most articles on Server Core also apply to Hyper-V Server.) That article describes the process as follows:
</p>
<blockquote>
<p>
	To do this, on a computer running Windows Vista or a full installation of Windows Server 2008, open the Local Group Policy Editor MMC snap-in, connect to the computer running a Server Core installation, navigate to Computer Configuration\Administrative Templates\Device Installation, and then enable <strong>Allow remote access to the PnP interface</strong>. Restart the computer running a Server Core installation.
	</p>
</blockquote>
<p>
For some reason, when I ran gpedit.msc from Windows 7, I was not able to connect to another computer. I had to first run MMC, then select File > Add or Remove Snap-in > Group Policy Object Editor, then select the Hyper-V Server 2008 R2 computer.
</p>
<p>
Once in the Group Policy Editor, it took me a while to find the PnP setting. The correct location is:&#160; Computer Configuration\Administrative Templates\<strong>System\</strong>Device Installation\Allow remote access to the PnP interface.
</p>
<p>
Although the TechNet article says to restart the server, I just typed &#8220;gpupdate&#8221; at the server&#39;s command prompt and I was able to connect to Device Manager remotely using Server Manager. Note that when run remotely, Device Manager is read-only&#8211;but at least you can see what devices are installed and whether any are missing drivers.
</p>
<h1>Enabling Remote Disk Management</h1>
<p>
To allow remote disk management, you need to change the firewall rules on both the Hyper-V Server <em>and</em> the Windows 7 machine. Run this command on both machines:
</p>
<p>
<code>netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes</code>
</p>
<p>
Many thanks to macnamee on <a href="http://serverfault.com/questions/59735/hyper-v-server-r2-disk-management-mmc-returns-rpc-server-is-unavailable" target="_blank">this thread</a> for that answer. The same <a href="http://technet.microsoft.com/en-us/library/ee441255(WS.10).aspx" target="_blank">TechNet article</a> referenced above has some additional details, though it doesn&#39;t make clear the need to open the firewall on the Windows 7 machine as well.
</p>
<p>
Unlike remote Device Manager, Disk Management actually lets you add and remove volumes etc. from the remote computer. Very handy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2009/11/managing-hyper-v-server-2008-r2-from-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Desktop Virtualization Licensing for the SMB</title>
		<link>http://www.mcbsys.com/techblog/2009/11/microsoft-desktop-virtualization-licensing-for-the-smb/</link>
		<comments>http://www.mcbsys.com/techblog/2009/11/microsoft-desktop-virtualization-licensing-for-the-smb/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 14:28:02 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[vecd]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">/mark/post/Microsoft-Desktop-Virtualization-Licensing-for-the-SMB.aspx</guid>
		<description><![CDATA[I&#8217;ve been thinking about virtualizing a couple of desktops at a small non-profit customer site. The desktops are five years old, due and budgeted for replacement. There&#8217;s an under-utilized server available. Why not run Windows XP or Windows 7 as virtual desktops on the server, and replace the desktops with thin clients?

Technical Options
There are lots [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been thinking about virtualizing a couple of desktops at a small non-profit customer site. The desktops are five years old, due and budgeted for replacement. There&#8217;s an under-utilized server available. Why not run Windows XP or Windows 7 as virtual desktops on the server, and replace the desktops with thin clients?</p>
<p><span id="more-29"></span></p>
<h1>Technical Options</h1>
<p>There are lots of options for virtualizing desktops on a server. I can run Virtual Server 2005 and create Virtual Machines (VMs) under that. Or I can run a full hypervisor like Windows Server 2008 R2 Hyper-V, VMWare ESX, or Xen and create virtual machines there.</p>
<h1>Licensing Options</h1>
<p>As usual, licensing is where things get tricky. I am no licensing specialist but I wanted to get down the results of some of my research.</p>
<p>Windows OEM licenses, like you get when you buy a PC from Dell, are tied to the physical hardware. We want to get rid of the old hardware, so that&#8217;s not an option.</p>
<p>A full packaged product (FPP) version of a Windows desktop OS can be run in virtual mode. For Windows 7 Professional, that means $300 MSRP per virtual machine. FPP products do not include downgrade rights so you have to actually run Windows 7.</p>
<p>The other option is Virtual Enterprise Centralized Desktop (VECD), formerly Vista Enterprise Centralized Desktop. For use with a thin client, VECD is like renting the desktop software:&#160; for about $110 a year, you are allowed to access the VM from <em>one</em> thin client. One primary, named user of that thin client can also use the VM from home.</p>
<p>Unlike OEM and FPP, VECD does not include perpetual use rights:&#160; once the agreement expires, your right to use the software also expires. Assuming a five-year desktop life span, a VECD license for the same period would run $550.</p>
<p>So let&#8217;s add up and compare the five-year costs, assuming $250 for a thin client:</p>
<ul>
<li>Hardware PC with Windows 7 Pro:&#160; $800
<li>Virtualize with Windows 7 FPP:&#160; Thin client $250 + FPP $300 = $550.
<li>Virtualize with VECD:&#160; Thin client $250 + VECD $550 = $800.</li>
</ul>
<p>Of course there are lots of other variables that speak in favor of virtualization especially in large corporate environments:&#160; security, management, shared images, reduced power consumption, etc. But for a small business with only a few desktops those benefits are negligible and perhaps even more cumbersome than running physical desktops. One thing that <em>could</em> benefit a small business is that a thin client, with no moving parts, should theoretically outlast a desktop PC. But is that really the case? Many thin clients now offer dual monitor support, for example, but what additional features will be required at the desktop five years from now? USB 3? IPv6?</p>
<p>Another big drawback to the VECD model for this customer is that several part-time users currently share the same desktop. Often the users access the desktop from home. In the VECD scenario, only one of those users would be permitted to access the VM from home; for others, the client would have to buy additional VECD licenses. So if three users need access to the same VM from home, you need two additional VECD licenses for a total of $1650 just for the OS for five years.</p>
<h2>OEM vs. FPP</h2>
<p>According to this <a href="http://www.pcworld.idg.com.au/article/324345/microsoft_confirms_windows_7_install_trick_legal" target="_blank">PC World article</a>, &#8220;an OEM edition can be used to install the new operating system on a brand new, and thus blank, virtual machine&#8230;.&#8221; Although OEM licenses cannot be transferred, e.g. from the old PC&#8217;s we&#8217;re retiring, the thought here would be to use an <em>new</em> OEM license instead of the Windows 7 FPP. I&#8217;d want to double-check with Microsoft if this is legal, but the OEM version of Windows 7 Professional is only <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16832116758" target="_blank">$140 at Newegg</a>. Theoretically the client could move its existing SA to the new OEM license and thereby obtain downgrade rights as well. <font color="#ff0000">See update below.</font></p>
<h1>Acquiring VECD</h1>
<p>Emma Healey, Licensing Escalation Manager at Microsoft UK, has a couple of helpful posts for understanding VECD:</p>
<ul>
<li>March 2008: <a title="http://ladylicensing.spaces.live.com/blog/cns!87F95F1B5B21B01E!146.entry" href="http://ladylicensing.spaces.live.com/blog/cns!87F95F1B5B21B01E!146.entry">http://ladylicensing.spaces.live.com/blog/cns!87F95F1B5B21B01E!146.entry</a>
<li>October 2009: <a title="http://ladylicensing.spaces.live.com/blog/cns!87F95F1B5B21B01E!1980.entry" href="http://ladylicensing.spaces.live.com/blog/cns!87F95F1B5B21B01E!1980.entry">http://ladylicensing.spaces.live.com/blog/cns!87F95F1B5B21B01E!1980.entry</a></li>
</ul>
<p>One clarification she posted in the comments of the first article:&#160; &#8220;Open [licensing] cannot support the subscription method used to purchase VECD, so it&#8217;s only available in Open Value in the small and med business space, and Select/Select Plus and EA/EA Subscription in the large org space, and School/Campus in the education space.&#8221;</p>
<p>So for an SMB, the <em>only</em> option to purchase VECD is through Open Value. Another strike for my client, who qualifies for non-profit pricing, which is not available through Open Value.</p>
<p>It&#8217;s quite a challenge finding SKUs for VECD. They&#8217;re not listed on <a href="http://www.microsoftvolumelicensing.com/ProductPage.aspx?pid=409" target="_blank">VECD&#8217;s page</a> on the Microsoft Volume Licensing site. They&#8217;re not listed on the <a href="http://www.microsoft.com/windows/enterprise/solutions/virtualization/licensing.aspx" target="_blank">Microsoft page explaining VECD</a>, although the <a href="http://download.microsoft.com/download/D/3/B/D3BDC684-7A7A-4847-9A8C-4A4C8907C38E/VECD_Licensing_Guide_English_090208.pdf" target="_blank">VECD Licensing Guide</a> available there is helpful. The grand overview of client virtualization in the <a href="http://download.microsoft.com/download/6/F/8/6F8EF4EA-26BD-48EA-BF45-BFF00A3B5990/Microsoft%20Client%20Virtualization%20Strategy%20White%20Paper_final.pdf" target="_blank">Microsoft Client Virtualization Strategy White Paper</a> will blow you away with options but will not give you SKUs.</p>
<p>Finally I resorted to searching the <a href="http://www.cdw.com" target="_blank">CDW</a> store. Search for &#8220;OV VECD&#8221; and you&#8217;ll find 19 Open Value VECD products. Note that the products that begin with DSA- are for when you attach VECD to a <em>thick</em> client that already has a Windows desktop license with Software Assurance. Since I&#8217;m looking for the thin client options, I have to look at the part numbers beginning with DTA-. Search again for &#8220;DTA-00051&#8243; and you&#8217;ll see the options.</p>
<h1>Conclusion</h1>
<p>Microsoft has made significant strides in supporting desktop virtualization, but their VECD model is mostly focused on the large enterprise. However the option of installing a Full Purchased Product, or perhaps an OEM version, into a virtual machine still has some appeal.</p>
<p><font color="#ff0000">Update 9/8/2009:</font>&#160; Regarding the idea of installing an OEM version into a VM, I had started to think that maybe the OEM license would in that case be tied to the host server (also not desirable).&#160; But then I found the OEM System Builder License: </p>
<p><a href="http://oem.microsoft.com/downloads/Public/sblicense/2008_SB_Licenses/FY08_SB_License_English.pdf">http://oem.microsoft.com/downloads/Public/sblicense/2008_SB_Licenses/FY08_SB_License_English.pdf</a>
<p>The system builder must pre-install the license on a Customer System, which is defined as &#8220;&#8230;a fully assembled computer system that includes a CPU, a motherboard, a power supply, an internally mounted NAND or revolving magnetic-based hard drive, and a case. For Server products, a hard drive and separate power supply are not required.&#8221;&#160; That sounds decidedly physical, not virtual. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2009/11/microsoft-desktop-virtualization-licensing-for-the-smb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving PBX in a Flash from a Virtual to a Physical Machine</title>
		<link>http://www.mcbsys.com/techblog/2008/11/moving-pbx-in-a-flash-from-a-virtual-to-a-physical-machine/</link>
		<comments>http://www.mcbsys.com/techblog/2008/11/moving-pbx-in-a-flash-from-a-virtual-to-a-physical-machine/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 17:45:28 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[piaf]]></category>
		<category><![CDATA[v2p]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vm]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">/mark/post/Moving-PBX-in-a-Flash-from-a-Virtual-to-a-Physical-Machine.aspx</guid>
		<description><![CDATA[After running PBX in a Flash (PiaF) in a virtual machine for a few days, I had a couple issues:
The system would generate an occasional message &#8220;TSC appears to be running slowly. Marking it as unstable.&#8221; This issue did not keep the PBX from running.
Voice quality was sometimes jittery. In a call, it would sometimes [...]]]></description>
			<content:encoded><![CDATA[<p>After running PBX in a Flash (PiaF) in a virtual machine for a few days, I had a couple issues:</p>
<p>The system would generate an occasional message &#8220;TSC appears to be running slowly. Marking it as unstable.&#8221; This issue did not keep the PBX from running.</p>
<p>Voice quality was sometimes jittery. In a call, it would sometimes &#8220;cut out&#8221; (like a bad cell connection). In voicemail, even listening to the pre-recorded prompts, there was frequently some garbled-sounding audio.</p>
<p><span id="more-47"></span></p>
<h1>Workarounds</h1>
<p>The jittery voice seemed to be a horsepower issue. It&#8217;s like it couldn&#8217;t read the virtual disk fast enough and/or it couldn&#8217;t process the audio stream fast enough.</p>
<p>I was running PiaF under Microsoft Virtual Server 2005. The host was an old Dell Optiplex GX260, a Pentium 4 2GHz with 1GB of RAM. I dedicated 512MB of RAM to the virtual machine.</p>
<p>I found that if I moved the virtual machine to my IBM T60p laptop (T5300 Dual Core), still with 512MB of RAM, the jittery voice problem went away. I still got the &#8220;TSC&#8221; message, though.</p>
<p>Another workaround is to get Asterisk out of the audio stream altogether. I blogged this <a href="http://blogs.mcbsys.com/mark/post/Getting-Asterisk-to-Bridge-Audio.aspx">here</a>. That solves the problem when two endpoints are talking, but it doesn&#8217;t solve the voicemail problem, and it does limit some of Asterisk&#8217;s features (call recording and transfer, for example).</p>
<h1>Getting Physical</h1>
<p>I concluded that I needed to convert to a physical setup to see if I could permanently solve these issues.</p>
<p>I hated to convert my fully-configured Windows XP machine to a dedicated PiaF box. I noticed in the PiaF status window that it was consistently using less than 40% of the 512MB RAM. Could it possibly run on the old Dell PowerEdge 2400 that has been sitting in the garage collecting dust? That&#8217;s a Pentium III 733 MHz with a whopping 256MB of RAM. Well, doesn&#8217;t hurt to try.</p>
<p>Following the instructions in my earlier posts, skipping the parts relating to virtual machines, I was able to get PiaF installed on the PE 2400 in a little over an hour (it took quite a while to compile Asterisk!). Transferring my setup from the virtual to the physical machine using the FreePBX Backup &#038; Restore functionality was a snap. I forgot the tftp setup at first, but was able to quickly add that, simply copying the contents of /tftpboot from the virtual to the physical machine. </p>
<p>Somewhat to my astonishment, it works great! This old clunker, destined for the <a href="http://www.dell.com/content/topics/global.aspx/corp/pressoffice/en/2008/2008_11_12_rr_000" target="_blank">free Dell recycling at Staples</a>, now has new life. Even without bridging the audio, the jittery voice is gone. I wouldn&#8217;t try this in a large office, but for a home office, it seems fine. In fact, my <a href="http://www.p3international.com/products/special/P4400/P4400-CE.html" target="_blank">Kill A Watt</a> tells me that this old PowerEdge only uses about 75 &#8211; 90 watts of power, not much more than the Optiplex workstation (53 &#8211; 80 watts).</p>
<h1>Conclusions</h1>
<p>I still love the idea of using a virtual machine for a PBX, and with a strong enough host, it&#8217;s probably a viable alternative for production. It&#8217;s definitely a great way to test various configurations and features. And if my physical machine fails, I can boot the virtual machine and have phone service again in about three minutes. But based on the hardware I already have and the Asterisk features I like, it looks like I&#8217;ll be running physical for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2008/11/moving-pbx-in-a-flash-from-a-virtual-to-a-physical-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtualization, Source Control, and Bug Tracking</title>
		<link>http://www.mcbsys.com/techblog/2008/06/virtualization-source-control-and-bug-tracking/</link>
		<comments>http://www.mcbsys.com/techblog/2008/06/virtualization-source-control-and-bug-tracking/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 17:47:00 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[bug tracking]]></category>
		<category><![CDATA[source control]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">/mark/post/Virtualization2c-Source-Control2c-and-Bug-Tracking.aspx</guid>
		<description><![CDATA[
I attended the San Diego .NET Developer Group on Tuesday. Nick Pearce gave a great presentation on how to use virtual machines as a developer. I jotted down a few notes on topics he and others mentioned.


Virtualization


Some random notes:&#160;


Nick is moving from Virutal PC to VMWare for the dual-monitor support.
	

	Remember to turn on hardware virtualization [...]]]></description>
			<content:encoded><![CDATA[<p>
I attended the <a href="http://sddotnetdg.org" target="_blank">San Diego .NET Developer Group</a> on Tuesday. Nick Pearce gave a great presentation on how to use virtual machines as a developer. I jotted down a few notes on topics he and others mentioned.
</p>
<h1>
Virtualization<br />
</h1>
<p>
Some random notes:&#160;
</p>
<ul>
<li>Nick is moving from Virutal PC to VMWare for the dual-monitor support.
	</li>
<li>
	Remember to turn on hardware virtualization support in your computer&#39;s BIOS. Some (like my Thinkpad) disable that by default.&#160;
	</li>
<li>
	A quad-core processor might help performance with multiple virtual machines.
	</li>
<li>
	Use a separate disk drive for a differencing volume to reduce contention.
	</li>
<li>
	You can clone a PC image, but use <a href="http://technet2.microsoft.com/WindowsVista/en/library/434e3931-a187-4940-a69c-70dd2ae657491033.mspx" target="_blank">SysPrep</a> or (XP only) <a href="http://technet.microsoft.com/en-us/sysinternals/bb897418.aspx" target="_blank">NewSID</a> to fix the SID in the clone.
	</li>
</ul>
<h1>
Source Control<br />
</h1>
<p>
Several products were mentioned:&#160; <a href="http://www.sourcegear.com" target="_blank">SourceGear Vault</a>, <a href="http://www.perforce.com" target="_blank">PerForce</a>, <a href="http://subversion.tigris.org/" target="_blank">Subversion</a>.
</p>
<h1>
Bug Tracking<br />
</h1>
<p>
More products here:&#160; <a href="http://www.fogcreek.com/FogBUGZ/" target="_blank">FogBugz</a> (integrates wtih PerForce), <a href="https://dev.scicraft.org/trac/about" target="_blank">Trac</a>, <a href="http://www.bugtrack.net/" target="_blank">BugTrac</a>, <a href="http://studios.thoughtworks.com/mingle-project-intelligence" target="_blank">Mingle</a>.&#160;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2008/06/virtualization-source-control-and-bug-tracking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

