dfsrmig migration

Hello All,

Hope this post finds you in good health and spirit.

This post is regarding how to migrate FRS to DFSR using DFSRMIG.

Distributed File System Replication (DFSR) is a replication engine that help to use to replicate the changes from one server to another server via DFSR replication. it only replicate the changes , not entire contents. it available in Windows Server 2008 R2 and later, it acts as a replacement for the DFS Namespaces replication engine.

For FRS to DFS migration we usesย Dfsrmig.exeย utility. it can be available in windows resource KIT. please check Microsoft website for more info about utility.

Before start the FRS migration, forest function level must set to windows server 2008 or later. if your forest level is not done this please raise the forest and domain function level first then go for migration.

You can check the FRS status by using dfsrmig /getglobalstate , It will show current status of this.

1) Log in to domain controller as Domain admin or Enterprise Admin
2) Launch powershell console and type dfsrmig /getglobalstate. it will show whether DFSR migration has started or not.

There are four migration phases. and we must know about these phases before start the migration.

1) State 0 โ€“ Start
2) State 1 โ€“ Prepared
3) State 2 โ€“ Redirected
4) State 3 โ€“ Eliminated

State 0 โ€“ Start

With initiating this state, FRS will replicate SYSVOL folder among the domain controllers. It is important to have up to date copy of SYSVOL before begins the migration process to avoid any conflicts.

State 1 โ€“ Prepared

In this state while FRS continues replicating SYSVOL folder, DFSR will replicate a copy of SYSVOL folder. It will be located in %SystemRoot%\SYSVOL_DFRS by default. But this SYSVOL will not response for any other domain controller service requests.

State 2 โ€“ Redirected

In this state the DFSR copy of SYSVOL starts to response for SYSVOL service requests. FRS will continue the replication of its own SYSVOL copy but will not involve with production SYSVOL replication.

State 3 โ€“ Eliminated

In this state, DFS Replication will continue its replication and servicing SYSVOL requests. Windows will delete original SYSVOL folder users by FRS replication and stop the FRS replication.

In order to migrate from FRS to DFSR its must to go from State 1 to State 3.

Prepared State

  1. Log in to domain controller as Domain admin or Enterprise Admin
  2. Launch powershell console
  3. Type dfsrmig /setglobalstate 1 and press enter
  1. Type dfsrmig /getmigrationstate to confirm all domain controllers have reached prepared state

Redirected State

  1. Log in to domain controller as Domain admin or Enterprise Admin
  2. Launch powershell console
  3. Type dfsrmig /setglobalstate 2 and press enter
  1. Type dfsrmig /getmigrationstate to confirm all domain controllers have reached redirected state

Eliminated State

  1. Log in to domain controller as Domain admin or Enterprise Admin
  2. Launch powershell console
  3. Type dfsrmig /setglobalstate 3 and press enter
  1. Type dfsrmig /getmigrationstate to confirm all domain controllers have reached eliminated state

This completes the migration process and to confirm the SYSVOL share, type net share command and enter.

Also make sure in each domain controller FRS service is stopped and disabled.

This completes the migration process and to verify the SYSVOL share, type net share command and enter.

Additionally, be certain in each domain controller FRS service is stopped and disabled. This could occur automatically, however, please confirm.

So, thatโ€™s all in this blog. I will meet you soon with next stuff .Have a nice day !!!

Guys please donโ€™t forget to like and share the post. You can also share the feedback on below windows techno email id.

If you have any question feel free to contact us on admin@windowstechno.com also follow us on facebook@windowstechno to get updates about new blog posts.

How useful was this post?

Click on a star to rate it!