Monday, November 30, 2015

Deploying a Namespace

Step 1 - Create a Namespace
  1. In the console tree of the DFS Management snap-in, right-click the Namespaces node, and then click New Namespace.
  2. Follow the steps in the New Namespace Wizard
  3. 1-Namespace Server:

    Enter the name of the server to host the namespace. The server can be a domain controller or a member server.

    2-Namespace Name and Settings:

    In Name, type Public.

    3-Namespace Type:

    If AD DS is deployed in your test lab and you are a member of the Domain Admins group or have been delegated permission to create domain-based namespaces, choose Domain-based namespace. Otherwise, choose Stand-alone namespace. For more information about namespace types, see "Namespace types and modes" earlier in this guide.
    To learn how a member of the Domain Admins group can delegate permission to create domain-based namespaces, see Delegate Management Permissions for DFS Namespaces.

    4-Review Settings and Create Namespace:

    Click Create to create the namespace.

    5-Confirmation:

    Click Close to close the wizard.


    When the wizard finishes, your new namespace will be added to the console tree. Double-click the Namespaces node, if necessary, to view your namespace, which should be similar to the following figure.
    Art Image
    To browse the new namespace, type the following command in the Run dialog box, substituting either the server name (if you created a stand-alone namespace) or the domain name (if you created a domain-based namespace) as appropriate:
    \\ server_or_domain \Public
    For information about how to migrate an existing namespace to Windows Server 2008 mode, see Migrate a Domain-based Namespace to Windows Server 2008 Mode.





    Add Namespace Server:

  4. In the console tree of the DFS Management snap-in, right-click \\domain\Public, and then click Add Namespace Server.
  5. In Namespace server, type the name of another server to host the namespace, and then click OK.
After you finish this procedure, click the \\domain\Public namespace in the console tree and review the contents of the Namespace Servers tab in the details pane, which should look similar to the following figure. Notice that two UNC paths are listed. The site of each namespace server is also displayed.
Art Image



Step 3 Delegate permission to manage an existing namespace
  1. In the console tree of the DFS Management snap-in, right-click \\server_or_domain\Public, and then click Delegate Management Permissions.
  2. Type the name of a user or group that you want to manage the namespace, and then click OK.
After you finish this procedure, review the contents of the Delegation tab in the details pane. It should look similar to the following figure.
Art Image
Notice that the user or group you added shows "Explicit" in the How Permission Is Granted column. "Explicit" means that you can remove the user or group from the delegation list by right-clicking the user or group, and then clicking Remove. Any users or groups that show "Inherited" have inherited management permissions from AD DS, and you cannot remove them from the delegation list using the DFS Management snap-in.


Step 4 Add Folders to the Namespace


  1. In the console tree of the DFS Management snap-in, right-click \\server_or_domain\Public, and then click New Folder.
  2. In Name, type Software, and then click OK.
Note that the previous procedure creates a new folder in the namespace to build depth in the namespace hierarchy. You are not specifying the name of an existing folder, nor will you store data in this folder. This folder will not have folder targets that direct clients to other servers.
After you finish this procedure, the Software folder is added to the console tree as shown in the following figure. (You might need to double-click the\\server_or_domain\Public root to display the Software folder.
Art Image
Next, you add two folders with targets to the namespace. You create one folder named Tools within the Software folder, and you create another folder named Training Guides directly under the root named Public.
To create a folder named Tools in the namespace
  1. In the console tree of the DFS Management snap-in, right-click the Software folder, and then click New Folder.
  2. In Name, type Tools.
  3. Click Add to add a folder target.
  4. Click Browse to open the Browse for Shared Folders dialog box.
  5. In Server, enter the name of the server that will host the Tools shared folder.
  6. Click New Shared Folder.
  7. 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.
After you finish this procedure, the Tools folder is added to the console tree as shown in the following figure. (You might need to double-click the Software folder to display the Tools folder.) Notice the icon next to the Tools folder and how it differs from the Software folder’s icon. This icon appears next to all folders that have targets to differentiate them from folders that do not have targets.
Art Image
Now, select the Tools folder and review the contents of the Folder Targets tab in the details pane. Notice there is a single path shown. This means that only one server hosts the folder target that corresponds to the Tools folder. If that server becomes unavailable, the shared folder is also unavailable.
To increase the availability of the Tools folder, you can add a second folder target.
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.
To create a folder named Training Guides in the namespace
  1. In the console tree of the DFS Management snap-in, right-click \\server_or_domain\Public, and then click New Folder.
  2. In Name, type Training Guides.
  3. Click Add to add a folder target.
  4. Click Browse to open the Browse for Shared Folders dialog box.
  5. In Server, enter the name of the server that will host the Training Guides shared folder.
  6. Click New Shared Folder.
  7. In the Create Share dialog box, in the Share name box, type Training Guides, 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.
When you finish these procedures, your namespace will look like the following figure.
Art Image




Step 5 Rename and Move a Folder



You can use the DFS Management snap-in to rename folders or move folders to another location in the namespace. This is useful if you need to change a folder name or restructure the namespace.
In this task, you rename the Training Guides folder to Training Demos and move it to the Software folder. Currently, your namespace should look similar to the following figure.
Art Image
To rename the Training Guides folder
  1. In the console tree of the DFS Management snap-in, right-click the Training Guides folder, and then click Rename Folder.
  2. In the Rename Folder dialog box, in New name, type Training Demos.
To move the Training Demos folder
  • In the console tree of the DFS Management snap-in, click the Training Demos folder, and then drag it to the Software folder.
After you finish these procedures, your namespace should look like this:
Art Image




Step 6 Replicate a Folder in the Namespace Using DFS Replication


In this task, you enable DFS Replication on the Tools folder. If you recall from "Task 4: Add Folders to the Namespace," you created two folder targets for the Tools folder. Because users can be directed to either one of the folder targets, you need to ensure that the contents of the folders are kept synchronized.
If you are familiar with File Replication Service (FRS) in Windows Server 2003, you know that FRS is only supported in domain-based namespaces. In Windows Server 2008, you can use DFS Replication in both stand-alone and domain-based namespaces. Therefore, you can complete this task regardless of the type of namespace you created in "Task 1: Create a Namespace."

  1. In the console tree of the DFS Management snap-in, right-click the Tools folder, and then click Replicate Folder.
  2. Follow the steps in the Replicate Folder Wizard
1-Replication Group and Replicated Folder Name:

Accept the defaults.

2-Replication Eligibility:

Accept the defaults.

3-Primary Member:

If the folder targets are empty, choose either member. If both folder targets contain content, choose the member that has the most up-to-date content.

4-Topology Selection:

Select Full mesh.

5-Replication Group Schedule and Bandwidth:

Select Replicate continuously using the specified bandwidth.

6-Review Settings and Create Replication Group:

Click Create to create the replication group.

7-Confirmation:

Click Close to close the wizard.

8-Replication Delay:

Click OK to close the dialog box that warns you about the delay in initial replication.

After you finish the previous procedure, navigate to the Replication node in the console tree. Notice that a new replication group has been created, as shown in the following figure.
Art Image
If you are not familiar with DFS Replication terminology, a replication group is a set of servers, known as members, that participates in the replication of one or more replicated folders. A replicated folder is a folder that is kept synchronized on each member. When you enable DFS Replication on a folder with targets, the servers that host the folder targets become members of the replication group, and the folder targets are associated with the replicated folder. The name of the replication group matches the namespace path (Contoso.com\Public\Software\Tools), and the name of the replicated folder matches the folder name (Tools).
From the Replication node, you can manage aspects of DFS Replication, such as the schedule and bandwidth usage, file and subfolder filters, and the topology (a framework of replication paths between members). On the Replicated Folders tab in the details pane, you can also view the namespace path that corresponds to the replicated folder, as shown in the following figure.
Art Image
If you navigate back to the Tools folder in the Namespaces node, notice that the Replication tab in the details pane shows that the Tools folder is being replicated using DFS Replication.
Art Image
If one of the folders targets contained data when you enabled DFS Replication, you can verify that replication has completed by clicking the Folder Targets tab, right-clicking the folder target that initially held no data, and then clicking Open in Explorer. After the initial replication delay, the files in this folder target should match the files in the target that initially held the data.
Another way to view the status of replication is to create a diagnostic report. You will do this in the following task.




Step 7 Create a Diagnostic Report



  1. In the console tree of the DFS Management snap-in, under the Replication node, right-click the \\domain\Public\Software\Tools replication group, and then clickCreate Diagnostic Report.
  2. Follow the steps in the Diagnostic Report Wizard
1-Type of Diagnostic Report or Test:

Accept the defaults.

2-Path and Name:

Accept the defaults.

3-Members to Include:

Accept the defaults.

4-Options:

Ensure that Yes, count backlogged files in this report is selected, select the server that has the most up-to-date files from Reference Member, and then select the Count the replicated files and their sizes on each member check box.

5-Review Settings and Create Report:

Click Create to create the diagnostic report.

6-Confirmation:

The wizard closes automatically, and the diagnostic report appears.

Review the health report created for the Tools replication group. In particular, take a look at the following sections:
  • Note the DFS Replication bandwidth savings. This savings will change over time as files are added and changed.
  • Review any errors or warnings, if any, for the members. These are typically event log errors that appear in the member's respective DFS Replication event log.
  • In the informational section for each member, review the replicated folder status (the status will be "Normal" after initial replication is complete) and other information. Notice that the primary member will show different statistics from the non-primary member; this is because data originated from the primary member and replicated to the non-primary member during initial replication.
The Diagnostic Report Wizard creates the health report by default. Note that you can set the wizard to perform the following operations as well:
  • Run a propagation test.
  • Create a propagation report.
A propagation test measures replication progress by creating a test file in a replicated folder. A propagation report provides information about the replication progress for the test file created during a propagation test.


  1. Click Start, click Run, type \\server_or_domain\Public, and then click OK.
    Windows Explorer opens and your view of the namespace looks similar to the following figure:
    Art Image
  2. In Windows Explorer, click the Folders button to display the Public root in the folder tree.
  3. In the folder tree, right-click Public, and then click Properties to open the Properties dialog box.
  4. On the DFS tab, review the paths listed under Referral list. These are the root targets in the root referral that the client received when it accessed\\server_or_domain\Public. These should match the root targets you created earlier in this guide. The target marked Active is the target currently connected to your client computer.
  5. Click OK to close the dialog box.
To browse to the Tools and Training Demos folders and view their folder referrals
  1. In Windows Explorer, double-click the Software folder. You should see two folders, Tools and Training Demos.
  2. Double-click the Tools folder to open it.
  3. In the folder tree, right-click the Tools folder, and then click Properties.
  4. On the DFS tab, review the paths listed under Referral list. These are the folder targets in the folder referral that the client received when it accessed\\server_or_domain\Public\Software\Tools. These should match the folder targets you created earlier in this guide. The target marked Active is the target currently connected to your client computer, which should be a different target from the one you marked as Last among all targets when you set the target priority.
  5. Click OK to close the dialog box.
  6. Click the Training Demos folder in the folder tree to open it.
  7. Right-click the Training Demos folder in the folder tree, click Properties, and then click the DFS tab. Notice that only one folder target is listed in the referral list. Your client computer is currently connected to this folder target.

No comments:

Post a Comment