Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

two way home drive replication for active/active DC

Posted on 2014-03-31
11
Medium Priority
?
617 Views
Last Modified: 2014-05-20
Hi All,

can anyone please suggest me what is the best way to create a folder for home drives that is replicated both ways from one DC to another DC ?

The OS and Domain Controllers on both sites are all Windows Server 2012 R2.

I'm currently considering building an active/active terminal server and remote desktop solution where user can be spread across two different data centers.

Any help and assistance would be greatly apprecaited.

Thanks,
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 37

Expert Comment

by:Mahesh
ID: 39966597
Note I assumed that both DCs are in different site
However you can create DFS replica within Two servers in same site also.

You can deploy DFS name space and replication between TWO DCs at two sites
1st create DFS name space Ex: \\domain.com\Userdata on 1st DC
Then add your shared folder as DFS folder target on that server
Then add replica of that folder on another DC in another site
Then publish another replica folder as another folder target in DFS name space
Then add another DC as name space server in DFS
Now if users from site A trying access \\domain.com\userdata they will be get connected to site A DC 1st for file access because DFS is AD site aware application, if site A server gone down, they can automatically connected to site B DC for file access due to referrals
The same case is applicable to shared folders in Site B

Select Mesh topology so that both side folders can Replicate folders

Check below article for how to setup
http://mizitechinfo.wordpress.com/2013/08/21/step-by-step-deploy-dfs-in-windows-server-2012-r2/
http://blogs.technet.com/b/josebda/archive/2009/08/21/three-ways-to-design-your-dfs-namespaces.aspx

Mahesh.
0
 
LVL 8

Author Comment

by:Senior IT System Engineer
ID: 39969402
Thanks Mahesh, does it have to be on the same AD site or it can be on different AD site ?
0
 
LVL 37

Expert Comment

by:Mahesh
ID: 39970309
You can have it in same site or within different site

Anyhow, In the event of a server failure, DFS refers client computers to the next available server, so users can always access shared folders without interruption.

In normal cases DFS replication can be best used within sites
For Ex: Production Site and DR site

By default DFS locate DFS servers in same active directory site as client and if you keep your both servers in same site, clients can get connected to any one server in the same site and then any changes will get replicated to another server in same site

Mahesh.
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 8

Author Comment

by:Senior IT System Engineer
ID: 40014592
mahesh, does in this case with DFS-R is there any way to do file locking mechanism / federation service ?
0
 
LVL 37

Expert Comment

by:Mahesh
ID: 40014630
Sorry, unable to understand last comment ?

Where federation service came in picture here ?
0
 
LVL 8

Author Comment

by:Senior IT System Engineer
ID: 40014636
I don't know that's why I'm asking :-)

is there any way to prevent one user logging in twice into two different home drives at the same time ?
0
 
LVL 37

Expert Comment

by:Mahesh
ID: 40014766
Ok
Federation service is not required

1st of all why same user will logon twice to his home directory from two locations ?

Also if both DFS servers are in same site, you can configure that users can connect to any sopecific folder target on particular server only and you can simply disable another folder target (Replica) for user to avoid file locking issues if same user logged on from multiple machines in same site
0
 
LVL 8

Author Comment

by:Senior IT System Engineer
ID: 40014784
Mahesh,

The reason that the user could possibly be logging in into different home folder in another data center is that because I'd like to implement the below architecture of remote Terminal Server spread across two different data center (Active/Active)

Active/Active Data center
if somehow the user went out for lunch and then relogin back again, the GSLB in this case Citrix Netscaler randomly assign the user into either one of the two Windows Server 2012 terminal server (RDS) in those two DC.
0
 
LVL 37

Expert Comment

by:Mahesh
ID: 40014882
If users are logging of theer sessions, then you will face issues, however if they disconnect the sessions, they should get connected to same will Why don't you ask your user to discoonect the sessions instead of logoff
and
Is it possible to set on netscaler that reconnection from same computer should direct to same server as previous one.
may ne netscaler can set affinity just like windows NLB ?
0
 
LVL 8

Author Comment

by:Senior IT System Engineer
ID: 40024606
"Is it possible to set on netscaler that reconnection from same computer should direct to same server as previous one.
may ne netscaler can set affinity just like windows NLB ?"


Well, unfortunately it is not possible for the Citrix Netscaler to do it.
0
 
LVL 37

Accepted Solution

by:
Mahesh earned 2000 total points
ID: 40024892
If you cannot control NetScaler,  then its not possible to get user to same home directory server again as previous one

The other alternative I can see, use actual server hostname (folder targets) to connect to Home drives

For Ex: DFS folder target for home drive is \\contoso.com\homedrives\UserA
Where folder targets can be \\RDS1\userdata\UserA and \\RDS2\userdata\UserA

Now your users will always get connected to home drives on single server only no matter to which terminal server they get connected and same time your Home Drives will get replicated through DFS replica

Is that what you are looking for ?

Mahesh.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question