In order to ensure highly availability of the namespaces It is a good practice to have multiple servers that holds DFS Namespaces. It is a common practice to add DFS Namespace role to existing servers (for example Domain Controllers or existing File Servers) but Contoso's administrators will use the best practice and they will use separated VMs that will hold all namespaces.

Design

  • Sites
    • Redmond (Headquarter with two DCs)
      • cont1dfs0
      • cont1dfs1
    • Seattle (new office with a single DC)
      • cont1dfs2

Install roles on DFS Namespace servers

# Install roles from a management server
Install-WindowsFeature -ComputerName cont1dfs0, cont1dfs1, cont1dfs2 -Name FS-DFS-Namespace -IncludeAllSubFeature -IncludeManagementTools
Get-WindowsFeature -ComputerName cont1dfs0 | Where-Object -Property Installed

Install Remote Administration tools on a management server

Install-WindowsFeature -Name RSAT-DFS-Mgmt-Con

Create DFS Namespace (done from a management server)

  • New Namespace
  • Select first server and later it will be possible to add more servers
      • cont1dfs0.ad.contoso.com
  • Type name
      • Documents
  • Domain-based namespace in Windows Server 2008 mode (this is mean that old Windows Server 2000 / 2003 mode will not be used)

Add namespace server

Contoso's admins will add more namespace servers to ensure highly-availability of the namespace.

  • Add Namespace Server
  • Results

Add Namespace folders

Now it is possible to add folders.

  • New Folder
  • Define name and add targets
  • I will skip configuration of the replication because replication will be described in the following article but also I recommend to use this replication wizard that will simplify configuration of the replication.
  • Now it is possible to access the share. Client is connected to the server according site where the client reside (if the File Server is running).
« Previous Next »

Part of the series

  1. Building highly available shares, DFS namespaces and replication topology (DFS-R) - Part 1 - New site in Active Directory
  2. Building highly available shares, DFS namespaces and replication topology (DFS-R) - Part 2 - File Servers
  3. Building highly available shares, DFS namespaces and replication topology (DFS-R) - Part 4 - What is replication? How DFS-R works? Can I use it as backup?
  4. Building highly available shares, DFS namespaces and replication topology (DFS-R) - Part 5 - DFS Replication