![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |

|
| Microsoft windows 2003 error all error and bugs related to microsoft windows 2003 error |
![]() |
|
Implementing DFS Replication
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Administrator
Posts: 18,715
Join Date: Jan 2006
Rep Power: 10
IM:
|
There's a second component of DFS in R2 however, and this is called DFS Replication. (In pre-R2 Windows Server 2003 both components were simply called DFS). DFS Replication is basically just a service that can be used to replicate files from one server to another so you can maintain multiple copies in different locations of a single file. Of course, in pre-R2 Windows Server 2003 there was already such a service named (quite obviously) the File Replication Service or FRS, and this was used for two different purposes:
Enter Remote Differential Compression File replication has changed however as of Windows Server 2003 R2. In particular, there are now two different replication services built into the platform, namely:
Setting Up DFS Replication To illustrate how to configure and use DFS Replication, let's use the namespace we created in my previous article titled In that scenario, the Accounting department used two file servers, BOX 162 and 163, with BOX162 having the shares Payables and Receivables while BOX163 had the shares Invoices, Inventory, and Reports. These shares were consolidated using DFS Namespaces into a virtual folder tree rooted in a shared folder named Accounting, which was created on BOX162 when we created the DFS namespace itself on that server. The following table describes how the folders in the DFS tree map to the shared folders on the two servers: Shared FolderNote that the Invoices share is located on BOX163 and can be accessed using the DFS path \\r2.local\Accounting\Billing\Invoices where r2.local is the name of the Active Directory domain we are working with (this example uses a domain-based DFS namespace and the domain controller is BOX161). In other words, the Invoices share (C:\Invoices on BOX163) is the folder target associated with the \\r2.local\Accounting\Billing\Invoices folder in the \\r2.local\Accounting namespace. Note:Let's now use DFS Replication to replicate the contents of the Invoices share from BOX163 to BOX162. That way, should the share on BOX163 somehow become unavailable, users will still be able to access its content using BOX162. Of course, for true fault-tolerance you also need to replicate the namespace too—see my previous article titled Configuring DFS Namespaces for information on how to do this. What we'll do here though is simply create a second Invoices share on BOX162, replicate the contents of \\BOX163\Invoices to \\BOX162\Invoices, and add \\BOX162\Invoices to the list of folder targets for the \\r2.local\Accounting\Billing\Invoices folder in the namespace. That way if a client (for example XP-191) tries to access a file named Sample.doc found in \\r2.local\Accounting\Billing\Invoices on BOX163 but BOX163 is down, it can access the copy of the file on BOX162. To accomplish this, the first thing you need to do is install the DFS Replication component if you haven't already done so. As mentioned in my previous articles, when you add or upgrade the File Server role you have the option of installing DFS Namespaces but leaving DFS Replication uninstalled, and that's what we did previously. So to add DFS Replication now, you can use Add or Remove Programs in Control Panel. Start this utility, select Add/Remove Windows Components, select Distributed File System, click Details and select DFS Replication Service (see Figure 1): Insert Disk 2 of R2 when prompted or browse to the \CMPNENTS\R2 folder on your network distribution share to complete the installation of the component. Then create a new folder named C:\Invoices on BOX162 and share it with Full Control permission for Everyone (this choice does not mean the folder is not secure as NTFS permission are really used to secure resources, not shared folder permissions). Then be sure to install the DFS Replication component on BOX163 also since every file server that needs to participate in replicating DFS content must have the DFS Replication Service installed and running. You can again use Add or Remove Programs to do this, or use Manage Your Server. Now let's add \\BOX162\Invoices as a second folder target for \\r2.local\Accounting\Billing\Invoices. Open the DFS Management console and select the following node in the console tree: DFS Management, Namespaces, \\r2.local\Accounting, Billing, Invoices. Note that there is currently only one folder target for this folder (Figure 2): Verify from a client machine like XP-191 that a user can open the Sample.doc file by clicking Start, then Run, typing \\r2.local\Accounting\Billing\Invoices and double-clicking on the file. Now let's add a second folder target (\\BOX162\Invoices) for this folder as follows. Right-click the Invoices folder in the console tree and select Add Folder Target. Then specify the path to the new target as shown in Figure 3: Once the second target is added, you'll be prompted to create a replication group (see next Figure). A replication group is a collection of file servers that participate in the replication of one or more folders in a namespace. In other words, if we want to replicate the contents of \\BOX163\Invoices with \\BOX162\Invoices, then BOX163 and BOX162 must first be added to a replication group. Replication groups can be created manually by right-clicking on the DFS Replication node in the DFS Management console, but it's easier here if we just create one on the fly by clicking Yes to this dialog box. This opens the Replicate Folder Wizard, an easy-to-use method for replicating DFS content on R2 file servers (see figure 5): We won't walk through all of the steps of this wizard here, instead we'll just summarize what the various steps of the wizard do:
Testing Replication To view replication status for this folder, select the Replication tab as shown in this figure: A quick check of the C:\Invoices folder on BOX162 using Windows Explorer shows that the Sample.doc file has been replicated from BOX163 to BOX162 as expected. If you disable Local Area Connection on BOX163 and browse \\r2.local\Accounting\Billing\Invoices on client XP-191, the Sample.doc file is still available because the user is transparently referred to the next available folder target on BOX162. Finally, if a change is made to the Sample.doc file on BOX162 or BOX163, the change is replicated almost immediately to the folder target on the other box. |
|
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Microsoft Joins Ask.com, Google in Implementing Privacy Provisions | Anilrgowda | Microsoft | 0 | 31-Jul-2007 10:46 PM |
| Problem Implementing Password Restrictions Using Group Policy | Anilrgowda | Microsoft windows 2003 error | 1 | 05-Jun-2007 04:09 AM |
| Implementing DFS Replication | Anilrgowda | Networking Error ! | 0 | 29-Dec-2006 04:22 AM |
| Implementing Fault Tolerance on Windows Networks | Anilrgowda | Microsoft windows 2003 error | 0 | 27-Dec-2006 11:51 PM |
| Implementing DFS Namespaces | Anilrgowda | Microsoft windows 2003 error | 0 | 27-Dec-2006 11:18 PM |