Suppose I have two sites - A and B - both with 5/5 Mbps WAN links that are connected via L2L VPN. Each Site is defined in AD Sites 'n Services with its own domain controllers, etc. The problem is that for folder redirection to work "well" I would ideally like the folder redirection to occur based on which site the user hails from - for example, if user in site A, folder redirection would work with a share on A. Or, if the user happens to move to B, the folders would redirect to a location on B. Finally, the storage servers responsible for A and B's redirection (the locations they are pointed to) would replicate. Is this type of functionality possible in Group Policy/AD? Or do I have to use a single "abstracted" share that can route to the appropriate, replicated store based on subnet?
You can do this one of two ways.
The way that I would recommend is as follows:
Create a DFS namespace for your shares, something like
Add both servers to this DFS root.
Check the box so that clients prefer (or are required) to use a server located in their AD site. Yes, it's smart enough to determine this using subnets defined in AD Sites & Services
Set up replication between the two shares using DFS-R.
Make a GPO that redirects to
\\domain\usersand link it like you would any other OU. DFS is smart enough to refer them to the closest server based on info in AD Sites and Services.
The other way would be:
Set up DFR-R between the two servers, but don't add them to a namespace. This means the shares will be replicated, but won't share a common domain-based path.
You can link GPOs to sites, not just OUs. Link a GPO at each site that points to
\\server1\usersfor site 1 and like one that points to
\\server2\usersat site 2.
I prefer the first choice, because using a DFS namespace makes file server upgrades a breeze and it allows you to only have to maintain one GPO, while still allowing users that might roam to either site to dynamically map whatever server is closest.
Either way, DFS (in whether it's replication, namespaces, or both) should be involved.