Windows Server2016 Install and configure DFS for data replication
Today we mainly introduce the Windows SERVER2016 installation and configure DFS implementation data replication, what is DFS? DFS is the Microsoft File distribution system, a network server component that makes it easier for you to query and manage data on the network. Distributed file system is to combine files distributed on different computers into a single namespace, and make it easier to create a single, hierarchical multi-file server and server sharing network, making it easier for users to access and manage files that are physically distributed across the network. DFS provides a single point of access and a logical tree structure for the file system, through DFS, where users do not need to know their physical location when accessing files, that is, files distributed across multiple servers are in the same place as the network. With DFS, you can organize shared folders on different computers in the same network to form a separate, logical, and hierarchical shared file system. The physical storage resources managed by the file system are not necessarily connected directly to the local node, but are connected to the nodes through the computer network. The design of a distributed file system is based on client/server mode. A typical network might include multiple servers for multiple users to access. In addition, the peer-to feature allows some systems to play the dual role of the client and server. For example, a user can "post" a directory that allows other clients to access, and once accessed, this directory is like a local drive to the client. Specifically not much to say, start our experiment today, the specific environment is as follows;
Hostname:dc
ip:192.168.5.10
Role:dc
Domain Name:ixmsoft.com
Hostname:dfs-01
ip:192.168.6.23
Role:dfs Server
hostname:dfs-02
ip:192.168.6.27
Role:dfs Server
We started the configuration after we added two servers to the domain.
We started installing the DFS services software on DFS-01
650) this.width=650; "title=" clipboard "style=" Border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard" src= "Http://s3.51cto.com/wyfs02/M00/8D/BC/wKioL1ipg2fCdpwEAAJkm-VGeTY055.png" height= "420"/>
We create a directory on the server's D drive
650) this.width=650; "title=" clipboard[1] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard[1]" src= "Http://s3.51cto.com/wyfs02/M01/8D/BF/wKiom1ipg2rjhDCNAAIORHZHrlM836.png" height= "419"/>
Start installing the DFS service
650) this.width=650; "title=" clipboard[2] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard[2]" src= "Http://s3.51cto.com/wyfs02/M01/8D/BC/wKioL1ipg3TicZ-cAAGcK408zWE820.png" height= "458"/>
Open file and storage---tick all DFS-related services
650) this.width=650; "title=" clipboard[3] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard[3]" src= "http://s3.51cto.com/wyfs02/M00/8D/BC/wKioL1ipg3ayvBM0AAHgzN7_k48320.png" height= "444"/>
Preparing to start the installation service
650) this.width=650; "title=" clipboard[4] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard[4]" src= "http://s3.51cto.com/wyfs02/M02/8D/BC/wKioL1ipg37ADOVhAAF-7XcaYMc197.png" height= "446"/>
Installation Complete
650) this.width=650; "title=" clipboard[5] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard[5]" src= "http://s3.51cto.com/wyfs02/M02/8D/BF/wKiom1ipg4DRyvdkAAFe2Svm06c243.png" height= "449"/>
We also need to operate the above steps on the second server;
Second server DFS-02
650) this.width=650; "title=" clipboard "style=" Border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard" src= "Http://s3.51cto.com/wyfs02/M00/8D/BC/wKioL1ipg4XiVnVBAAJi7MHPSPE542.png" height= "420"/>
We also create a directory on the second server
650) this.width=650; "title=" clipboard "style=" Border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard" src= "Http://s3.51cto.com/wyfs02/M01/8D/BF/wKiom1ipg5jwlqIOAAIE8PcJQ0k169.png" height= "417"/>
Start installing the DFS service
650) this.width=650; "title=" clipboard "style=" Border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard" src= "Http://s3.51cto.com/wyfs02/M00/8D/BC/wKioL1ipg5nClH65AAG2HhYRyuk695.png" height= "477"/>
Open file and storage---tick all DFS-related services
650) this.width=650; "title=" clipboard "style=" Border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard" src= "Http://s3.51cto.com/wyfs02/M01/8D/BF/wKiom1ipg5qCYfDTAAH9db6PaIg934.png" height= "478"/>
Start installation
650) this.width=650; "title=" clipboard "style=" Border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard" src= "Http://s3.51cto.com/wyfs02/M02/8D/BF/wKiom1ipg6DwJ7BiAAF1A2xEcrs125.png" height= "473"/>
Installation Complete
650) this.width=650; "title=" clipboard "style=" Border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard" src= "Http://s3.51cto.com/wyfs02/M00/8D/BF/wKiom1ipg6LS3o2cAAF3G4AwP2k292.png" height= "483"/>
Once the DFS service for the first and second servers is installed, we are now ready to configure the DFS service
We operate on the first server, then we open the console-management tool--DFS Management
650) this.width=650; "title=" clipboard[6] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard[6]" src= "Http://s3.51cto.com/wyfs02/M00/8D/BC/wKioL1ipg6eDwl_OAAOVl73C_xM505.png" height= "462"/>
After opening the DFS Management console, we right-click---copy---new replication group
650) this.width=650; "title=" clipboard[7] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard[7]" src= "Http://s3.51cto.com/wyfs02/M00/8D/BF/wKiom1ipg6nAEvd-AAB_zG5aGCo765.png" height= "318"/>
We choose-Multi-purpose replication group
650) this.width=650; "title=" clipboard[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard[8]" src= "http://s3.51cto.com/wyfs02/M01/8D/BF/wKiom1ipg6rhKo8UAADlZNlNl-I888.png" height= "425"/>
Define the name of a replication group
650) this.width=650; "title=" clipboard[9] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "Clipboard[9]" src= "Http://s3.51cto.com/wyfs02/M02/8D/BF/wKiom1ipg6ujkr2MAADJ_MtOp_g350.png" height= "418"/>
We need to add two DFS servers to this group, or we won't be able to next
650) this.width=650; "title=" clipboard[10] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[10]" src= "http://s3.51cto.com/wyfs02/M01/8D/BC/wKioL1ipg6yRHTOtAADbKCfeI4E019.png" height= "427"/>
We choose----staggered fabric
650) this.width=650; "title=" clipboard[11] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[11]" src= "http://s3.51cto.com/wyfs02/M02/8D/BC/wKioL1ipg62AQ34sAAEYS5XNJQg841.png" height= "425"/>
Here I choose to use the specified bandwidth replication,
Here you can choose according to your own environment, if the data volume is large, it is recommended to use the specified date and time to copy
650) this.width=650; "title=" clipboard[12] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[12]" src= "http://s3.51cto.com/wyfs02/M02/8D/BC/wKioL1ipg6_A4PmkAAD3UVWdtVg474.png" height= "423"/>
We select the main member--master
650) this.width=650; "title=" clipboard[13] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[13]" src= "Http://s3.51cto.com/wyfs02/M01/8D/BF/wKiom1ipg7DxBbU4AADfZoWYqfA074.png" height= "429"/>
Select the folders that need to be synchronized, then define the permissions, etc., can be configured according to their own environment;
650) this.width=650; "title=" clipboard[14] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[14]" src= "http://s3.51cto.com/wyfs02/M02/8D/BF/wKiom1ipg7HBmFGLAADQhGxQMkw644.png" height= "340"/>
Once defined, confirm
650) this.width=650; "title=" clipboard[15] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[15]" src= "http://s3.51cto.com/wyfs02/M02/8D/BC/wKioL1ipg7TTNnX2AADfGg28Hd8327.png" height= "424"/>
Define local path strength and permission settings for backup
650) this.width=650; "title=" clipboard[16] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[16]" src= "http://s3.51cto.com/wyfs02/M00/8D/BF/wKiom1ipg7XSkri-AAC8fRYOta4892.png" height= "314"/>
650) this.width=650; "title=" clipboard[17] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[17]" src= "Http://s3.51cto.com/wyfs02/M01/8D/BC/wKioL1ipg7aDk2CZAAC-HzrqAXk559.png" height= "317"/>
Definition Complete
650) this.width=650; "title=" clipboard[18] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[18]" src= "http://s3.51cto.com/wyfs02/M02/8D/BF/wKiom1ipg7jRJXvFAADv7FEJGM8256.png" height= "425"/>
Confirm Configuration
650) this.width=650; "title=" clipboard[19] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[19]" src= "http://s3.51cto.com/wyfs02/M00/8D/BF/wKiom1ipg7mw_E9sAAEKhjOOIDA501.png" height= "432"/>
Create complete
650) this.width=650; "title=" clipboard[20] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[20]" src= "http://s3.51cto.com/wyfs02/M01/8D/BF/wKiom1ipg7rScSnVAAD9Cbd1Xto575.png" height= "424"/>
Then we look at the replication group that we just defined
650) this.width=650; "title=" clipboard[21] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[21]" src= "Http://s3.51cto.com/wyfs02/M01/8D/BF/wKiom1ipg7vTELBMAABpiGXtWxc086.png" height= "304"/>
The DFS configuration of the second server also synchronizes the past
650) this.width=650; "title=" clipboard[22] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[22]" src= "http://s3.51cto.com/wyfs02/M02/8D/BF/wKiom1ipg7yROEMmAABa4sI-jOc966.png" height= "202"/>
The next step is to test
We first create a file in the Sharedir copy directory on the DFS-01 to see if it can be successfully synchronized
We've created a new test file, and then the content is Test 001.
650) this.width=650; "title=" clipboard[23] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[23]" src= "Http://s3.51cto.com/wyfs02/M02/8D/BF/wKiom1ipg72ChjPlAABtfComNoU636.png" height= "171"/>
Then we looked at the second server, and the synchronization was successful.
650) this.width=650; "title=" clipboard[24] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[24]" src= "Http://s3.51cto.com/wyfs02/M00/8D/BF/wKiom1ipg77hLqN5AAB7CvOcIgA060.png" height= "211"/>
We create a file on the second server to continue viewing
650) this.width=650; "title=" clipboard[25] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[25]" src= "Http://s3.51cto.com/wyfs02/M00/8D/BF/wKiom1ipg7_Qw5AOAACFMDCkYns616.png" height= "233"/>
View synchronization completed on one of the above
650) this.width=650; "title=" clipboard[26] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[26]" src= "http://s3.51cto.com/wyfs02/M01/8D/BC/wKioL1ipg8DSe53cAAB_-Xen2D8081.png" height= "255"/>
Finally, we need to pay attention to a problem, if we change the same file on both servers at the same time, this will conflict,
For example, the test-01 file is modified on the DFS-01 server, while the test-01 is modified on the second DFS-02 and saved, so there is a problem
650) this.width=650; "title=" clipboard[27] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clipboard[27]" src= "http://s3.51cto.com/wyfs02/M02/8D/BF/wKiom1ipg8KCHt-2AAC1jDhWhWc188.png" height= "241"/>
650) this.width=650; "title=" clipboard[28] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clipboard [] "src=" http://s3.51cto.com/wyfs02/M01/8D/BF/wKiom1ipg8PA7SnMAACsH1zflag934.png "height=" 241 "/>
Save at the same time
This article from "Gao Wenrong" blog, declined reprint!
Windows Server2016 Install and configure DFS for data replication