<?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>Active Directory, Cluster and other fun stuff... : Troubleshooting</title><link>http://blogs.technet.com/justinturner/archive/tags/Troubleshooting/default.aspx</link><description>Tags: Troubleshooting</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Replication error 8464 after schema upgrade</title><link>http://blogs.technet.com/justinturner/archive/2009/10/28/replication-error-8464-after-schema-upgrade.aspx</link><pubDate>Wed, 28 Oct 2009 16:00:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3289840</guid><dc:creator>justintu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/justinturner/comments/3289840.aspx</comments><wfw:commentRss>http://blogs.technet.com/justinturner/commentrss.aspx?PostID=3289840</wfw:commentRss><description>&lt;h3&gt;Problem Environment&lt;/h3&gt;  &lt;p&gt;Contoso has a very large branch-office deployment of Active Directory. Each branch-office is an Active Directory site, and each DC is a GC because of potentially unreliable WAN links. &lt;/p&gt;  &lt;p&gt;Any time a Scheme upgrade is performed in which the Partial Attribute Set (&lt;a href="http://msdn.microsoft.com/en-us/library/ms679107(VS.85).aspx" target="_blank"&gt;PAS&lt;/a&gt;) is updated, replication fails for numerous partitions until all hub DCs have been updated. The last time they upgraded the Schema, it was several months before all DCs received the updated PAS.&lt;/p&gt;  &lt;h3&gt;Details&lt;/h3&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Active Directory replication failed after upgrading the schema for Exchange 2007 with an event id 8464.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;“Synchronization attempt failed because the destination DC is currently waiting &lt;/em&gt;&lt;em&gt;to synchronize new partial attributes from source. This condition is normal if a &lt;/em&gt;&lt;em&gt;recent schema change modified the partial attribute set. The destination partial &lt;/em&gt;&lt;em&gt;attribute set is not a subset of source partial attribute set.”&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;They were getting this message because the DCs in their hub site had not received the updated Partial Attribute Set (PAS) for the affected partitions.&lt;/p&gt;  &lt;p&gt;It had been several days since the Schema was upgraded, and given enough time, this problem would eventually correct itself.&amp;#160; Our goal was to understand why it took so long for all DCs to reach replication convergence, and to decrease the time it takes for all domain controllers to receive the updated PAS.&lt;/p&gt;  &lt;p&gt;In order to visualize their replication environment, I had them run our AD Topology Diagrammer &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=cb42fc06-50c7-47ed-a65c-862661742764&amp;amp;displaylang=en" target="_blank"&gt;tool&lt;/a&gt;. (ADTD or sometimes referred to by its former name: AD Map) The Visio diagram revealed one hub site and over a thousand branch-office sites.&amp;#160; Each branch office has replication connections to the hub site only.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9353A4F6-A8A8-40BB-9FA7-3A95C9540112&amp;amp;displaylang=en"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Picture provided courtesy of the &amp;quot;Windows Server 2003 Active Directory Branch Office Environment&amp;quot; whitepaper" border="0" alt="Picture provided courtesy of the &amp;quot;Windows Server 2003 Active Directory Branch Office Environment&amp;quot; whitepaper" src="http://blogs.technet.com/blogfiles/justinturner/WindowsLiveWriter/Replicationerror8464afterschemaupgrade_90A5/clip_image001_3.gif" width="376" height="495" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;Cause&lt;/h3&gt;  &lt;p&gt;Replication of the updated PAS did not occur because of the following:&lt;/p&gt;  &lt;p&gt;Each of the bridgehead domain controllers in the hub site have over 200 replication connections for each partition. The customer has a DC in each branch office, each office is its own site, and each DC is a GC. The sheer amount of replication connections interfered with the timely update of the PAS.&amp;#160; This environment would be a great candidate for RODCs (since there would not be any outbound connections from the branch office sites), but now was not the time to talk topology redesign.&lt;/p&gt;  &lt;h3&gt;Solution&lt;/h3&gt;  &lt;p&gt;Our immediate goal, to get this resolved quickly, was to get the PAS updated on each DC in the Hub site for both domain partitions reported in the events.&lt;/p&gt;  &lt;p&gt;First we had to identify which GC's have the updated PAS.&amp;#160; Here is the repadmin.exe command that we used:&lt;/p&gt;  &lt;p&gt;The following command will dump the PAS from every DC in the forest for the partition specified in the DN path *.&amp;#160; The resulting output lets us know which GCs haven’t gotten the updates yet:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font color="#000040" size="2"&gt;“repadmin /showattr gc: dc=corp,dc=contoso,dc=com /gc /atts:partialattributeset &amp;gt;partialattributeset-Corp.txt”&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;* Since “dc=corp,dc=contoso,dc=com” is specified in the above command, it will dump the PAS for the “Corp” domain partition.&lt;/p&gt;  &lt;p&gt;The following command would be used to dump the PAS for the “Branches” domain partition:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font color="#000040"&gt;“repadmin /showattr gc: dc=branches,dc=corp,dc=contoso,dc=com /gc /atts:partialattributeset &amp;gt;partialattributeset-Branches.txt”&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;The value of interest in the output is listed after the &amp;quot;v1.cAttrs =&amp;quot; text.&lt;/p&gt;    &lt;p&gt;If you want to check a single GC, you could run:&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font color="#000040"&gt;repadmin /showattr DCName dc=corp,dc=contoso,dc=com /gc /atts:partialattributeset&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;During this issue we came up with several methods to get these servers updated.&amp;#160; I will list out each of the methods (A, B, and C) with the top choice listed first.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;A. Set up a replication connection, disable inbound and outbound replication, and force replication:&lt;/b&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;b&gt;1&lt;/b&gt;. Create a manual replication connection to a DC that already has the updated partial attribute set (unless you already have a connection to this dc).&lt;/p&gt;    &lt;p align="left"&gt;“repadmin /add &amp;lt;Naming Context&amp;gt; &amp;lt;Destination DC&amp;gt; &amp;lt;Source DC&amp;gt; /readonly (if needed)”&lt;/p&gt;    &lt;p&gt;&lt;b&gt;2.&lt;/b&gt; Disable inbound and outbound replication (one very fast way to clear out the queue).&lt;/p&gt;    &lt;p align="left"&gt;“repadmin /options dc_name +DISABLE_INBOUND_REPL”&lt;/p&gt;    &lt;p align="left"&gt;“repadmin /options dc_name +DISABLE_OUTBOUND_REPL”&lt;/p&gt;    &lt;p&gt;&lt;b&gt;3.&lt;/b&gt; Force replication with the DC over the newly created connection.&lt;/p&gt;    &lt;p&gt;“Repadmin /replicate &amp;lt;dc-with-low-cAttr&amp;gt; &amp;lt;DC-with-high-cAttr&amp;gt; &amp;lt;DNpath&amp;gt; /force [/readonly if needed]”&lt;/p&gt;    &lt;p&gt;&lt;b&gt;4.&lt;/b&gt; Run the repadmin command to check the inbound replication queue.&lt;/p&gt;    &lt;p&gt;“repadmin /queue” &lt;/p&gt;    &lt;p&gt;You should just see the one item queued, but I have seen a few more replication requests sneak in on a very busy dc.&lt;/p&gt;    &lt;p&gt;&lt;b&gt;5.&lt;/b&gt; You should be able to re-enable inbound and outbound replication immediately.&lt;/p&gt;    &lt;p&gt;“repadmin /options dc_name -DISABLE_INBOUND_REPL”&lt;/p&gt;    &lt;p&gt;“repadmin /options dc_name -DISABLE_OUTBOUND_REPL”&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;b&gt;B. Rehost the partition:&lt;/b&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;b&gt;1.&lt;/b&gt; “repadmin /rehost &amp;lt;rehosted GC hostname&amp;gt; &amp;lt;DN path of rehosted naming context &amp;gt; &amp;lt;fully qualified DNS name of good DC hosting a writable copy of the domain partition&amp;gt;”&lt;/p&gt;    &lt;p&gt;If the command returns a “replication operation was preempted” error, then perform the following steps:&lt;/p&gt;    &lt;p&gt;&lt;b&gt;2.&lt;/b&gt; Run “repadmin /rehost specifying the name of both the target source DC (the good DC hosting a writable copy of the rehosted partition).”&lt;/p&gt;    &lt;p&gt;“repadmin /rehost &amp;lt;rehosted GC hostname&amp;gt; &amp;lt; DN path of rehosted naming context &amp;gt; &amp;lt;fully qualified DNS name of good DC hosting a writable copy of the domain partition &amp;gt;.”&lt;/p&gt;    &lt;p&gt;&lt;b&gt;3.&lt;/b&gt; Press Ctrl+C to stop the rehost command before the preemption error occurs.&lt;/p&gt;    &lt;p&gt;&lt;b&gt;4.&lt;/b&gt; Rerun the repadmin /rehost command, which should complete normally.&lt;/p&gt;    &lt;p&gt;“repadmin /rehost &amp;lt; rehosted GC hostname &amp;gt; &amp;lt; DN path of rehosted naming context &amp;gt; &amp;lt; fully qualified DNS name of good DC hosting a writable copy of the domain partition&amp;gt;”&lt;/p&gt;    &lt;p&gt;&lt;b&gt;5.&lt;/b&gt; Run repadmin /showreps /v against the destination DC and confirm replication of the read-only partition completed.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;b&gt;C. Move extraneous replication connections off the DC that needs to be updated:&lt;/b&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;b&gt;1.&lt;/b&gt; This can be accomplished by moving the DC to a test site&amp;#160; (so that it has fewer replication connections). OR:&lt;/p&gt;    &lt;p&gt;&lt;b&gt;2.&lt;/b&gt; Temporarily configure this server so that it is not a preferred bridgehead server so that the KCC removes the connections&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;As always, let me know if you have any questions!&lt;/p&gt;  &lt;p&gt;Justin&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3289840" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/justinturner/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Windows+Server+2003/default.aspx">Windows Server 2003</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category></item><item><title>Sysinternals developer answers your toughest Vista questions...</title><link>http://blogs.technet.com/justinturner/archive/2008/08/29/sysinternals-developer-answers-your-toughest-vista-questions.aspx</link><pubDate>Fri, 29 Aug 2008 23:37:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3114111</guid><dc:creator>justintu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/justinturner/comments/3114111.aspx</comments><wfw:commentRss>http://blogs.technet.com/justinturner/commentrss.aspx?PostID=3114111</wfw:commentRss><description>&lt;P&gt;&lt;FONT size=3&gt;Hi Everybody!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;This should be a pretty good presentation on Windows Vista internals.&amp;nbsp; Mark Russinovich has co-authored several &lt;A href="http://technet.microsoft.com/en-us/sysinternals/bb963901.aspx" target=_blank mce_href="http://technet.microsoft.com/en-us/sysinternals/bb963901.aspx"&gt;books&lt;/A&gt; on Windows Internals, and is one of the developers for all of the cool troubleshooting utilities over at our &lt;/FONT&gt;&lt;A href="http://technet.microsoft.com/en-us/sysinternals/default.aspx" target=_blank mce_href="http://technet.microsoft.com/en-us/sysinternals/default.aspx"&gt;&lt;FONT size=3&gt;Sysinternals site&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Springboard Series Virtual Roundtable &lt;BR&gt;Under the Hood: Windows Vista Performance...Need Answers?&lt;/B&gt; &lt;BR&gt;&lt;A href="http://blogs.technet.com/blogfiles/justinturner/WindowsLiveWriter/Sysinternalsdeveloperanswersyourtoughes_D9EE/image002_2.jpg" mce_href="http://blogs.technet.com/blogfiles/justinturner/WindowsLiveWriter/Sysinternalsdeveloperanswersyourtoughes_D9EE/image002_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=100 alt=image002 src="http://blogs.technet.com/blogfiles/justinturner/WindowsLiveWriter/Sysinternalsdeveloperanswersyourtoughes_D9EE/image002_thumb.jpg" width=80 border=0 mce_src="http://blogs.technet.com/blogfiles/justinturner/WindowsLiveWriter/Sysinternalsdeveloperanswersyourtoughes_D9EE/image002_thumb.jpg"&gt;&lt;/A&gt; Join Mark Russinovich and a panel of industry experts for a LIVE virtual roundtable to explore your top of mind performance issues, common misconfigurations, and tips on how to fix them. From boot times and applets to disk performance and battery life, find out how to optimize Windows Vista and what you can do to improve overall system performance.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Submit your performance questions live during the event or send them in advance to &lt;A href="https://mail.microsoft.com/redir.aspx?C=8783b8ce82a342c68c9ddcd3bb79ac04&amp;amp;URL=mailto%3avrtable%40microsoft.com" mce_href="https://mail.microsoft.com/redir.aspx?C=8783b8ce82a342c68c9ddcd3bb79ac04&amp;amp;URL=mailto%3avrtable%40microsoft.com"&gt;vrtable@microsoft.com&lt;/A&gt;. &lt;BR&gt;&lt;B&gt;&lt;BR&gt;&lt;/B&gt;&lt;B&gt;Save the date!&lt;/B&gt; &lt;BR&gt;Wednesday, September 24, 2008 &lt;BR&gt;9:00am Pacific Standard Time&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/justinturner/WindowsLiveWriter/Sysinternalsdeveloperanswersyourtoughes_D9EE/image003_2.png" mce_href="http://blogs.technet.com/blogfiles/justinturner/WindowsLiveWriter/Sysinternalsdeveloperanswersyourtoughes_D9EE/image003_2.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=94 alt=image003 src="http://blogs.technet.com/blogfiles/justinturner/WindowsLiveWriter/Sysinternalsdeveloperanswersyourtoughes_D9EE/image003_thumb.png" width=390 border=0 mce_src="http://blogs.technet.com/blogfiles/justinturner/WindowsLiveWriter/Sysinternalsdeveloperanswersyourtoughes_D9EE/image003_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Find answers to your Windows Vista adoption questions with resources, tools, monthly straight-talk articles, and upfront guidance based on early adopter and community feedback. To learn more, visit &lt;A href="https://mail.microsoft.com/UrlBlockedError.aspx" mce_href="https://mail.microsoft.com/UrlBlockedError.aspx"&gt;www.microsoft.com/springboard&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Springboard Series: &lt;I&gt;The &lt;/I&gt;resource for Windows desktop IT professionals&lt;/B&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3114111" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/justinturner/archive/tags/Vista/default.aspx">Vista</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Server+2008/default.aspx">Server 2008</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Announcements/default.aspx">Announcements</category></item></channel></rss>