Error » Microsoft Error! » Microsoft Operating Systems Error » Microsoft windows 2003 error » Configuring DFS Namespaces

Microsoft windows 2003 error all error and bugs related to microsoft windows 2003 error

Post New Thread Reply
  Configuring DFS Namespaces
LinkBack Thread Tools Display Modes
Old 27-Dec-2006, 11:16 PM   #1 (permalink)
Administrator
 
Anilrgowda's Avatar

Posts: 18,715
Join Date: Jan 2006
Rep Power: 10 Anilrgowda is on a distinguished road

IM:
Default Configuring DFS Namespaces

This article covers advanced topics relevant to administrators implementing DFS Namespaces in a multi-site enterprise environment. Topics covered include adding namespace servers, configuring referral order methods, overriding referral order, and enabling client failback after a referral.we saw how to create a namespace (a virtual folder tree) using the enhanced DFS Management console of Windows Server 2003 R2. This article expands on the previous one by looking at how to configure namespaces in enterprise environments where there are multiple sites. Since a site, in Active Directory terminology, basically refers to a collection of computers that are connected together as a LAN, a multi-site environment usually means multiple LANs, each located at a different geographical site. For example, a company that has its headquarters in Vancouver (Canada) might have a secondary site or branch office located a few hours south in Seattle (USA). Even though both locations may belong to the same domain, they may be separate sites to better manage replication traffic over a slow WAN link connecting them. DFS Namespaces includes new features that makes DFS work more efficiently for scenarios like this than the older DFS component of Windows 2000 worked in such scenarios. We’ll look at several ways you can improve the operation of your namespace in an enterprise environment like this.

Adding Namespace Servers

When deploying domain-based namespaces, you can add additional namespace servers to host a namespace. This has several advantages:
  • If one namespace server hosting the namespace goes down, the namespace will still be available to users who need to access shared resources on your network. Adding another namespace thus increases the availability of your namespace.
  • If you have a namespace that must be available to users all across your organization but your Active Directory network has more than one site, then each site should have a namespace server hosting your namespace. That way, when users in a site need to contact a namespace server for referrals, they can do so locally instead of sending traffic requests to other sites. This improves performance and reduces unnecessary WAN traffic.
Note that adding additional namespace servers is only supported for domain-based namespaces, not standalone namespaces.
Before showing how to add a namespace server to a namespace, let’s quickly review the scenario from my previous article:
  • Our domain is R2.local and our domain controller is BOX161.
  • We created a domain-based namespace named Accounting.
  • This namespace is hosted on server BOX162.
  • The namespace contains targets on servers BOX162 and BOX163.
  • All servers are located in Default-First-Site, which is company headquarters in Vancouver.
  • All servers are running Windows Server 2003 R2.
To make our scenario more enterprise-level, we’ll now add the following:
  • We’ll create a second site named Seattle-Site, which is a branch office located in Seattle.
  • Seattle-Site is in the same domain R2.local.
  • Domain controller BOX171 is located in Seattle.
Let’s now add BOX171 as a new namespace server for our Accounting namespace. Open the DFS Management console, select the \\r2.local\Accounting namespace in the console tree, and click the Namespace Servers tab in the Details pane (Figure 1):

Figure 1: Details of the Namespace Servers tab for the selected namespace
Note that the Accounting namespace only has one namespace server at present (BOX162). Now let’s add BOX171 as an additional namespace server for this namespace. Click the Add Namespace Server link in the Action pane, or right-click on the namespace and select Add Namespace Server. Then browse to specify BOX171 as the additional namespace server for the Accounting namespace (Figure 2):

Figure 2: Adding BOX171 as an additional namespace server for Accounting
Note that a folder named Accounting will now automatically be created on BOX171 and shared with the appropriate permissions (Read permission for Everyone). You can override this default behavior if you like by clicking Edit Settings.
Now you have two namespace servers defined for the Accounting namespace. One of these servers is BOX162 in Vancouver and the other is BOX171 in Seattle. The question is, when a user in Seattle tries to access the namespace, which namespace server will it use? This brings us to our next topic—referrals.




Configuring Referrals

To understand the importance of configuring referrals in an enterprise environment, you first need to understand how DFS Namespaces works. Going back to our scenario above, let’s say a user named Bob Smith located in Vancouver (Default-First-Site) wants to access resources in the Accounts namespace, which is spread over (targeted to) servers located in both Vancouver and Seattle (Seattle-Site). Here’s what typically happens:
  1. Bob tries to access the root folder of the namespace \\R2.local\Accounting by contacting BOX162, one of two namespace servers for this namespace (the other namespace server being BOX171 located in Seattle).
  2. BOX162 returns a referral to Bob. This referral contains a list of servers that host the particular folder (Accounting, the root of the namespace) Bob is trying to access. In this particular scenario, a root referral is returned; if Bob tried accessing a folder higher up in the namespace, a folder referral would be returned instead.
  3. Bob’s Windows XP desktop computer caches the referral returned to it by BOX162 and proceeds to contact the first server in the referral list, which it turns out is BOX162 itself.
  4. From there Bob starts browsing the namespace, and BOX162 continues to return referrals to folder targets for each folder browsed.
So what happens then when a user in one site tries to access a shared resource in a different site using DFS? By default, the list of targets returned by a referral for a particular shared resource are ordered thusly:
  1. Targets in the user’s site are listed first.
  2. If the user’s site has multiple targets, these are listed in random order.
  3. Targets outside the user’s site are listed next, and if there are multiple targets in other sites, the targets are listed according to their connection costs with lowest cost first (targets with the same cost are listed in random order).
This approach means that by default, DFS tries to connect a client with a target in the client’s own site first whenever possible to prevent the client from having to use a WAN link to access the resource. Furthermore, DFS also tries to randomly load-balance such access when there are multiple targets available in the client’s site.
There are several ways this process can be configured however. For example, instead of using lowest cost for accessing targets outside the client’s site, you could specify that DFS never use targets outside the client’s site at all. This might be useful, for example, if all the shared resources needed by that site are found locally at that site (or replicated to that site—I’ll cover DFS Replication in a future article). To configure this, right-click on the namespace and select Properties, then switch to the Referrals tab and select the Exclude Targets option as shown in Figure 3:

Figure 3: Preventing clients from accessing targets outside the site of the client
Alternatively, you could leave the namespace configured so referrals outside the client’s site are done using least cost (the default setting) and then override this setting for individual folder targets. For example, right-click on the Accounts Payable folder target, select the Referrals tab, and select the first checkbox as shown in Figure 4 below:

Figure 4: Excluding targets outside the client’s site for a particular target folder
Another way of fine-tuning referrals is to change the priority of the folder targets for a particular folder. Since a folder can have more than one folder target (this is usually used in conjunction with DFS Replication) there is a default ordering to how these targets are returned in a referral. You can override this default ordering by selecting the folder in the console tree, right-clicking one of the targets listed in the Details pane for this folder, selecting Properties, selecting the Advanced tab, and configuring the override settings as desired (Figure 5):

Figure 5: Overriding the folder target order for a folder
For example, you could specify that a particular target is listed first in the referral, as shown in the figure above. Or you could specify it as last if the target is your “server of last resort” i.e. a standby server just in case everything else goes down.
Finally, if your WAN links are unreliable, you might find your clients frequently accessing different targets for the same folder. This can be a problem, for by default, DFS caches referrals for a period of time (300 seconds or 5 minutes) so if a target server suddenly goes down the client will keep trying to connect to the target and give an error instead of making the resource available to the client from a different target. Eventually (by default after 300 seconds or 5 minutes) the referral will expire in the client’s cache and a new referral will be obtained to a target that is online and the client will be able to access the desired resource, but in the meantime the user may grow frustrated since (a) the user has to wait for the referral to expire and (b) after the referral expires and a new one is obtained, the referral may direct the client to access a remote target over the WAN link which is not an optimal situation. To prevent this from happening (especially non-optimal targets), you can configure client failback on the namespace (or on specific folders in your namespace) so that when the failed target comes back online the client will fail back to that target as its preferred target. This setting is also configured on the Referral tab as shown in Figure 4 previously.




Conclusion

In this article and the previous one we’ve looked at how to implement and configure DFS Namespaces, a new feature of Windows Server 2003 R2 that replaces part of the previous DFS component of Windows 2000 and Windows Server 2003. In future articles we’ll examine how to implement the other half of DFS in R2, namely the new DFS Replication component.
Anilrgowda is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
   


   
Post New Thread Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring a Cisco ASA 5510 ps3cheats Security and Firewall Error ! 1 25-Mar-2007 10:42 PM
Configuring a Cisco ASA 5510 Anilrgowda Security and Firewall Error ! 1 25-Mar-2007 10:35 PM
Configuring and Using DFS Replication Anilrgowda Networking Error ! 0 29-Dec-2006 04:19 AM
Implementing DFS Namespaces Anilrgowda Microsoft windows 2003 error 0 27-Dec-2006 11:18 PM
Configuring and Using DFS Replication Anilrgowda Microsoft windows 2003 error 0 27-Dec-2006 11:10 PM


All times are GMT -8. The time now is 01:34 AM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

DMCA Policy

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228