I am setting up active directory integrated DFS on two servers DC01 and DFS01.
I am also setting up the optional remote differential compression feature on both servers.
Install the DFS role
Now that DFS is installed open DFS management from the tools menu.
and create a new name space
Enter the name of namespace server in this case DC01
enter a name for the namespace in this case Public and click on Edit Settings.
Here you can edit the shared folder permission as required.
here you can choose between stand alone and domain based name spaces check 2008 mode unless you have some reason to use 2003. Then click next.
Select a shared folder that you created previously (or Now)
click ok and ok
Now is a good time to install DFS on the other server DFS01
After that it is time to set up replication
browse for the replica server and share to use as a target.
and ok again
Click ok to create a replication group
Select the primary member this should be the share that has data in it. If they both do the data in the primary member will copy to the secondary and the data in the secondary will be erased. So make sure the secondary does not contain anything you need.
choose the topology a mesh is fine for a few servers but if you have many you might want to consider a hub and spoke topology.
you can adjust the schedule and bandwidth as appropriate here but I am leaving it at the defaults.
Now anyone who has permission can see files in \\example.local\public