Link to home
Create AccountLog in
Avatar of Lizandro Diaz
Lizandro DiazFlag for United States of America

asked on

DFS Configuration

Hello Pros.

I configured DFS on two servers.... everything is working as it should, if I make a folder on any server it will appear on the other share.... so everything is working fine, except for one thing.
If the main DFS server is shutdown, users cannot access the shared folders... What am I doing wrong?

If I right click on the DFS folder for a user on the (referral list) there's only one server the main DFS server) how can I add the other server?

Thanks in advance...
Avatar of Michael W. Krout
Michael W. Krout
Flag of United States of America image

Did you set up a Replication Topology?  Without the replication topology the DFS servers will not know which to replicate to.   When you add a target you can select which is going to be the perferred.  But, the replicaiton must take place first.   Then the switchover should happened automatically.

Let me know if you have anything else,

Thanks,

Idea Dudes
You will need to add a 'folder target'.
Avatar of Lizandro Diaz

ASKER

Idea Dudes,

Yes I setup the replication topology, followed the wizard, chose the preferred server and still,  is it right that If I right click on the DFS folder for a user on the (referral list) there's only one server the main DFS server) ?
Replication is not the problem here.  When you use the DFS namespace, you only have one folder target specified.  A second one needs to be added for that namespace which will point to the location on your second server.  This means that if one target is offline (for any reason) you will have the option of the other target.  Replication only makes sure that your files will be accessible when this happens.
Did you set up a target?   WIthout a target then the server will be all alone.   The target will be used to switchover.   You will have a preference number that you can set so that the server is selected based on the power.   I am currently working on this very project.  We are creating a two node DFS.   Make sure that you set up a target , replication topology is set correctly, Check the properties of the target and make sure that you have two servers connected.   Then when there is an interruption with communications, it should failover to the other server.

Let me know your findings,

Thanks,

Idea Dudes
Idea Dudes, SparkyBoy....

Where do I go to add the second target?User generated image
Click on your shared namespace (rather than replication) and under the 'Folder Target' tab you will see your existing target.  There you will find a link to add another.
Can you send a screen shot of the targets?  What abou the properties of the targets?

Idea Dudes
User generated image
I added the other server and target folder...
Well done, though I don't seem them in the screenshot.  Is this from before you added the target?
This is after I added the target...
Did you test the failover?   Shutdown the main server and see if your namespace and targets are still available.

Idea Dudes
You sure you added the new folder target to 'dfs2' and refreshed the screen.  Sorry to state the obvious if you have.
After I added the other target folder, I still have the same problem.

User generated image
What happens when you click the Check Status?   What does it bring back?

Idea Dudes
Can you send a screen shot showing the second target which has been added?
What happens when you click the Check Status?   What does it bring back?

Idea Dudes (If turn off the main dfs server, it says unreachable, when the server is on, DFS works perfect.

SparkyBoy: Can you send a screen shot showing the second target which has been added?
I'm still unsure how to add a second target..
Here you go.   This is a Step-By-Step guide for configuring DFS.

http://technet.microsoft.com/en-us/library/cc732863(v=ws.10).aspx

Thanks,

Idea Dudes
To add a second folder target to the Tools folder

--------------------------------------------------------------------------------


1.
In the console tree of the DFS Management snap-in, right-click the Tools folder, and then click Add Folder Target.

2.
Click Browse to open the Browse for Shared Folders dialog box.

3.
In Server, enter the name of another server that will host the Tools shared folder. Be sure to enter a different server from the one you specified in the previous procedure.

4.
Click New Shared Folder.

5.
In the Create Share dialog box, in the Share name box, type Tools, and then enter the local path where you want the shared folder to be created. If the folder does not exist, you are prompted to create it. Click OK to close all dialog boxes.

6.
You are prompted to choose whether to create a replication group for these folder targets. For now, click No. You will enable DFS Replication on this folder in a later task.
I shutdown the main DFS server, while that server was restarting I created a new folder on the other server and it made that change on the main dfs, that's good. My only problem here is that when I shutdown the main DFS, users cannot access their shared, because the other server doesn't take over.
Check out this article:

http://allcomputers.us/windows_server/Windows-Server-2008-R2---Installing-DFS-(part-1)---Creating-the-DFS-Namespace-and-Root---Adding-an-Additional-Namespace-Server-to-a-Domain-Based-Namespace.aspx

There are two parts to it.... but it is step by step instructions.... you are probably missing one little thing...

My suggestion...compare your environment to the one in this article.   Restep through the whole environment.

Thanks,

Idea Dudes
ideadudes

The steps you sent, I can't find those... I'm using a Windows 2008 R2User generated imageUser generated image
ASKER CERTIFIED SOLUTION
Avatar of Michael W. Krout
Michael W. Krout
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
You see when you select your dfs namespace share (left-hand side of window), over on the far right you will see 'Add folder target'.
Hey you guys, thanks for helping me isolate the issue... I really appreciate you both for all input, I'm very grateful for you help..

Well I ended up doing it all over again as Idea Dudes following the link he posted:
http://allcomputers.us/windows_server/Windows-Server-2008-R2---Installing-DFS-(part-1)---Creating-the-DFS-Namespace-and-Root---Adding-an-Additional-Namespace-Server-to-a-Domain-Based-Namespace.aspx

And it now works as I wanted to work...

Now I can turn off the one server and users can still access their folders.....

Once again, I appreciate your help...
Best regards from DCUser generated image