<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>DC’s and VM’s – Avoiding the Do-Over</title><link>http://blogs.technet.com/b/askds/archive/2009/06/05/dc-s-and-vm-s-avoiding-the-do-over.aspx</link><description>Hello everyone, Mark from DS again. With more and more companies using virtualization, such as Microsoft Virtual Server, Server 2008 Hyper-V or VMWare, in their environments these days you may end up in the following situation I recently worked on: 1</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: DC’s and VM’s – Avoiding the Do-Over</title><link>http://blogs.technet.com/b/askds/archive/2009/06/05/dc-s-and-vm-s-avoiding-the-do-over.aspx#3324512</link><pubDate>Mon, 12 Apr 2010 13:27:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3324512</guid><dc:creator>Jonathan Stephens, MSFT</dc:creator><description>&lt;p&gt;Why does there need to be a workaround?&lt;/p&gt;
&lt;p&gt;1. You don't have to reinstall the entire AD. You have to demote/cleanup/promote the failing DC. If you only have one DC, you can't get into this situation anyway. Let's not overstate the problem.&lt;/p&gt;
&lt;p&gt;2. USN rollback is an error condition caused by not restoring a domain controller properly in the first place. And the article is quite clear on explaining how that error state occurs.&lt;/p&gt;
&lt;p&gt;3. We strongly encourage admins in your situation to restore a DC is to use a System State Backup. You did take such a backup before installing new software on your DC, did you not?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3324512" width="1" height="1"&gt;</description></item><item><title>re: DC’s and VM’s – Avoiding the Do-Over</title><link>http://blogs.technet.com/b/askds/archive/2009/06/05/dc-s-and-vm-s-avoiding-the-do-over.aspx#3324318</link><pubDate>Sun, 11 Apr 2010 01:47:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3324318</guid><dc:creator>goranv</dc:creator><description>&lt;p&gt;this is interesting. i installed Forefront just to learn that it cannot be used on a secondary DC. Then used clonezilla to restore to a previous point. Got this problem exactly as described.&lt;/p&gt;
&lt;p&gt;There must be some kind of a work-around. reinstalling the entire AD seems a very cumbersome way to restore a DC. Did MS not realize that before?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3324318" width="1" height="1"&gt;</description></item><item><title>re: DC’s and VM’s – Avoiding the Do-Over</title><link>http://blogs.technet.com/b/askds/archive/2009/06/05/dc-s-and-vm-s-avoiding-the-do-over.aspx#3318638</link><pubDate>Fri, 12 Mar 2010 12:41:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3318638</guid><dc:creator>Pronichkin</dc:creator><description>&lt;p&gt;Sorry for being pushy on this but I really want to figure out how it works and still cannot get it.&lt;/p&gt;
&lt;p&gt;As noted at “VSS Backup and Restore of the Active Directory” (&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/library/aa384675.aspx"&gt;http://msdn.microsoft.com/library/aa384675.aspx&lt;/a&gt;):&lt;/p&gt;
&lt;p&gt;“Following a crash requiring disaster recovery, the Active Directory can be restored as part of the restoration of the operating system state. &lt;/p&gt;
&lt;p&gt;This restore operation is essentially a writerless restore”.&lt;/p&gt;
&lt;p&gt;For me it sounds like nobody special gets involved into bare-metal recovery of AD Controller. No writer or whatever. So how does it happen that restored Controller detects it was restored from backup and correctly notifies its replication partners?&lt;/p&gt;
&lt;p&gt;The only idea I have is that is done using reading “LastRestoreId” registry key at DS startup. That would work in case of System State restore but would not help in case of full volume recovery (because LastRestoreId key is not set in this case). So I'm completely lost here.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3318638" width="1" height="1"&gt;</description></item><item><title>re: DC’s and VM’s – Avoiding the Do-Over</title><link>http://blogs.technet.com/b/askds/archive/2009/06/05/dc-s-and-vm-s-avoiding-the-do-over.aspx#3317566</link><pubDate>Mon, 08 Mar 2010 15:19:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3317566</guid><dc:creator>Pronichkin</dc:creator><description>&lt;p&gt;And who's actually in charge for changing Invocation IDs and other post-restore tasks? Is it NTDS Writer who needs to be made aware of restore or some special backup app plug-in?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3317566" width="1" height="1"&gt;</description></item><item><title>re: DC’s and VM’s – Avoiding the Do-Over</title><link>http://blogs.technet.com/b/askds/archive/2009/06/05/dc-s-and-vm-s-avoiding-the-do-over.aspx#3317545</link><pubDate>Mon, 08 Mar 2010 14:00:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3317545</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;I'm not a backup/restore guru, so here's where the Wiki hopefully kicks in with community experience. :-D&lt;/p&gt;
&lt;p&gt;One specific aspect of making AD backups through VSS starting in WIn2008 is that your backup/restore software is supposed to understand the NTDS writer. &lt;/p&gt;
&lt;p&gt;Lots more info on MSDN and TechNet about this. A starting point:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/bb968827"&gt;http://msdn.microsoft.com/en-us/library/bb968827&lt;/a&gt;(VS.85).aspx&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3317545" width="1" height="1"&gt;</description></item><item><title>re: DC’s and VM’s – Avoiding the Do-Over</title><link>http://blogs.technet.com/b/askds/archive/2009/06/05/dc-s-and-vm-s-avoiding-the-do-over.aspx#3317366</link><pubDate>Sun, 07 Mar 2010 14:18:08 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3317366</guid><dc:creator>Pronichkin</dc:creator><description>&lt;p&gt;Thanks for your remark. I've added it to the article nearly “as is”. And I have one more ongoing question.&lt;/p&gt;
&lt;p&gt;“Backup and Restore Considerations for Virtualized Domain Controllers” guidance (&lt;a rel="nofollow" target="_new" href="http://technet.microsoft.com/library/dd363545.aspx"&gt;http://technet.microsoft.com/library/dd363545.aspx&lt;/a&gt;) says:&lt;/p&gt;
&lt;p&gt;“There are two supported ways to perform backup and restore of a virtualized domain controller: &lt;/p&gt;
&lt;p&gt;&amp;lt;...&amp;gt;&lt;/p&gt;
&lt;p&gt;2.Run Windows Server Backup on the host. This action calls the Volume Shadow Copy Service (VSS) writer of the guest to make sure that the backup is performed properly”.&lt;/p&gt;
&lt;p&gt;Is it correct to substitute “Windows Server Backup” in this statement with something like:&lt;/p&gt;
&lt;p&gt;“Any certified backup and restore application that is running in the “parent” (or “management”) partition of any certified virtualization platform assuming that this backup and restore application is aware of VSS in the Guest OS and calls it during backup and restore operations”?&lt;/p&gt;
&lt;p&gt;I.e. is there any magic in how Windows Server Backup specifically holds AD DS or it is just okay to call in-guest VSS and it would take care of the rest?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3317366" width="1" height="1"&gt;</description></item><item><title>re: DC’s and VM’s – Avoiding the Do-Over</title><link>http://blogs.technet.com/b/askds/archive/2009/06/05/dc-s-and-vm-s-avoiding-the-do-over.aspx#3317297</link><pubDate>Sat, 06 Mar 2010 16:17:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3317297</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;Looks great to me :). The only thing I might clarify in there is that &amp;quot;flush&amp;quot; and &amp;quot;commit&amp;quot; are somewhat interchangeable (or at least often related) terms that will be used through a lot of documentation. Your doc uses both also, just at different points.&lt;/p&gt;
&lt;p&gt;For example: &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/ms683106"&gt;http://msdn.microsoft.com/en-us/library/ms683106&lt;/a&gt;(EXCHG.10).aspx&lt;/p&gt;
&lt;p&gt;Nice work, glad to see that the Wiki is already got traction.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3317297" width="1" height="1"&gt;</description></item><item><title>re: DC’s and VM’s – Avoiding the Do-Over</title><link>http://blogs.technet.com/b/askds/archive/2009/06/05/dc-s-and-vm-s-avoiding-the-do-over.aspx#3317283</link><pubDate>Sat, 06 Mar 2010 13:06:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3317283</guid><dc:creator>Pronichkin</dc:creator><description>&lt;p&gt;Hi Ned and many, many thanks fot the clarifications on this. &lt;/p&gt;
&lt;p&gt;Could you please take a minute and review what I've written on general backup theory in TN Wiki? What I tried to do there is (among other similar goals) to explain the “USN Rollback” feature in “Simple English” languate avoiding any technical details and still giving explicitly all necessary warnings and support “do and don't”s.&lt;/p&gt;
&lt;p&gt;The article is located at &lt;a rel="nofollow" target="_new" href="http://social.technet.microsoft.com/wiki/contents/articles/backup-and-restore-special-considerations.aspx"&gt;http://social.technet.microsoft.com/wiki/contents/articles/backup-and-restore-special-considerations.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now I gonna write another article there in the same style that talks specifically on VM backup and restore (I'm VM MVP after all). But before that I want to make sure that I'm OK with all application-specific points.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3317283" width="1" height="1"&gt;</description></item><item><title>re: DC’s and VM’s – Avoiding the Do-Over</title><link>http://blogs.technet.com/b/askds/archive/2009/06/05/dc-s-and-vm-s-avoiding-the-do-over.aspx#3317170</link><pubDate>Fri, 05 Mar 2010 19:46:48 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3317170</guid><dc:creator>NedPyle [MSFT]</dc:creator><description>&lt;p&gt;Nah, but plenty of other stuff is... :-/&lt;/p&gt;
&lt;p&gt;So, back to your question. I was able to dig up the right folks and get some calrification. I plan on having this article edited for clarity, but:&lt;/p&gt;
&lt;p&gt;1. As long as you never boot the hyper-v snapshot until after you’ve set the ‘dsa restoring from backup’ key, then you’re good and supported (this was tested in Win2008 R2). However, if you ever accidentally boot the hyper-v snapshot before you’ve set the key, then you’re in a USN rollback scenario.&lt;/p&gt;
&lt;p&gt;2. Step 12 is baloney. If the value is not present or correct, you cannot start over with this VHD. You must have another snapshot to restore or have made a copy of this image before you started all these steps.&lt;/p&gt;
&lt;p&gt;3. And finally - the reason the article starts with &amp;quot;Do not use the Snapshot feature as a backup to restore a virtual machine that was configured as a domain controller&amp;quot; but then goes on to give steps is for the absolute last resort, last gasp, &amp;quot;OMG we're all gonna die man&amp;quot; scenarios where your system state backups are not working. The SS backups are still the mechanism you should be using, and the snapshots should never, ever be done in lieu of system state backups. That's why this article is hard to find, but USN rollback articles are easy to find - we want people using system state backups.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3317170" width="1" height="1"&gt;</description></item><item><title>re: DC’s and VM’s – Avoiding the Do-Over</title><link>http://blogs.technet.com/b/askds/archive/2009/06/05/dc-s-and-vm-s-avoiding-the-do-over.aspx#3317068</link><pubDate>Fri, 05 Mar 2010 14:45:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3317068</guid><dc:creator>rsoe</dc:creator><description>&lt;p&gt;I hope this didn't cause you any delay in the &amp;quot;Friday Mail Sack&amp;quot; ;)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3317068" width="1" height="1"&gt;</description></item></channel></rss>