DFS Distributed File system

Source: Internet
Author: User

DFS: Distributed File System
Function:
1. Centralize shared folders across multiple computers into one virtual shared folder for user access and use
2. Many services require a high availability of shared folders. such as: Cluster as arbitration


Terms:
Namespace: is a set of virtual views of a shared folder in DFS.

(When the client accesses the DFS server, the \\geng.com\dfsroot is entered, and this virtual view is the namespace)

Namespace servers: Computers that host namespaces

(The server responsible for consolidating the scattered folders into a virtual directory.) )

Folder: The folder of the namespace

(folder under command space)

Folder target: The actual target of the folder

(The true path of the folder)

Experimental environment: SERVER01 domain control, SERVER02, SERVER03 are member servers.

Example: Deploying a Dfs File system to consolidate shared folder information on multiple servers

Step 1: Install the DFS component

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/3B/ Wkiom1v2s5jqmvf4aagz6asxnh0921.jpg "" 575 "height=" 406 "/>

Step 2: Open the DFS management tool

Server Manager--dfs Mange

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/37/wKioL1V2tVqg_1_ Raaflodvqqys033.jpg "" 582 "height=" 315 "/>

Command space--right--Create a new namespace

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/37/ Wkiol1v2tvqimsgvaadnybvjwak251.jpg "" 591 "height=" 217 "/>

Choose which server to do the namespace server, the experiment is SERVER01 do DFS server

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/37/ Wkiol1v2tvriyxihaadrnnhdc7o655.jpg "" 591 "height=" 437 "/>

Name of the namespace

650) this.width=650; "title=" image "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=" image "src=" Http://s3.51cto.com/wyfs02/M01/6E/37/wKioL1V2tVrDuibAAAE6Pw_ Jx3e767.jpg "" 594 "height=" 442 "/>

The edit settings, mainly the right to edit the shared folder of the namespace, here we select the default all user access has Read permission

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/3B/ Wkiom1v2s7ejd8m1aafkmxxa36s657.jpg "" 493 "height=" 545 "/>

Select a domain namespace

In a domain environment, it is recommended to select a namespace for the domain, and multiple namespaces can be established to facilitate troubleshooting or high availability

Stand-alone namespaces: only one namespace

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/3B/ Wkiom1v2s7einzmdaagksm84jfe438.jpg "" 591 "height=" 437 "/>

Create

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/3B/ Wkiom1v2s7ecmiaoaafleq1cfwq008.jpg "" 596 "height="/>

After the creation succeeds, the error column does not prompt the error message

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/3B/ Wkiom1v2s7fij-1eaaduxewubms130.jpg "" 596 "height="/>

Step 3: Right--Create a new folder

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/3B/ Wkiom1v2s7ji7esjaaebqdmqg64023.jpg "" 580 "height=" 263 "/>

Add folder name, destination of folder

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/3B/wKiom1V2s7iQWZV5AAENN-MW_ 1g023.jpg "" 564 "height=" 520 "/>

The Add--Browse

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/3B/ Wkiom1v2s7isbw19aacfmkiut38155.jpg "" 583 "height=" 224 "/>

Server02 display folder, the shared folder will appear on the Server02

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/3B/ Wkiom1v2s7js0r5kaaengkv3h6g382.jpg "" 570 "height=" 520 "/>

A folder on the namespace is created

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/3B/ Wkiom1v2s7jcbruraadtegizpwi360.jpg "" 574 "height=" 237 "/>

Step 4: Test

Access on the Server02

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/3B/ Wkiom1v2s7iy6cqiaafb-4qrxai168.jpg "" 578 "height=" 356 "/>

Experimental success

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/3B/ Wkiom1v2s7nhofycaactcf1ori8227.jpg "" 585 "height=" 227 "/>

Instance: namespace server High Availability

Role: Prevent server failure causing shared folder access to fail

Experimental ideas: High availability of namespaces between Server01 and Server02

1: First: Install the DFS component on Server02

2:server01 Open DFS Management--geng.com\dfsroot--right--Add a namespace server

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/3B/ Wkiom1v2s7mbuoqiaaeyceylfba823.jpg "" 584 "height="/>

Namespace server--Browse--SEVER02

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/3B/ Wkiom1v2s7mymodaaafdqguf7ow468.jpg "" 599 "height=" 428 "/>

At this point, 2 DFS default sites will appear on the namespace server

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/3B/ Wkiom1v2s7nrdml1aaeua69ek3u310.jpg "" 605 "height=" 287 "/>

Example: High availability of folders, example of a game folder

Experimental purpose: Server02 and server03 on the shared folder game high availability

Step 1:server02: Click the game Folder--right--Add folder target

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/3B/ Wkiom1v2s7nbdzxyaafdkier5hy963.jpg "" 629 "height=" 277 "/>

Folder destination path, choose to do a highly available DFS server, here is SERVER03

Browse

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/3B/ Wkiom1v2s7rjzsboaad16fdwizg237.jpg "" 633 "height=" 290 "/>

Server: server03--Show shared Folders

(The game folder is already shared on SERVER03)

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/3B/ Wkiom1v2s7qgur6baadk3oseid8880.jpg "" 453 "height=" 418 "/>

Yes, this is to create a replication group that synchronizes the Server02 with file replication on SERVER03

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/3B/ Wkiom1v2s7riywu0aacmyqjfo4s269.jpg "" 376 "height=" 226 "/>

Step 2: Copy-Copy Folder Wizard

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/3B/ Wkiom1v2s7qy-sbvaaefm6-8mzu579.jpg "" 629 "height=" 280 "/>

Next

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/3B/ Wkiom1v2s7qtemnfaae3aiqgn-q200.jpg "" 633 "height=" 468 "/>

Copied members

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/3B/ Wkiom1v2s7vcdjcfaafempzmtbm105.jpg "" 632 "height=" 470 "/>

The main members are to copy who is the main, we mainly SERVER02

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/3B/ Wkiom1v2s7vbvnklaaficahls74783.jpg "" 644 "height=" 478 "/>

Staggered

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/3B/ Wkiom1v2s7vdzjm5aagsb3egboo021.jpg "" 654 "height=" 487 "/>

Next

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/3B/ Wkiom1v2s7ugzq5baaf-sjhkhqe782.jpg "" 655 "height=" 484 "/>

Create

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/3B/ Wkiom1v2s7ystbvvaagzt9qdwac163.jpg "" 655 "height=" 487 "/>

Shut down

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/3B/ Wkiom1v2s7yyuwwkaaggcac6kws343.jpg "" 663 "height=" 493 "/>

Then a dialog box appears, identifying

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/37/ Wkiol1v2twchjeneaadcubxmv6i009.jpg "" 673 "height=" 213 "/>

This allows the high availability of the folder to be created.

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/37/ Wkiol1v2twcrjxxzaaf1wktlck8372.jpg "" 675 "height=" 345 "/>

Step 3: Verify that the new file is created on Server02, server03 the new file appears. Experimental success

650) this.width=650; "title=" image "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=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/3B/ Wkiom1v2s-asophgaadu6xy6bma068.jpg "" 676 "height=" 281 "/>

DFS Distributed File system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.