Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Windows Server 2008 R2 : Installing DFS (part 2) - Creating a DFS Folder and Replication Group & Configuring DFS Read-Only Replication

4/9/2011 4:30:29 PM

Creating a DFS Folder and Replication Group

Creating a DFS folder is similar to creating the DFS root. A folder can be created to target existing shares or folders beneath shares, or a new share can be created on the desired server or servers. As recommended previously, pre-create the file share on an NTFS folder and properly configure the share and NTFS permissions for each folder target that will be added to the folder.

When a new folder is created with multiple folder targets, a replication group can be created at the same time. To create a folder within an existing namespace, perform the following steps:

1.
Log on to the Windows Server 2008 R2 system with an account with local server administrator privileges.

2.
Pre-create and set NTFS permissions on the servers and shares that will host the DFS namespace folder.

3.
Click Start, click All Programs, click Administrative Tools, and select DFS Management.

4.
Select the Namespaces node, and then double-click the Namespaces node to expose the existing namespaces.

5.
If the desired namespace does not appear, in the Actions pane, click on the Add Namespaces to Display link and follow the steps to search for and add an existing namespace to the console view.

6.
Select the desired existing namespace, and in the Actions pane, click on the New Folder link.

7.
When the New Folder window opens, type in the name of the folder and click the Add button to locate the folder targets.

8.
After all the folder target servers have been added to the New Folder window, click OK to continue, as shown in Figure 4.

Figure 4. Defining a new folder and folder targets.


9.
When a new folder is created and multiple targets are specified, a Replication pop-up window opens, asking if a replication group should be created. Click Yes to create a new replication group for the folder targets.

10.
When the Replication Group and Replicate Folder Name window opens, review the name of the proposed replication group name and the replicated folder name, and click Next to continue. The prepopulated names will match the namespace and folder names.

11.
The Replication Eligibility page will display whether or not each of the folder targets are capable of DFS Replication. If all targets are eligible, click Next to continue.

12.
On the Primary Member page, click the Primary Member drop-down list arrow and select the folder target server that will be used to populate the remaining member folder targets. The data that exists in the folder of the primary target member will be replicated to each of the other targets. After selecting the desired primary server, click Next to continue.

13.
On the Topology Selection page, select the desired replication topology. For this example, select the Hub and Spoke option button, as shown in Figure 5, and click Next to continue.

Figure 5. Selecting the hub and spoke replication topology.

14.
On the Hub Members page, all servers will initially be listed in the Spoke Member section. Double-click the desired servers to move them to the Hub Member section, if they will be used as a hub server. Hub servers will replicate with all other servers and spoke servers will only replicate with the hub servers defined on this page. Once all the necessary hub servers are in the Hub Member section, click Next to continue.

15.
On the Hub and Spoke Connections page, each of the spoke servers will be listed with their required hub member and an optional hub member. Optional hub members will only be populated if multiple servers are selected as hub members in the previous step. Even though the hub servers are listed as required and optional, the spoke servers will replicate with both and a connection between each hub server and spoke system will be created. Also, hub servers will replicate with one another as well.

16.
On the Replication Group Schedule and Bandwidth page, select the desired bandwidth limitation if desired or set the hours replication to allowed, and click Next to continue.

17.
On the Review Settings and Create Replication Group page, review the selections and if everything looks correct, click Create.

18.
On the Confirmation page, if the replication group creation tasks were all completed successfully, click Close. Otherwise, select the Errors tab and review and repair the errors, and rerun the Replication Group Creation Wizard.

19.
Once the window is closed, back in the DFS Management console, double-click on the Replication node to reveal the new replication group and select it.

20.
In the tasks pane, with the new replication group selected in the tree pane, select the Connections tab to review the connections created from the previous steps.

Best Practices for DFS Replication

Following best practices for DFS Replication can help ensure that replication occurs as expected. Because file replication is triggered by a file version change or last-saved or modified time stamp, a standard file share might generate many replication changes, which can saturate the network bandwidth if no bandwidth constraints are placed within DFS Replication connections. To avoid such scenarios, follow as many of these suggestions as possible:

  • Start with empty DFS namespace folders and targets to keep from having to replicate any data at the root level. Also, this can simplify the restore process of a DFS root folder because it contains only folders that are managed by DFS.

  • Do not replicate data between DFS namespace shares because the namespace shares will try to replicate the data in the namespace folders as well as the data contained within the folder targets. Replication is not necessary if the folder targets are already replicating. Because the roots will not replicate for redundancy, deploy domain DFS namespaces and add additional namespace servers.

  • Back up at least one DFS folder target and configure the backup to not update the archive bit. Changing the archive bit might trigger unnecessary replication.

  • Thoroughly test server operating system antivirus programs to ensure that no adverse effects are caused by the scanning of files on a replicated DFS target. Also, configure server antivirus to scan at write operations only and configure clients to scan on read operations to ensure complete antivirus protection for DFS servers and clients.

  • Verify that the drive that will contain the staging folder for a replication connection contains ample space to accept the amount of replicated data sent and received by the server.

Having a high number of read-write operations is not desirable because it causes heavy replication, and in a scenario like this, DFS Replication should be performed during off-peak hours unless Windows Server 2008 R2 DFS Replication can be used in conjunction with bandwidth constraints.

Configuring DFS Read-Only Replication

Windows Server 2008 R2 now allows for a replicated folder to be defined as read-only. This can be configured once a replication group is defined. As a best practice, when read-only replicated folders are desired, select the No Topology option button on the Topology Selection page when running the Replicate Folder Wizard. Once a replication group is created, select the replication group in the tree pane, and in the tasks pane select the Memberships tab. Right-click the desired Replicated Folder member and select Make Read-only, as shown in Figure 6.

Figure 6. Converting a replicated folder to read-only.

As a best practice, when using read-only replicated folders, configure replication connections to be one-way to the read-only folder.

Enabling Access-Based Enumeration on a Domain-Based Namespace in Windows Server 2008 Mode

When a domain-based namespace is created and Windows 2008 mode is enabled, access-based enumeration can be enabled, but it is not by default. To enable access-based enumeration on a domain-based namespace in Windows Server 2008 mode, locate the namespace in DFS Management. Right-click the namespace and select Properties. Select the Advanced tab and check the Enable Access-Based Enumeration for This Namespace check box at the bottom of the window. Click OK to complete the change. One thing to keep in mind is that this will apply to the entire namespace and any and all folders and folder targets defined in the namespace.

Other -----------------
- Windows Server 2008 R2 : Installing DFS (part 1) - Creating the DFS Namespace and Root & Adding an Additional Namespace Server to a Domain-Based Namespace
- Windows Server 2008 R2 : File System Management and Fault Tolerance - Planning a DFS Deployment
- Windows Server 2008 R2 : File System Management and Fault Tolerance - The Distributed File System
- Windows Server 2003 : Creating Role-Specific Server Configurations (part 2) - Securing Infrastructure Servers & Securing File and Print Servers
- Windows Server 2003 : Creating Role-Specific Server Configurations (part 1) - Securing Domain Controllers
- Exchange Server 2010 Management and Maintenance Practices : The Exchange Control Panel
- Exchange Server 2010 Management and Maintenance Practices : Maintenance Tools for Exchange Server 2010
- Exchange Server 2010 Management and Maintenance Practices : Proper Care and Feeding of Exchange Server 2010
- SharePoint 2010 : Designing and Managing Pages and Sites for Knowledge Workers - Reviewing Site Features and Site Collection Features
- SharePoint 2010 : Designing and Managing Pages and Sites for Knowledge Workers - Understanding and Using Site Variations
 
 
Top 10 video Game
-   Minecraft Mods - MAD PACK #10 'NETHER DOOM!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
-   Minecraft Mods - MAD PACK #9 'KING SLIME!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
-   Minecraft Mods - MAD PACK #2 'LAVA LOBBERS!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
-   Minecraft Mods - MAD PACK #3 'OBSIDIAN LONGSWORD!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
-   Total War: Warhammer [PC] Demigryph Trailer
-   Minecraft | MINIONS MOVIE MOD! (Despicable Me, Minions Movie)
-   Minecraft | Crazy Craft 3.0 - Ep 3! "TITANS ATTACK"
-   Minecraft | Crazy Craft 3.0 - Ep 2! "THIEVING FROM THE CRAZIES"
-   Minecraft | MORPH HIDE AND SEEK - Minions Despicable Me Mod
-   Minecraft | Dream Craft - Star Wars Modded Survival Ep 92 "IS JOE DEAD?!"
-   Minecraft | Dream Craft - Star Wars Modded Survival Ep 93 "JEDI STRIKE BACK"
-   Minecraft | Dream Craft - Star Wars Modded Survival Ep 94 "TATOOINE PLANET DESTRUCTION"
-   Minecraft | Dream Craft - Star Wars Modded Survival Ep 95 "TATOOINE CAPTIVES"
-   Hitman [PS4/XOne/PC] Alpha Gameplay Trailer
-   Satellite Reign [PC] Release Date Trailer
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
 
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
programming4us programming4us
PS4 game trailer XBox One game trailer
WiiU game trailer 3ds game trailer
Trailer game
 
programming4us
Natural Miscarriage
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer