DFS namespace and DFS replication migration with referral and target testing.
Blueprint for moving namespace targets and replication members while keeping client referrals predictable.
Blueprint for moving namespace targets and replication members while keeping client referrals predictable.
DFS migrations affect namespace targets, referrals, replication partnerships, and client caching. Start by documenting who consumes the namespace, which targets exist today, and where clients should land after the change.
Runbook note: Branch offices with latent WAN links need explicit referral testing because namespace behavior can look healthy at headquarters while remaining wrong at the edge.
Command path:
Get-DfsnRootGet-DfsnFolderTarget -Path "\\\\corp.example.com\\Data\\Projects"dfsrdiag backlog /rgname:"Projects" /rfname:"Projects"Get-DfsrMembershipGUI path: DFS Management > Namespaces and Replication, including folder targets, namespace servers, and replicated-folder memberships.
Introduce new namespace servers or replication members before removing old ones. The goal is overlap with measurable convergence, not a blind swap.
Command path:
New-DfsnFolderTarget -Path "\\\\corp.example.com\\Data\\Projects" -TargetPath "\\\\NEW-FS25\\Projects"Add-DfsrMember -GroupName "Projects" -ComputerName NEW-FS25dfsrdiag backlog /rgname:"Projects" /rfname:"Projects" /smem:OLD-FS01 /rmem:NEW-FS25GUI path: DFS Management > Namespace root or folder > Add Folder Target, then Replication > Members and Connections.
Once replication is current, alter referral ordering or target priority so clients begin using the new path in a controlled way, then validate access from each important site.
Command path:
Set-DfsnFolderTarget -Path "\\\\corp.example.com\\Data\\Projects" -TargetPath "\\\\NEW-FS25\\Projects" -ReferralPriorityClass GlobalHighdfsutil /pktflushdfsutil /pktinfoTest-Path \\\\corp.example.com\\Data\\ProjectsGUI path: DFS Management > Namespaces > Folder Targets for priority changes, then client sessions or pilot hosts for referral-cache testing.
Retirement is the last step. Once clients consistently land on the new targets and replication backlogs are clear, remove old targets and update operations ownership.
Command path:
Remove-DfsnFolderTarget -Path "\\\\corp.example.com\\Data\\Projects" -TargetPath "\\\\OLD-FS01\\Projects"Remove-DfsrMember -GroupName "Projects" -ComputerName OLD-FS01Get-WinEvent -LogName "DFS Replication" -MaxEvents 50GUI path: DFS Management > Namespaces and Replication for target retirement, plus Event Viewer for DFS Replication validation.