{"id":1496,"date":"2014-01-27T09:12:20","date_gmt":"2014-01-27T15:12:20","guid":{"rendered":"http:\/\/www.poweradmin.com\/blog\/?p=1496"},"modified":"2015-04-24T16:43:40","modified_gmt":"2015-04-24T21:43:40","slug":"dfs-in-a-windows-server-infrastructure-dfs-replication","status":"publish","type":"post","link":"https:\/\/www.poweradmin.com\/blog\/dfs-in-a-windows-server-infrastructure-dfs-replication\/","title":{"rendered":"DFS in a Windows Server Infrastructure &#038; DFS Replication"},"content":{"rendered":"<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">DFS (Distributed File System) is a Windows Server feature which allows System Administrators to create a single namespace to provide a replicated sharing infrastructure across the network. Large enterprises that have multiple offices interconnected must be able to allow their employees to access documents easily. This means that clients must connect to desired resources from any part of the network. It\u2019s hard to remember each share folder location when there are multiple servers hosting different data. Microsoft implemented DFS to allow servers to \u201corganize many distributed <a href=\"http:\/\/en.wikipedia.org\/wiki\/Server_Message_Block\" title=\"Server Message Block\" rel=\"nofollow\" target=\"_blank\">SMB<img class=\"extlink-icon\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/plugins\/external-links-nofollow-open-in-new-tab-favicon\/images\/extlink.png\"><\/a> file shares into a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Distributed_file_system\" title=\"Distributed file system\" rel=\"nofollow\" target=\"_blank\">distributed file system<img class=\"extlink-icon\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/plugins\/external-links-nofollow-open-in-new-tab-favicon\/images\/extlink.png\"><\/a>\u201d (Wikipedia).<\/span><\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">In this article I will show you how to implement DFS in your Windows Infrastructure. Note that for the following demonstrations I will be using a Windows Server 2012 Virtual Machine. Similar settings are applied for older Windows Server versions. Before we can configure DFS, we\u2019ll need to install the <em>File Services<\/em> server role. Open the <em>Server Manager<\/em> console and click on <em>Add Roles and features<\/em> button:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/01-Server-Manager-Console.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Server Manager Console\" class=\"size-full wp-image-1500 alignnone\" height=\"342\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/01-Server-Manager-Console.png\" style=\"\" title=\"Server Manager Console\" width=\"507\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/01-Server-Manager-Console.png 507w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/01-Server-Manager-Console-300x202.png 300w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\"><\/a>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">In the Sever Roles section, expand <em>File and Storage Services\/ File and iSCSI Services<\/em> and select <em>DFS Namespaces<\/em> and <em>DFS Replication<\/em>:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/02-File-and-Storage-Services.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"File and Storage Services\" class=\"size-full wp-image-1501 alignnone\" height=\"564\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/02-File-and-Storage-Services.png\" style=\"\" title=\"File and Storage Services\" width=\"796\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/02-File-and-Storage-Services.png 796w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/02-File-and-Storage-Services-300x212.png 300w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">Now press <em>next <\/em>until the installation begins. Wait for the wizard to finish installing all components and then close the window.<\/span><\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">Distributed File System<em> <\/em>can be configured using the<em> DFS Management<\/em> console. You can find the console in the <em>Tools<\/em> section in <em>Server Manager<\/em>:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/03-DFS-Namespaces-and-Replication-Installation.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"DFS Namespaces and Replication Installation\" class=\"size-full wp-image-1502 alignnone\" height=\"318\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/03-DFS-Namespaces-and-Replication-Installation.png\" style=\"\" title=\"DFS Namespaces and Replication Installation\" width=\"854\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/03-DFS-Namespaces-and-Replication-Installation.png 854w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/03-DFS-Namespaces-and-Replication-Installation-300x111.png 300w\" sizes=\"auto, (max-width: 854px) 100vw, 854px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">We\u2019ll need to create a namespace that will contain the share folders. In the DFS Management console, right click the <em>Namespaces<\/em> section and select <em>New Namespace<\/em>:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/04-Create-New-Namespace.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Create New Namespace\" class=\"size-full wp-image-1503 alignnone\" height=\"320\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/04-Create-New-Namespace.png\" style=\"\" title=\"Create New Namespace\" width=\"991\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/04-Create-New-Namespace.png 991w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/04-Create-New-Namespace-300x96.png 300w\" sizes=\"auto, (max-width: 991px) 100vw, 991px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">You\u2019ll need to select the server that will host the namespace, note that a namespace can contain share folders from multiple servers. You can later add servers to this namespace to create a failover infrastructure:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/05-Namespace-Server1.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Namespace Server\" class=\"alignnone size-full wp-image-1514\" height=\"578\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/05-Namespace-Server1.png\" style=\"\" title=\"Namespace Server\" width=\"727\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/05-Namespace-Server1.png 727w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/05-Namespace-Server1-300x238.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">In the next section type in the name for the namespace:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/06-Namespace-Server-New-Name.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Namespace Server New Name\" class=\"size-full wp-image-1505 alignnone\" height=\"578\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/06-Namespace-Server-New-Name.png\" style=\"\" title=\"Namespace Server New Name\" width=\"724\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/06-Namespace-Server-New-Name.png 724w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/06-Namespace-Server-New-Name-300x239.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">Further settings can be configured if you press the <em>Edit<\/em> button. You can configure the local path and permissions for the share folder. There are several sharing permissions options available but, you can also use custom permissions by pressing the <em>Customize<\/em> button:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/07-Namespace-Server-Settings.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Namespace Server Settings\" class=\"size-full wp-image-1506 alignnone\" height=\"494\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/07-Namespace-Server-Settings.png\" style=\"\" title=\"Namespace Server Settings\" width=\"401\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/07-Namespace-Server-Settings.png 401w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/07-Namespace-Server-Settings-243x300.png 243w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">There are two types of namespaces that you can configure on a Windows Server:<\/span><\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\"><em>Domain-based namespace<\/em> : used within Active Directory domains, the namespace is stored in the namespace servers and AD. You can enable the<em> Windows Serer 2008 mode<\/em> which offers increased scalability and access-based enumeration. Use this option whenever possible.<\/span><\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\"><em>Stand-alone namespace<\/em> : is implemented on a single server but, does not offer the same advantages as a domain-based namespace:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/08-Types-of-Namespaces-to-Configure.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Types of Namespaces to Configure\" class=\"size-full wp-image-1507 alignnone\" height=\"579\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/08-Types-of-Namespaces-to-Configure.png\" style=\"\" title=\"Types of Namespaces to Configure\" width=\"724\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/08-Types-of-Namespaces-to-Configure.png 724w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/08-Types-of-Namespaces-to-Configure-300x239.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">Review all the settings configured so far and create the namespace. Once the success status is received, the namespace can be used and access from any part of the network:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/09-New-Namespace-Confirmation.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"New Namespace Confirmation\" class=\"size-full wp-image-1508 alignnone\" height=\"577\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/09-New-Namespace-Confirmation.png\" style=\"\" title=\"New Namespace Confirmation\" width=\"725\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/09-New-Namespace-Confirmation.png 725w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/09-New-Namespace-Confirmation-300x238.png 300w\" sizes=\"auto, (max-width: 725px) 100vw, 725px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">The newly created namespace will appear under the namespaces tab. If you click on it and navigate to the <em>Namespace Servers<\/em> section you can view all servers configured to host the namespace:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/10-See-All-Servers-Configured-to-Host-Namespace.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"See All Servers Configured to Host Namespace\" class=\"size-full wp-image-1509 alignnone\" height=\"307\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/10-See-All-Servers-Configured-to-Host-Namespace.png\" style=\"\" title=\"See All Servers Configured to Host Namespace\" width=\"994\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/10-See-All-Servers-Configured-to-Host-Namespace.png 994w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/10-See-All-Servers-Configured-to-Host-Namespace-300x92.png 300w\" sizes=\"auto, (max-width: 994px) 100vw, 994px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">From the right section of the pane you can click on the <em>Add Namespace Server<\/em> button and add one or multiple machines that will host the namespace. For redundancy, I recommend using at least two servers:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/11-Add-Namespace-Servers.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Add Namespace Servers\" class=\"size-full wp-image-1510 alignnone\" height=\"325\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/11-Add-Namespace-Servers.png\" style=\"\" title=\"Add Namespace Servers\" width=\"407\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/11-Add-Namespace-Servers.png 407w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/11-Add-Namespace-Servers-300x239.png 300w\" sizes=\"auto, (max-width: 407px) 100vw, 407px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">You can now create folders that will be available for all network computers. It all depends on how you design the folder structure to provide a consistent and easy to use DFS infrastructure. In the DFS console press the <em>New Folder<\/em> button from the right section of the pane. Type in the <em>Name<\/em> of the Folder and add the share folders that will appear under this node in the namespace structure. For this demonstration, I\u2019ve added a folder called \u201cIT\u201d from one server and another folder \u201cHR\u201d from my second machine:<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/12-Create-Folders-Available-for-Network-Computers.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Create Folders Available for Network Computers\" class=\"size-full wp-image-1511 alignnone\" height=\"420\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/12-Create-Folders-Available-for-Network-Computers.png\" style=\"\" title=\"Create Folders Available for Network Computers\" width=\"405\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/12-Create-Folders-Available-for-Network-Computers.png 405w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/12-Create-Folders-Available-for-Network-Computers-289x300.png 289w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">After you create a folder using the DFS console and set the appropriate permissions, you can access the share using Windows Explorer or the run prompt by typing in the UNC<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/13-Accessing-Shared-Folders-Using-Windows-Explorer-or-Run-Prompt.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Accessing Shared Folders Using Windows Explorer or Run Prompt\" class=\"alignnone size-full wp-image-1512\" height=\"232\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/13-Accessing-Shared-Folders-Using-Windows-Explorer-or-Run-Prompt.png\" style=\"\" title=\"Accessing Shared Folders Using Windows Explorer or Run Prompt\" width=\"420\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/13-Accessing-Shared-Folders-Using-Windows-Explorer-or-Run-Prompt.png 420w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/01\/13-Accessing-Shared-Folders-Using-Windows-Explorer-or-Run-Prompt-300x165.png 300w\" sizes=\"auto, (max-width: 420px) 100vw, 420px\"><\/a>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><span style=\"font-family: verdana,geneva,sans-serif;\">That\u2019s about it for the DFS implementation; there are a couple of things we further need to discuss about DFS Replication and how to configure it using CMD or scripts. In the next article we will cover all these DFS components and hopefully, in the end, you will have an overall picture of this great tool. Remember that any questions you may have can be submitted in our comments section and I will try to respond as soon as possible. Wish you all the best and stay tuned for following articles.<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>DFS (Distributed File System) is a Windows Server feature which allows System Administrators to create a single namespace to provide a replicated sharing infrastructure across the network. Large enterprises that have multiple offices interconnected must be able to allow their employees to access documents easily. This means that clients must connect to desired resources from [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1500,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,9,8],"tags":[],"class_list":["post-1496","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-it","category-how-to","category-technical","category-windows"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/1496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/comments?post=1496"}],"version-history":[{"count":5,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/1496\/revisions"}],"predecessor-version":[{"id":3537,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/1496\/revisions\/3537"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media\/1500"}],"wp:attachment":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media?parent=1496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/categories?post=1496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/tags?post=1496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}