{"id":2493,"date":"2016-10-05T21:52:20","date_gmt":"2016-10-05T20:52:20","guid":{"rendered":"http:\/\/www.edwardsd.co.uk\/work\/?p=2493"},"modified":"2016-10-05T21:52:20","modified_gmt":"2016-10-05T20:52:20","slug":"dfs-site-links-server-target-prioritization-reference-info","status":"publish","type":"post","link":"https:\/\/www.edwardsd.co.uk\/work\/2016\/10\/dfs-site-links-server-target-prioritization-reference-info\/","title":{"rendered":"DFS | Site Links, Server Target Prioritization &#038; Reference Info"},"content":{"rendered":"<p><strong>DFS Setup and Configuration Notes<\/strong><\/p>\n<p>I like DFS, the main issue I found is setting it up, tailoring it to your needs, debugging and configuring which can be a bit troublesome. I&#8217;ve spent a while trying to implement and tweak it for a\u00a0large\u00a0scale network (17 x Sites using\u00a0<a href=\"https:\/\/goo.gl\/lBZN9q\" target=\"_blank\">DFS-N &amp; DFS-R<\/a>) I&#8217;ve\u00a0list a number of articles\/URLs\u00a0which have proven useful on my DFS internet travels&#8230;<\/p>\n<hr \/>\n<p><strong><!--more-->&#8220;Pre-Seed\u00a0DFS Share Data&#8221;<\/strong><\/p>\n<p>I thought that using the built in DFS replication would be the best way to do this but it&#8217;s not. It is recommended to use tools to manually copy data and pre-seed as it is faster, robocopy is the weapon of choice for this:<\/p>\n<p><strong>Robocopy Command to Pre-Seed\u00a0<\/strong><strong>DFS Share Data<\/strong>:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">robocopy.exe &quot;\\\\srv01\\e$\\rf01&quot; &quot;d:\\rf01&quot; \/e \/b \/copyall \/r:6 \/w:5 \/MT:64 \/xd DfsrPrivate \/tee \/log:c:\\temp\\preseedsrv02.log<\/pre>\n<p><strong>Reference:<\/strong><\/p>\n<ul>\n<li><strong><a href=\"http:\/\/technet.microsoft.com\/en-gb\/library\/dn495052.aspx\" target=\"_blank\">Preseeding using Robocopy<\/a><\/strong><\/li>\n<li><strong><a href=\"http:\/\/blogs.technet.com\/b\/askds\/archive\/2008\/02\/12\/get-out-and-push-getting-the-most-out-of-dfsr-pre-staging.aspx\" target=\"_blank\">DFSR pre-staging<\/a><\/strong><\/li>\n<\/ul>\n<hr \/>\n<p><strong>&#8220;Correctly configuring the DFS Staging Folder and Conflict and Deleted Folder&#8221;<\/strong><\/p>\n<p>At a minimum, the staging folder quota should be at least the size of the 32 largest files in the replicated folder.<\/p>\n<p><strong>Powershell Command to find total size of 32 largest files (output in GB):<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">(Get-ChildItem &lt;replicatedfolderpath&gt; -recurse \u2013force | Sort-Object length -descending | select-object -first 32 | measure-object -property length -sum).sum \/1gb<\/pre>\n<p><strong>Reference:<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/cc754229.aspx\" target=\"_blank\">Edit the Quota Size of the Staging Folder and Conflict and Deleted Folder<\/a><\/li>\n<\/ul>\n<hr \/>\n<p><strong>&#8220;DFS Referral&#8221;\u00a0<\/strong><\/p>\n<p>A referral is an ordered list of DFS link targets that client computers receive from a domain controller or DFS namespace when a client computer accesses the DFS namespace or a DFS link with link targets. After the client computer receives the referral, the client computer attempts to access the first DFS link target in the list.<\/p>\n<ol>\n<li>If the DFS link target is not available, the client computer attempts to access the next target.<\/li>\n<li>DFS link targets in the client\u2019s site are always listed first in a referral.<\/li>\n<li>DFS link targets outside of the client\u2019s site are listed according to the ordering method you specify on the DFS namespace.<\/li>\n<li>DFS links inherit the DFS link target ordering method you specify for the DFS namespace. However, you can override the ordering method specified on the DFS namespace for specific DFS links.<\/li>\n<\/ol>\n<hr \/>\n<p><strong>Useful Commands<\/strong><\/p>\n<p>List of commands which are helpful for debugging and resolving DFS referral errors, i.e. checking the logon server clients are picking up information from, checking namespace replication is occurring, DFS service is enabled and Integrity of the information.<\/p>\n<p><strong>Check Local Logon Server:<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">echo %LOGONSERVER%<\/pre>\n<p>or<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">set l<\/pre>\n<p><strong>List DC&#8217;s in Domain:<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">nltest \/dclist:domain.com<\/pre>\n<p><strong>Check namespace configuration:<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">DFSDiag \/TestDFSConfig \/DFSRoot:&amp;lt;namespace&amp;gt; DFSDiag \/TestDFSConfig \/DFSRoot:\\\\Contoso.com\\MyNamespace <\/pre>\n<p><strong>Check individual namespace configuration and integrity<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">DFSDiag \/TestDFSIntegrity \/DFSRoot:&amp;lt;DFS root path&amp;gt; &#x5B;\/Recurse] &#x5B;\/Full]\r\nDFSDiag \/TestDFSIntegrity \/DFSRoot:\\\\Contoso.com\\MyNamespace \/Recurse \/Full&#x5B;\/text]&lt;\/pre&gt;\r\n&lt;strong&gt;Check referral responses:&lt;\/strong&gt;\r\n&lt;pre&gt;&#x5B;code language=&quot;text&quot;]DFSDiag \/TestReferral \/DFSPath:&amp;lt;DFS path for getting referrals&amp;gt; &#x5B;\/Full]\r\nDFSDiag \/TestReferral \/DFSPath:\\\\Contoso.com\\MyNamespace \/Full<\/pre>\n<p><strong>Show DFS Referral Target:<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">dfsutil \/pktinfo<\/pre>\n<p><strong>Reference:<\/strong><\/p>\n<ul>\n<li><strong><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc736784(v=ws.10).aspx\" target=\"_blank\">DFSUTIL application<\/a><\/strong><\/li>\n<\/ul>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DFS Setup and Configuration Notes I like DFS, the main issue I found is setting it up, tailoring it to your needs, debugging and configuring which can be a bit troublesome. I&#8217;ve spent a while trying to implement and tweak it for a\u00a0large\u00a0scale network (17 x Sites using\u00a0DFS-N &amp; DFS-R) I&#8217;ve\u00a0list a number of articles\/URLs\u00a0which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[23,44],"tags":[],"class_list":["post-2493","post","type-post","status-publish","format-standard","hentry","category-windows-server-2008","category-windows-server-2012"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pOPt8-Ed","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/2493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/comments?post=2493"}],"version-history":[{"count":13,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/2493\/revisions"}],"predecessor-version":[{"id":3190,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/2493\/revisions\/3190"}],"wp:attachment":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/media?parent=2493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/categories?post=2493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/tags?post=2493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}