DFS was created to resolve several falls on a network with multiple file servers fear of the primary problems aren’t one having false spread across multiple file servers confuses users and makes it difficult for them to find their files to sharing files in a single location creates performance lag when they are accessed across slow ran links at a single point of failure when those lan links go down three it is difficult to back up critical files and data and they are disproved tap hazard lay on multiple file servers at multiple remote locations to solve these problems DFS implements two core technologies among others DFS name spaces and DFS replication let’s look at the first of these DFS namespaces a DFS namespace is a virtual directory tree that references and points to one or more actual shares on the network called targets when a user searches for a file in a DFS namespace all the servers that are a part of that namespace are searched where it not for the namespace the user would have to check each server individually for the file when someone requests access to a file on a virtual DFS directory tree a referral is returned rather than the actual file the referral specifies two files location on one of the DFS namespaces servers the DFS client making the request then retrieves the file from the referred server DFS namespaces can be set up in two modes standalone and domain based let’s look at the features of a standalone option one it’s accessed via the server’s name that is the host name and then the name of the DFS root tun it can be a domain controller a member server or a standalone three it only supports one namespace for extorting the registration system cache not active directory and five active directory is not required let’s take a look at the next option domain based one it’s accessed not via the hottest and let the domain name and then back slash the DFS root it can be a demain controller or a member server but not a standalone server it supports multiple namespaces it’s stored in Active Directory instead of locally in the system registry and of course active victory is required let’s take a look at DFS replication DFS replication is a multi master replication service that maintains copies of shared files and folders on multiple servers throughout an organization this means that files and folders are duplicated updated in synchronized by the service on a regular basis if a file is created deleted or modified on one server the same thing automatically occurs of all the other servers in the DFS namespace the combination of DFS namespaces and DFS replication provides the following advantages over traditional fall sharing one this implements fault tolerance for fall servers at the server fails the files in the virtual DFS namespace are still available on the network via the remaining servers to this suggests is lag and bandwidth issues over slower LAN link since servers must be kept at each remote location that are a part of a DFS namespace clients of those locations may access the files on servers locally at high speed rather than over a slow LAN link to enhance its bandwidth saving virtues further a DFS ease of the RDC a remote differential compression protocol to conserve more bandwidth by only replicating data that has changed in a file since its last replication rather than the entire file 3 this maintains folder and file conformity across an entire organization changes made at remote locations are replicated and synchronized everywhere for this simplifies backing up and restoring files folders and data the entire virtual directory tree and all these targets can be backed up and restored as a single entity five the DFS namespace promotes load balancing attempt to clustering and round robin DNS that is if one particular target server is too busy to service a request other available target servers and the virtual directory tree can respond instead let’s overview the basic process for setting up a distributed file system namespace first we’ll open server manager will add balls’ all services is tributed file system DFS name spaces and DFS replication we’ll enter the name of the DFS share select the namespace and install this is of course assuming we’ve shared the directories already that we want to include DFS namespace if not we can do it there from within the wizard this brings us to flexion be adding folders to the DFS 4 this will open DFS management from Administrative Tools we’ll right-click a namespace and select new folder we’ll enter the folder name and click Add when the add folder target dialog pops up we’ll select the target and share out the folder this brings us to Section C if we set up the DFS namespace then we’ve configured the folders you want to share now we’re

ready to configure the referral order if you have more than one target server in a DFS namespace share you need to configure the referral order the sharer will work for clients to a local server first if one is not available it will then refer servers in the order that you specify the closest target is unavailable the next closest one will be used if the option client failback is enabled when a closer target server that was previously unavailable becomes available again it will be the one referred now let’s take a look at setting up DFS replication you enable DFS replication among multiple target servers by placing each target server in a replication group by default replication group sees full mesh topology where every server replicates with each of its partners larger networks may opt for hubs book topology by default DFS replication is bi-directional this default can be modified each DFS replication group designates a server known as the primary member follows on the primary member will overwrite all others on the replication process let’s look at setting up assured on a local server and also using a DFS namespace and a distributed file system so the first thing I’m going to do is I’m on a domain controller and a domain Battlestars and hostname galactica I’m going to make a folder here called Galactica data and I’m just going to go ahead and share it I’m just going to you know I’ll add to every one group and give read permission so the basic share there okay so you can see everyone has read permission and on the dacl I’m gonna go ahead and add everyone same thing give them read permission and notice if I were to access that I could type in the UNC path of the host name of my server and there appears my share and I’m also just going to add some empty files in here things that we can browse later okay so created a share here no this is a debate controller I’m gonna hop on over to a member server not Galactica the Pegasus and we’ll do the same thing will create a sure so now I’m on the Pegasus I’m going to go over here to my C partition and do the same thing I want to make a new share so I’m going to create a folder and call it Pegasus data I’m going to right-click properties and I’m going to select sharing advanced sharing share this folder permissions I just want to give everyone the basic read permission go to the Security tab JCL let me add an access control entry throw everyone there and okay again I’ll just give basic read permission all right now I’m logged into the domain but you can see you know this is it’s not a domain controller it’s just a member server that is joined to the domain so it words yes it’s part of battle starts that galaxy bit so I’m gonna make a choice ship it’s a member server and the same holds true if I were to type in the hostname I would get my directory sure okay and before we move on I’m just going to make again couple empty files in there so we can see okay so some empty files in that chair click on the Galactica and now I want to set up a distributed file system so to create a DFS namespace first I need to open up server manager and since I already shared out my directories locally to show you what that looks like when I go to roles and add roles and then I’m gonna select server roles notice that it’s grayed out because file services is already installed when I made that first share file services was installed to make that local share so if you didn’t follow my example and you had you didn’t create the shares yet then this will be you know black it won’t be greyed out and you should tick that option and go ahead and install it but I don’t need to do that since I already set my shares up but what I do need to do is go over here to roles and file services and I’m going to right

click say add role services and I want to select distributed file system and make sure the DFS namespaces and DFS replication are also selected I’m going to click Next and now I can name my DFS namespace I’ll just call it colonial fleet and notice that since it’s a domain controller and I’m at a domain it said domain base namespace that was selected by default and so the UNC path would be my domain name battle starts that galaxy back slash and then my virtual directory in the DFS sure colonial fleet if this were a standalone server I could choose this option and rather than my domain name it will be my host name the name of the server and again the virtual directory or share I’m going to go with the domain option here and I’m going to click on next on this screen I can add my shares and if I’ve already created them I can just go here and select the folder target from the server notice that here’s my cervical and I could also browse for Pegasus I’m going to do the local one first I could say show shared folders since I’ve already created one there’s Galactica data if I had not I could choose this option new shared folder I can go and create that and then I could also make a new folder here I just think it’s easier if you make the shared folders first you know I don’t know matter of preference that’s up to you how you want to do it but either ways you know the outcome is the same so I’m going to select ok and ok notice that we’ll add it to the directory tree ok and then I’m going to add one more here and I want to browse to a target and the storm going to browse and we look at locations let me look at computers and I’m going to go here and here here are the computer account objects I have an active directory so I want to select this one Pegasus ok and then under this pegasus data is the you know the share that i want to add into my DFS namespace so you notice that I’m consolidating or aggregating I have two different shares on two different servers but when we set up the DFS name space they’ll be accessible via simply one name all right one pointer pointing to to those various locations I’m going to click Next I’ll go ahead and click install all right an escalation has succeeded and I’m going click close and at this point I’m done test it out one of the windows 7 workstations but no and it’s a part of the demand it’s this time I’m going to access first off the local shares that we created so here’s the local share on Galactica okay I notice that this is the actual DFS share and it points to both so I can still access the local share but that’s only on that one particular server and if I wanted to I could access the local share directly off the host name Pegasus there’s Pegasus data but if I want to get the DFS namespace share I would just type in the domain name that’ll start that galaxy and it would be up here where I have colonial fleet and just notice the UNC path right here battle starts that galaxy cloning will flip it that combines and aggregates all of the file shares on both of their servers so imagine if you will I had a dozen file servers on my network this makes things much more easily in a searchable usable a lot more friendly for my users for the people on my network because they don’t have to go hunting and pecking every single server to find the files are looking for they can simply access the DFS share and that sort of aggregates all this servers in different shares different virtual directories nice feature my DFS is installed I can go ahead and use a management console or a snapIt that is DFS management I already made a shortcut here but if I open it I can go to my namespaces notice that lists my colonial fleet as my battle start that Galaxy colonial fleet share and here are the actual shares showing the UNC path and there’s the host name of the server and the shares that

they’re on and I can go and add new folders made up this was there to add new servers if I wanted to I could remove some of these shares if I want to I’m going to delete them from the pool or from the virtual directory and I could create you know I could configure more DFS namespaces if I wanted to all from this tool so the configure to DFS namespace and that had the nun effect of taking multiple shares on different servers and concatenated or combining them together but it’s not the same thing as replication right now they’re just two separate copies of files so if I make changes to the files on Pegasus it’s not really going to affect the files on Galactica and vice versa in order to modify that we need to set up file replication services and then they’ll be able to synchronize now that was already installed and configured on Galactica when I went doing and configured file services the DFS namespace but I’ll need to add that to every other server that’s part of my DFS namespace that I want to engage in the replication process so let’s go do that right now to the member server Pegasus so to install for replication again I must open server manager now since I created a local share it will have installed some of the features of fall services but not all of them so specifically I need to add file replication services so it’s on a pretty slow here but let me get it there so I’m going to click on add roll services and the one that I really need is DFS replication okay and I’ll go ahead and click on next and install it’s a multi master replication engine in my distributed file system okay inflation succeeded and now that I have that set up I’m going to go on back on over to Galactica and set up a replication group so I’m back on Galactica and I want to open up DFS management and want to go to replication here I’m going to configure a new replication group and I’m going to select multi-purpose replication group and click Next the name of the replication group colonial fleet optional description a ragtag fugitive fleet let me call this capture and I’ll select the domain I need to add my servers and so and then and Pegasus okay so I’ve added them both and they both have fought replication services running on them we’re going to select next notice I can choose between full mesh and no topology that default is full mesh and that’s fine bandwidth I’m going to select full and then the primary member this is the one who’s dominant okay so let’s say that I’ll choose Galactica since that’s kind of where I set up the namespace so whatever changes if there are conflicts and changes I’m going to Galactica it will override those changes made on Pegasus in the replication process and then such folder on the Prime member that you want to replicate to other members of replication group click Add and then I’m going to go to here and I’m going to go to Galactica data and let’s say ok ok and then when I select next and a local path or the replicated folder will be stored on the other members of the replication group okay and in this case remember Pegasus member status is disabled and able to keep the

following folder synchronize with other members and I’m just going to choose the path of the folder this is on Pegasus I’m just going to make a folder called Galactica data you you all right Galactica data and I’ll select that folder all right and that’s so the relative you know the absolute path on Galactica relatively with the same absolute path on Pegasus is one next and then we’ll go ahead and create okay and then close replication will not begin until the configuration is picked up by the members of their application group the amount of time this takes it depends and on the polling interval and so here’s colonial fleet and on both servers now they’re going to have local folders that will be replicated to them okay so and I can choose options here I want to add new members new replicated folders create a new topology diagnostic report there’s a lot of different options and things here that we could get into but that’s just sort of a basic replication and so now I’m going you files here on the Galactica and this is my primary member I’m just going to say I’ll just add some files in here okay and will allow the replication process to synchronize as well so the user on Galactica let’s hop on over to Pegasus and see if our replication services is now replicating our shares and then here we are in peg and there are all the faults that we created on the Galactica so our replication service is successfully replicated as you know to our other servers