<?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>Tales from the Datacenter &#187; Hyper-V</title>
	<atom:link href="http://www.pburch.com/blog/category/hyper-v/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pburch.com/blog</link>
	<description>Tales from the Datacenter</description>
	<lastBuildDate>Thu, 10 Jun 2010 17:51:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>WIM2VHD</title>
		<link>http://www.pburch.com/blog/2009/07/08/wim2vhd/</link>
		<comments>http://www.pburch.com/blog/2009/07/08/wim2vhd/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 18:17:13 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[scvmm]]></category>
		<category><![CDATA[scvmm library]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[server 2008 r2]]></category>
		<category><![CDATA[vhd]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[virutal servers]]></category>
		<category><![CDATA[vmm]]></category>
		<category><![CDATA[wim]]></category>
		<category><![CDATA[wim2vhd]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=228</guid>
		<description><![CDATA[In looking for an easy way to deploy operating systems to virtual servers, I started digging around for a way to import a WIM (like what comes on the 2008 installation DVD) into SCVMM&#8217;s library.  Instead, I found something that might be a bit better (or at least more versatile): the WIM to VHD Converter. [...]]]></description>
			<content:encoded><![CDATA[<p>In looking for an easy way to deploy operating systems to virtual servers, I started digging around for a way to import a WIM (like what comes on the 2008 installation DVD) into SCVMM&#8217;s library.  Instead, I found something that might be a bit better (or at least more versatile): the <a href="http://code.msdn.microsoft.com/wim2vhd" target="_blank">WIM to VHD Converter</a>.</p>
<blockquote><p><span id="ctl00_ctl00_Content_TabContentPanel_Content_wikiSourceLabel">The Windows(R) Image to Virtual Hard Disk (WIM2VHD) command-line tool allows you to create sysprepped VHD images from any Windows 7 installation source. VHDs created by WIM2VHD will boot directly to the Out Of Box Experience, ready for your first-use customizations. You can also automate the OOBE by supplying your own unattend.xml file, making the possibilities limitless.</span></p></blockquote>
<p><span>It took about ten minutes for WIM2VHD to deploy my WIM source to a usable VHD, which I then copied into the VMM library.  About an hour later (stupid refresh interval), the newly created VHD was available.  When I deployed a new virtual machine with that VHD, it was as if I had just installed Server 2008 with the DVD.  Awesome.<br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/07/08/wim2vhd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unsupported Cluster Configuration</title>
		<link>http://www.pburch.com/blog/2009/04/28/unsupported-cluster-configuration/</link>
		<comments>http://www.pburch.com/blog/2009/04/28/unsupported-cluster-configuration/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 16:36:37 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Beta]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[highly available]]></category>
		<category><![CDATA[network tag]]></category>
		<category><![CDATA[server 2008 r2]]></category>
		<category><![CDATA[unsupported cluster configuration]]></category>
		<category><![CDATA[virtual network]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=175</guid>
		<description><![CDATA[Maybe Michael should go away more often.  I seem to get a lot more done when he&#8217;s out. Today, I added the third node to the Hyper-V R2 cluster we&#8217;re currently testing.  When I did, VMM freaked out and all of the guests on the other two nodes went into a warning state.  The error [...]]]></description>
			<content:encoded><![CDATA[<p>Maybe Michael should go away more often.  I seem to get a lot more done when he&#8217;s out.</p>
<p>Today, I added the third node to the Hyper-V R2 cluster we&#8217;re currently testing.  When I did, VMM freaked out and all of the guests on the other two nodes went into a warning state.  The error they displayed:</p>
<blockquote><p><strong> </strong></p>
<p align="left"><strong>Warning (13921)</strong></p>
<p>Highly available virtual machine <em>&lt;INSERT NAME&gt;</em> is not supported by VMM because one or  more of its network adapters is not configured correctly.</p>
<p><strong>Recommended Action</strong></p>
<p><strong></strong>Ensure that all of the virtual network adapters are either disconnected or  connected to highly available virtual networks.</p></blockquote>
<p>So, how do we fix this issue?  You use Google, of course.  A quick Google-ing gave the following <a href="http://social.technet.microsoft.com/Forums/en-US/virtualmachinemgrclustering/thread/cf3aa090-544f-4a94-aa5e-ac366d7a45c1">information </a>(edited for grammar):</p>
<blockquote>
<p align="left">For a VN [Virtual Network] to be marked as HA, the location and tag of the VN in all  nodes must be the same.  For each VN in the cluster[, be sure that]:</p>
<ul>
<li>
<div>The NICs to which the VN is attached in each node have the same  location.</div>
</li>
<li>
<div>The Tag in the VN in each node is the same.</div>
</li>
<li>
<div>The VN Name is the same.</div>
</li>
<li>
<div>After you commit changes, refresh the cluster so ensure that  the VN is detected as HA.</div>
</li>
</ul>
</blockquote>
<p>Our problem, specifically, was related to the network tagging.  To fix the tag, do the following:</p>
<ol>
<li>Open VMM, and navigate to the &#8220;Hosts&#8221; view.</li>
<li>Right click on one of the hosts and select &#8220;Properties.&#8221;</li>
<li>Navigate to the &#8220;Networking&#8221; tab.<br />
<a href="http://www.pburch.com/blog/wp-content/uploads/2009/04/networktab.png"></a><a href="http://www.pburch.com/blog/wp-content/uploads/2009/04/networktab1.png"><img class="aligncenter size-medium wp-image-179" title="VMM Network Tab" src="http://www.pburch.com/blog/wp-content/uploads/2009/04/networktab1-300x98.png" alt="VMM Network Tab" width="300" height="98" /></a></li>
<li>Once, there, you&#8217;ll need to click each network (in this case, we have two) and add text to the &#8220;Network tag:&#8221; field.  Keep in mind that these tags will need to be the same across all your hosts in order to make them highly available.<br />
<a href="http://www.pburch.com/blog/wp-content/uploads/2009/04/networktag.png"><img class="aligncenter size-medium wp-image-177" title="VMM Network Tag" src="http://www.pburch.com/blog/wp-content/uploads/2009/04/networktag-300x153.png" alt="VMM Network Tag" width="300" height="153" /></a></li>
<li>Rinse and repeat for the rest of your hosts.</li>
<li>Once you finish tagging, you&#8217;ll need to refresh the cluster node in VMM.<br />
<a href="http://www.pburch.com/blog/wp-content/uploads/2009/04/vmmrefresh.png"><img class="aligncenter size-full wp-image-180" title="vmmrefresh" src="http://www.pburch.com/blog/wp-content/uploads/2009/04/vmmrefresh.png" alt="vmmrefresh" width="269" height="103" /></a></li>
</ol>
<p>That fixed our problem.  Maybe it will help you.</p>
<p>More information <a href="http://technet.microsoft.com/en-us/library/cc967323.aspx">here</a> in the &#8220;Troubleshoot &#8216;Unsupported Cluster Configuration&#8217; Status for a Highly Available  Virtual Machine&#8221; section.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/04/28/unsupported-cluster-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2008 R2 High Availability</title>
		<link>http://www.pburch.com/blog/2009/04/09/2008-r2-high-availability/</link>
		<comments>http://www.pburch.com/blog/2009/04/09/2008-r2-high-availability/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 21:09:28 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[clusterf]]></category>
		<category><![CDATA[high availability]]></category>
		<category><![CDATA[highly available]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=160</guid>
		<description><![CDATA[Michael and I are probably the only two people in the world that would find this even remotely amusing, but&#8230; We&#8217;re testing 2008 R2&#8242;s Failover Clustering.  In particular, we&#8217;re going to test Hyper-V and highly available machines.  So, in Michael&#8217;s infinite wisdom, he asked me what to name the first test cluster.  I suggested the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nukeitmike.com/blog" target="_self">Michael</a> and I are probably the only two people in the world that would find this even remotely amusing, but&#8230;</p>
<p>We&#8217;re testing 2008 R2&#8242;s Failover Clustering.  In particular, we&#8217;re going to test Hyper-V and highly available machines.  So, in Michael&#8217;s infinite wisdom, he asked me what to name the first test cluster.  I suggested the following:</p>
<p style="text-align: center;"><a href="http://www.pburch.com/blog/wp-content/uploads/2009/04/clusterf.png"><img class="size-medium wp-image-161 aligncenter" style="border: 0pt none;" title="clusterf" src="http://www.pburch.com/blog/wp-content/uploads/2009/04/clusterf-300x200.png" alt="clusterf" width="300" height="200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/04/09/2008-r2-high-availability/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Error 0x800704C8 in VMM</title>
		<link>http://www.pburch.com/blog/2009/03/23/error-0x800704c8-in-vmm/</link>
		<comments>http://www.pburch.com/blog/2009/03/23/error-0x800704c8-in-vmm/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 17:59:41 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Forefront]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[0x800704C8]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[hyper-v security]]></category>
		<category><![CDATA[kb961804]]></category>
		<category><![CDATA[user-mapped section open]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtual machine manager]]></category>
		<category><![CDATA[vmm]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=143</guid>
		<description><![CDATA[I was trying to deploy a new virtual machine today via Virtual Machine Manager, and kept getting this error (names changed to protect the innocent): Error (12700) VMM cannot complete the Hyper-V operation on the [virtualhost.domain.com] server because of the error: &#8216;[VIRTUALGUEST]&#8216; failed to add device &#8216;Microsoft Emulated Ethernet Port&#8217;. (Virtual machine ID 26DD8B56-0594-446A-8084-405218737EB0) The [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to deploy a new virtual machine today via Virtual Machine Manager, and kept getting this error (names changed to protect the innocent):</p>
<blockquote><p><strong>Error </strong>(12700)<br />
VMM cannot complete the Hyper-V operation on the [virtualhost.domain.com] server because of the error: &#8216;[VIRTUALGUEST]&#8216; failed to add device &#8216;Microsoft Emulated Ethernet Port&#8217;. (Virtual machine ID 26DD8B56-0594-446A-8084-405218737EB0)</p>
<p>The Virtual Machines configuration 26DD8B56-0594-446A-8084-405218737EB0 at &#8216;J:\VS\[VIRTUALGUEST]&#8216; is no longer accessible: The requested operation cannot be performed on a file with a user-mapped section open. (0x800704C8)<br />
(Unknown error (0&#215;8000))</p>
<p><strong>Recommended Action</strong><br />
Resolve the issue in Hyper-V and then try the operation again.</p></blockquote>
<p>Well, that&#8217;s really good advice &#8211; clear the error and try again.  So, a quick Google-ing turned up a Microsoft KB article: <a href="http://support.microsoft.com/kb/961804" target="_blank">Creating or starting a Hyper-V virtual machine on Windows Server 2008 or  Microsoft Hyper-V Server 2008 may fail with error: 0x800704C8</a>.  Oddly enough, this was exactly my issue:</p>
<blockquote><p><strong>CAUSE</strong></p>
<p>This issue can be caused by antivirus software that is installed in the parent  partition and the real-time scanning component is configured to monitor the  Hyper-V virtual machine files.</p>
<p><strong>RESOLUTION</strong></p>
<p>To resolve this issue, configure the real-time scanning component within the  antivirus software to exclude the following directories and files:</p>
<ul>
<li>Default virtual machine configuration directory  (C:\ProgramData\Microsoft\Windows\Hyper-V)</li>
<li>Custom virtual  machine configuration directories</li>
<li>Default virtual hard disk  directory (C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks)</li>
<li>Custom virtual hard disk directories</li>
<li>Snapshot directories</li>
<li>Vmms.exe</li>
<li>Vmwp.exe</li>
</ul>
<p><strong>Notes: </strong></p>
<ul>
<li><strong>If virtual machines are missing from the  Hyper-V Management console, you must configure the antivirus exclusions, and  then restart the Hyper-V Virtual Machine Management service.</strong></li>
<li><strong>If the error code was 0x800704C8, it is likely that the virtual machine  configuration file was corrupted and the virtual machine may need to be  re-created or restored from backup if restarting the Hyper-V Virtual Machine  Management service does not resolve the issue.</strong></li>
</ul>
</blockquote>
<p>Chalk one up for Microsoft KB articles.  Now, a little further down in the KB article, it suggests (per <a href="http://technet.microsoft.com/en-us/library/cc974516.aspx" target="_blank">Planning for Hyper-V Security</a>) installing the antivirus on the guest (which we do) and not on the host (which we do, too):</p>
<blockquote><p><strong>Do not run any applications in the parent partition. </strong>Run all  applications on virtual machines, which use child partitions. For example, if  antivirus is required, be sure to run it on the VMs rather than the parent  partition. Keeping the parent partition free of applications and running on a  Windows Server 2008 core installation means fewer host updates, since nothing  needs software updates except the Windows Server 2008 core installation, the  Hyper-V service components, and the small (~600KB) hypervisor.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/03/23/error-0x800704c8-in-vmm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A connection will not be made&#8230;</title>
		<link>http://www.pburch.com/blog/2008/09/03/a-connection-will-not-be-made/</link>
		<comments>http://www.pburch.com/blog/2008/09/03/a-connection-will-not-be-made/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 19:31:50 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[credssp]]></category>
		<category><![CDATA[hyper-v manager]]></category>

		<guid isPermaLink="false">http://pburch.com/blog/?p=25</guid>
		<description><![CDATA[First of all, don&#8217;t tell me what you will and will not do, young lady. I was receiving the error below when trying to connect to a VM through Hyper-V Manager: The fix was easily found in the TechNet Forums (in case that link isn&#8217;t active in the future, I&#8217;ve documented the fix for posterity [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, don&#8217;t tell me what you will and will not do, young lady.</p>
<p style="text-align: left;">I was receiving the error below when trying to connect to a VM through Hyper-V Manager:</p>
<p style="text-align: center;"><a href="http://pburch.com/blog/wp-content/uploads/2008/09/vmconnection.png"><img class="size-medium wp-image-26 aligncenter" title="vmconnection" src="http://pburch.com/blog/wp-content/uploads/2008/09/vmconnection-300x194.png" alt="" width="300" height="194" /></a></p>
<p>The fix was easily found in the <a href="http://forums.technet.microsoft.com/en-US/winserverhyperv/thread/ce6a9d04-45bf-4d77-869e-bbf784cbefd1/" target="_blank">TechNet Forums</a> (in case that link isn&#8217;t active in the future, I&#8217;ve documented the fix for posterity below).</p>
<p>The fix:</p>
<p>Copy and paste the following into a text file and save it as a *.reg file:</p>
<blockquote><p><span style="color: #000080;">Windows Registry Editor Version 5.00</span></p>
<p><span style="color: #000080;">[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults]</span></p>
<p><span style="color: #000080;">[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowDefaultCredentials]<br />
&#8220;Hyper-V&#8221;=&#8221;Microsoft Virtual Console Service/*&#8221;</span></p>
<p><span style="color: #000080;">[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowDefaultCredentialsDomain]<br />
&#8220;Hyper-V&#8221;=&#8221;Microsoft Virtual Console Service/*&#8221;</span></p>
<p><span style="color: #000080;">[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentials]</span></p>
<p><span style="color: #000080;">&#8220;Hyper-V&#8221;=&#8221;Microsoft Virtual Console Service/*&#8221;</span></p>
<p><span style="color: #000080;">[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentialsDomain]</span></p>
<p><span style="color: #000080;">&#8220;Hyper-V&#8221;=&#8221;Microsoft Virtual Console Service/*&#8221;</span></p>
<p><span style="color: #000080;">[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentialsWhenNTLMOnly]</span></p>
<p><span style="color: #000080;">&#8220;Hyper-V&#8221;=&#8221;Microsoft Virtual Console Service/*&#8221;</span></p>
<p><span style="color: #000080;">[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentialsWhenNTLMOnlyDomain]</span></p>
<p><span style="color: #000080;">&#8220;Hyper-V&#8221;=&#8221;Microsoft Virtual Console Service/*&#8221;</span></p>
<p><span style="color: #000080;">[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowSavedCredentials]</span></p>
<p><span style="color: #000080;">&#8220;Hyper-V&#8221;=&#8221;Microsoft Virtual Console Service/*&#8221;</span></p>
<p><span style="color: #000080;">[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowSavedCredentialsDomain]<br />
&#8220;Hyper-V&#8221;=&#8221;Microsoft Virtual Console Service/*&#8221;</span></p>
<p><span style="color: #000080;">[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowSavedCredentialsWhenNTLMOnly]<br />
&#8220;Hyper-V&#8221;=&#8221;Microsoft Virtual Console Service/*&#8221;</span></p></blockquote>
<p>Now import it into your registry and enjoy your new Credssp configuration.</p>
<p><img src="file:///C:/Users/pburch/AppData/Local/Temp/moz-screenshot.jpg" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2008/09/03/a-connection-will-not-be-made/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
