<?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>out &#62;&#62; m_Conscientia; &#187; System Center Virtual Machine Manager</title>
	<atom:link href="http://blog.hypercomplex.co.uk/index.php/tag/system-center-virtual-machine-manager/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hypercomplex.co.uk</link>
	<description>a multidimensional braindump</description>
	<lastBuildDate>Sat, 27 Aug 2011 19:16:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Virtual Machine Manager service crashes mysteriously</title>
		<link>http://blog.hypercomplex.co.uk/index.php/2010/01/virtual-machine-manager-service-crashes-mysteriously/</link>
		<comments>http://blog.hypercomplex.co.uk/index.php/2010/01/virtual-machine-manager-service-crashes-mysteriously/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 23:27:46 +0000</pubDate>
		<dc:creator>Alex Peck</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[DBCC]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[System Center Virtual Machine Manager]]></category>

		<guid isPermaLink="false">http://blog.hypercomplex.co.uk/?p=742</guid>
		<description><![CDATA[A few days ago Virtual Machine Manager started to crash, and was writing entries similar to this in the event log: Fault bucket 736400234, type 5 Event Name: VMM20 Response: None Cab Id: 0 Problem signature: P1: vmmservice P2: 2.0.4271.0 P3: Engine.TaskRepository P4: 2.0.4271.0 P5: M.V.D.T.Task.GetAllTasks P6: S.C.Generic.KeyNotFoundException P7: cdb2 P8: P9: P10: Attached files: [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago Virtual Machine Manager started to crash, and was writing entries similar to this in the event log:</p>
<pre>
Fault bucket 736400234, type 5
Event Name: VMM20
Response: None
Cab Id: 0

Problem signature:
P1: vmmservice
P2: 2.0.4271.0
P3: Engine.TaskRepository
P4: 2.0.4271.0
P5: M.V.D.T.Task.GetAllTasks
P6: S.C.Generic.KeyNotFoundException
P7: cdb2
P8:
P9:
P10: 

Attached files:
C:\Windows\Temp\SCVMM.f5c52a6e-8f74-450c-bc57-d0ede6234a3b\report.txt

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\Report069118df
</pre>
<p>The logs were empty, and a quick search based on this error didn&#8217;t yield any useful results. Eventually, I tried running a DBCC CHECKDB in SQL Server and found some corrupted page links like this:</p>
<pre>
Table error: Object ID x index ID x, partition ID x alloc unit ID type In-row data). Page x is missing a reference from previous page Possible chain linkage problem.
</pre>
<p>No wonder I got no hits by searching, it&#8217;s quite unlikely that somebody else&#8217;s SQL Server suffered the same corruption. I had to repair with data loss, but was able to recover practically everything (my automated backup hadn&#8217;t been running for some time).</p>

<div class="wp_codebox"><table><tr id="p7422"><td class="code" id="p742code2"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">DATABASE</span> VirtualManagerDB <span style="color: #993333; font-weight: bold;">SET</span> SINGLE_USER <span style="color: #993333; font-weight: bold;">WITH</span> NO_WAIT
DBCC CHECKDB <span style="color: #66cc66;">&#40;</span>VirtualManagerDB<span style="color: #66cc66;">,</span> REPAIR_ALLOW_DATA_LOSS<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">DATABASE</span> VirtualManagerDB <span style="color: #993333; font-weight: bold;">SET</span> MULTI_USER <span style="color: #993333; font-weight: bold;">WITH</span> NO_WAIT</pre></td></tr></table></div>

<p>Good old DBCC CHECKDB did the job.</p>
<pre>
Repair: The Nonclustered index successfully rebuilt for the object "dbo.tbl_TR_SubtaskTrail, PK_tbl_TR_SubtaskTrail" in database "VirtualManagerDB".
Msg 8945, Level 16, State 1, Line 3
Table error: Object ID 2137058649, index ID 1 will be rebuilt.
        The error has been repaired.
Msg 8978, Level 16, State 1, Line 3
Table error: Object ID 2137058649, index ID 1, partition ID 72057594039173120, alloc unit ID 72057594040418304 (type In-row data). Page (1:12338) is missing a reference from previous page (1:50295). Possible chain linkage problem.
        The error has been repaired.
Msg 8981, Level 16, State 1, Line 3
Table error: Object ID 2137058649, index ID 1, partition ID 72057594039173120, alloc unit ID 72057594040418304 (type In-row data). The next pointer of (1:50295) refers to page (1:34253). Neither (1:34253) nor its parent were encountered. Possible bad chain linkage.
        The error has been repaired.
Msg 8945, Level 16, State 1, Line 3
Table error: Object ID 2137058649, index ID 2 will be rebuilt.
        The error has been repaired.
</pre>
<p>The moral of this tale: make sure your automated backups are working properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hypercomplex.co.uk/index.php/2010/01/virtual-machine-manager-service-crashes-mysteriously/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System Center Virtual Machine Manager: host needs attention</title>
		<link>http://blog.hypercomplex.co.uk/index.php/2009/04/system-center-virtual-machine-manager-host-needs-attention/</link>
		<comments>http://blog.hypercomplex.co.uk/index.php/2009/04/system-center-virtual-machine-manager-host-needs-attention/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 18:22:07 +0000</pubDate>
		<dc:creator>Alex Peck</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[System Center Virtual Machine Manager]]></category>

		<guid isPermaLink="false">http://blog.hypercomplex.co.uk/?p=93</guid>
		<description><![CDATA[If your virtualization service needs attention don&#8217;t bother using windows update (the status page suggests an upgrade is available). Instead apply KB956589 and KB956774.]]></description>
			<content:encoded><![CDATA[<p>If your virtualization service needs attention don&#8217;t bother using windows update (the status page suggests an upgrade is available). Instead apply <a href="http://support.microsoft.com/?kbid=956589">KB956589</a> and <a href="http://support.microsoft.com/?kbid=956774">KB956774</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hypercomplex.co.uk/index.php/2009/04/system-center-virtual-machine-manager-host-needs-attention/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyper-V internal network woes</title>
		<link>http://blog.hypercomplex.co.uk/index.php/2009/04/hyper-v-internal-network-woes/</link>
		<comments>http://blog.hypercomplex.co.uk/index.php/2009/04/hyper-v-internal-network-woes/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 22:10:05 +0000</pubDate>
		<dc:creator>Alex Peck</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[System Center Virtual Machine Manager]]></category>

		<guid isPermaLink="false">http://blog.hypercomplex.co.uk/?p=90</guid>
		<description><![CDATA[System Center Virtual Machine Manager is a rubbish name for a product. Beyond that, SCVMM seems pretty good. I recently p2v&#8217;d a lab environment with a DC, Exchange, SQL, App Server and Vista client. Even hot-imaging the DC was smooth, although I would recomend telling the DC not to update machine passwords before you start. [...]]]></description>
			<content:encoded><![CDATA[<p>System Center Virtual Machine Manager is a rubbish name for a product. Beyond that, SCVMM seems pretty good. I recently p2v&#8217;d a lab environment with a DC, Exchange, SQL, App Server and Vista client. Even hot-imaging the DC was smooth, although I would recomend telling the DC not to update machine passwords before you start.</p>
<p>So, I thought, clearly what I need is another application server and client. I cloned the VMs I had, then turned them into templates. This is where things went a bit wrong. When I p2v&#8217;d the originals, SCVMM cloned the MAC addresses of the physical machines. If I were replacing physical machines in an enterprise, this is probably what I would have wanted. With just one of each machine (and each MAC), the network works fine.</p>
<p>However, when you create a new machine from a template taken from a p2v&#8217;d VM, the template also inherits the physical machines MAC, as does the instance of the template. At no point in any of the template/new machine wizards was there a mention of a MAC address. I had previously read an article about how MACs are assigned dynamically, so I assumed this was happening seamlessly. It wasn&#8217;t.</p>
<p>In the beginning, I only used one of the two clients at a time, and didn&#8217;t notice the intermittent network problems. Then suddenly it seemed like only one of the clients could connect to the network at a time. I could only see file shares from one of them on other machines: I&#8217;d connect to one client, and the share on the other would close. Prior to this, I had intermittent problems accessing the app server.</p>
<p>After a considerable amount of time spent measuring the network speed at each client (which worked fine, since I only accessed one of them at a time), I went back to basics with my old friend ipconfig. I&#8217;m still quite surprised that I noticed that the MAC addresses on the clients were the same, it&#8217;s not something I would normally look at.</p>
<p>The moral of this story: be careful when assigning MAC addresses.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hypercomplex.co.uk/index.php/2009/04/hyper-v-internal-network-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

