27 August, 2012

Changing Two Way Replication to One Way in DFSR on RODC

In my earlier post, we discussed about how to configure One-Way Replication and Two-Way Replication in DFSR on Windows m2008 R2 Server (Even though the post were related to RODC, but they do apply the same even on a writable domain controllers)

Configuring One Way Replication in RODC
http://www.adshotgyan.com/2012/07/configuring-one-way-replication-in-rodc.html

Configuring Two Way Replication in RODC
http://www.adshotgyan.com/2012/08/configuring-two-way-replication-in-rodc.html

In this post, we will dicuss what if we want to change Two way replication (Already configured) to a One Way Replication

So Guys.... What are we waiting for.... Let`s get started :)

Lab

1. One Writable Domain Controller - MyDC
2. One Read Only Domain Controller - MyRODC

3. One Replication Group - Two Way Replication
4. One Replicated Folder - Two Way Data

Currently, we have a RG named Two Way Replication which has a RF named Two Way Data. The RG consist of two servers involved in Replication - MyDC and MyRODC


Looking at the Volume_.XML File on the server "MyDC", We can clearly see that the server MyDC for the RF "One Way Data" has a writable connection since its ReadOnly Attribute in the XML file is set to FALSE



Also, looking at the Volume_.XML File on the server "MyRODC", We can see that the server MyRODC for the RF "One Way Data" has a Read Only connection since its ReadOnly Attribute in the XML file is set to FALSE



Let`s the game begin....

We are now going to change the connection from Read Write to Read Only for the Server "MyRODC" for the RF "Two Way Data"



Done...



I know... As usual, You don't believe me.... You want a Proof?

Let`s go into the XML File on MyRODC and Lets check the value of "ReadOnly" attribute (Remember this value was earlier set to FALSE as this connection was Read Write)


Cool... So the RedOnly Attribute is Set to TRUE... Which means, this connection is Read Only


U still dont trust me... (Trust... hmm.... Its really tough to trust somebody....Just trust yourself...)

Coming back to DFSR :)

To prove my point, let me try to create a file in the folder which is now Read Only on the Server MyRODC

YES.... Again... RHS=LHS (I am unable to create a file since the folder is Read Only)


WAIT.... If you think that its over, then you are mistaken.... You have made a mistake in the above configuration, now rectify it by reading the following post... (Skip Reading this Post if you can afford to loose your data :))

Want to Change Read Only to Read Write in DFSR??? Really???
http://www.adshotgyan.com/2012/08/want-to-change-read-only-to-read-write.html