{"id":518,"date":"2014-11-30T20:56:44","date_gmt":"2014-11-30T20:56:44","guid":{"rendered":"http:\/\/zulfikar.co.uk\/blog\/?p=518"},"modified":"2014-12-02T12:49:37","modified_gmt":"2014-12-02T12:49:37","slug":"migration-guide-frs-to-dfs-replication","status":"publish","type":"post","link":"http:\/\/zulfikar.co.uk\/blog\/migration-guide-frs-to-dfs-replication\/","title":{"rendered":"Migration Guide: FRS to DFS Replication"},"content":{"rendered":"<p>In an effort to reduce SYSVOL bloat and replication across Domain Controllers (DCs) consider using DFS Replication (DFSR). A bigger reason however is that FRS is no longer supported in Server 2012, so if you plan to upgrade DCs to Server 2012 &#8211; then you must do this first. Want a third reason? If you are using Read Only DCs (RODCs) and are still on FRS it is easy for the SYSVOL on the RODC to become out of synch with other DCs; better still in Server 2008 R2 and above DFS-R ensures that the RODC SYSVOL can never be modifed.<\/p>\n<p>DFS-R simply provides better and more efficient synchronisation than the old world File Replication Service (FRS). Prior to proceeding you may want to indeed check\u00a0 and make sure that you are not already using DFS-R. Jump into a command prompt and type in this command:<\/p>\n<p><strong>Dfsrmig \/GetGlobalState<\/strong><\/p>\n<p>If the output is shown as &#8220;<strong>Current DFSR global state: &#8216;Eliminated&#8217;<\/strong>&#8221; then you are already using DFS-R and there is no need to go any further. <span style=\"text-decoration: underline;\">Stop right here.<\/span><\/p>\n<figure id=\"attachment_527\" aria-describedby=\"caption-attachment-527\" style=\"width: 547px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2014\/11\/dfs-r.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-527\" src=\"http:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2014\/11\/dfs-r.png\" alt=\"dfsrmig command\" width=\"547\" height=\"305\" srcset=\"http:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2014\/11\/dfs-r.png 547w, http:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2014\/11\/dfs-r-300x167.png 300w\" sizes=\"(max-width: 547px) 100vw, 547px\" \/><\/a><figcaption id=\"caption-attachment-527\" class=\"wp-caption-text\">dfsrmig command<\/figcaption><\/figure>\n<table style=\"height: 43px;\" border=\"1\" width=\"834\">\n<tbody>\n<tr>\n<td><strong>Did You Know:<\/strong><\/td>\n<td>the DFS-R migration process actually uses Robocopy (yes! Robocopy) to copy the SYSVOL data at various stages<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4><span style=\"color: #000080;\">Gotcha&#8217;s<\/span><\/h4>\n<p>All Domain Controllers need to be online and available. If you have any redundant DCs listed and they have not been cleaned up (meta data an&#8217; all!) then do so before starting this task<\/p>\n<p>Depending on what Server OS and Service Pack Level you are on ALL DCs may need to be located in the default Domain Controllers OU. If they are located in a sub OU or elsewhere (for policy reasons usually) then consider moving them into the default location temporarily during the migration<\/p>\n<p>The PDC Emulator MUST be online during the whole process &#8211; that&#8217;s the dude with the most up to date Policy and it is the DC that this whole process talks to the most<\/p>\n<p>You need at least a Windows 2008 Functional Level for your Domain, so get rid of those soon to be end of life Server 2003 R2 DCs first<\/p>\n<h4><span style=\"color: #000080;\">4 Steps to DFS-R<\/span><\/h4>\n<p>There are 4 steps to migrate from FRS to DFS-R using the <strong>Dfsrmig<\/strong> command:<\/p>\n<ol>\n<li><span style=\"color: #000080;\"><strong>Health Check<\/strong><\/span>: Run the following commands to check the health of current replication\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Ensure there is enough free disk space on each Domain Controller for the migration<\/li>\n<li>Run <strong>repadmin \/replsummary<\/strong> to ensure current replication is healthy, resolve any issues<\/li>\n<li>Run <strong>repadmin \/showrepl * \/csv &gt; replication.txt<\/strong> to ensure current replication is healthy, resolve any issues in the output file<\/li>\n<\/ol>\n<\/li>\n<li><span style=\"color: #000080;\"><strong>Migrate to Prepared State<\/strong><\/span>: Use the command <strong>Dfsrmig \/SetGlobalState 1<\/strong> to begin the migration, use <strong>Dfsrmig \/GetMigrationState<\/strong> to check the current status of this step. Do NOT proceed until this step is complete<\/li>\n<li><span style=\"color: #000080;\"><strong>Migrate to Redirected State<\/strong><\/span>: Use the command <strong>Dfsrmig \/SetGlobalState 2<\/strong> for this second step, use <strong>Dfsrmig \/GetMigrationState<\/strong> to check the current status of this step. Do NOT proceed until this step is complete. If you wish to stay with FRS for SYSVOL replication then stop here.<\/li>\n<li><span style=\"color: #000080;\"><strong>Migrate to Eliminated State<\/strong><\/span>: [<span style=\"color: #ff0000;\"><strong>NOTE:<\/strong> <\/span>There is no going back after this step! You have been warned] Use the command <strong>Dfsrmig \/SetGlobalState 3<\/strong> for this final step, use <strong>Dfsrmig \/GetMigrationState<\/strong> to check the current status of this step. Once this step is complete so is the migration.<\/li>\n<\/ol>\n<p>That&#8217;s all there is too it. Honest.<\/p>\n<p>If you did execute Step 4 in error, then as I said there is no going back. Ever. Except of course unless you rebuild the whole domain (a whole lot of fun for you then!).<\/p>\n<h4><span style=\"color: #000080;\">Clean Up Tasks &#8211; get rid of FRS!<\/span><\/h4>\n<p>Now that you have succesfully migrated to DFS-R you now need to<\/p>\n<ul style=\"list-style-type: square;\">\n<li>Delete the old SYSVOL directory<\/li>\n<li>Disable and then Remove the NTFRS Service<\/li>\n<\/ul>\n<p>You really should download and read the full Microsoft guide found here: <a title=\"SYSVOL Replication Migration Guide: FRS to DFS Replication\" href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd640019(WS.10).aspx\" target=\"_blank\">http:\/\/technet.microsoft.com\/en-us\/library\/dd640019(WS.10).aspx<\/a><\/p>\n<p>As usual, get in touch if you have any questions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In an effort to reduce SYSVOL bloat and replication across Domain Controllers (DCs) consider using&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"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,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[3,10],"tags":[420,227,233,246,225,231,224,137,229,228,230,244,248,247,226,232,245],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p502c8-8m","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/posts\/518"}],"collection":[{"href":"http:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=518"}],"version-history":[{"count":7,"href":"http:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/posts\/518\/revisions"}],"predecessor-version":[{"id":528,"href":"http:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/posts\/518\/revisions\/528"}],"wp:attachment":[{"href":"http:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=518"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}