If you need a global, distributed file system with high availibility DFS is for you. You can share a folder and make it high available across the WAN. It is simple to set up, easy to use and very quick to replicate.
Today I am going to show you how to set it up. I am going to have a text version and once I have a bit more time I will give you a screenshot version.
I have two Windows 2008 R2 servers, one as my domain controller and a second one just as a member server.
You will need to install DFS Role on two servers, otherwise you won't be able to configure it.
Installing DFS (Follow these steps on both Servers)
- Click on [Start]
- Click on "Administrative Tools"
- Click on "Server Manager"
- Click on "Roles"
- Click on "Add Roles"
- Click on <Next>
- Select "File Services" then click on <Next>
- Click on <Next> once again
- Tick the boxes:
- File Server
- Distributed File System
- DFS Namespace
- DFS Replication
- After selecting the options above, click on <Next>
- Select "Create a namespace later" and click <Next>
- Click "Intall"
- Once the installation has been complete, click on <Close>
Configuring DFS Role and Namespace
- Click on [Start]
- Click on "Administrative Tools"
- Click on "DFS Management"
- Click on "Replication"
- Click on "New Replication Group..."
- Select the option "Replication Group for data collection" and click on <Next>
- Within the field "Name of replication group" type a descriptive name i.e: MyReplication
- Within the field "Domain" type in your Windows domain name i.e: linuxad.int
- Click on <Next>
- Type in the destination server name i.e.: dfsrep01.linuxad.int
- Note: Remember that the DFS role needs to be installed on the destination server.
- Replace the server name with the name of your source server.
- Click on <Next>
- On "Replicated Folders" screen, click on [Add...]
- Choose the folder you wish to replicate for example: "C:\Data", then click on [OK]
- Click on <Next>
- Type in the destination Server Name i.e: dfsrep02.linuxad.int
- Note: Remember that the DFS role needs to be installed on the destination server.
- Replace the server name with the name of your source server.
- Click on <Next>
- Choose the destination foder for the replication data for example: "C:\Data", then click on <Next>
- Click on "Replicate Continuously using the specified bandwidth".
- Leave it in [Full] and click <Next>
- Click on [Create]
- then click on [OK]
This will give you a full DFS system with two servers, source and destination fully working.
There are some extra details, which need configuring, I will describe them later, keep posted.
by Renato Oliveira
No comments:
Post a Comment