![](/user_photo/2706_HbeT2.jpg)
20411B-ENU-TrainerHandbook
.pdf![](/html/2706/383/html_UaxXd3m6r2.KJDF/htmlconvd-MvOjWd351x1.jpg)
![](/html/2706/383/html_UaxXd3m6r2.KJDF/htmlconvd-MvOjWd352x1.jpg)
![](/html/2706/383/html_UaxXd3m6r2.KJDF/htmlconvd-MvOjWd353x1.jpg)
|
|
Administering Windows Server® 2012 |
|
MCT |
||
|
|
10-25 |
|
|
||
|
Task 4: Generate an on-demand storage report |
|
|
|
|
|
1. |
Open the File Services Resource Manager console. |
|
USE |
|||
2. |
Right-click Storage Reports Management, select Generate Reports Now, and then provide the |
|||||
|
|
following parameters: |
|
|||
|
|
o Generate only the File Screening Audit report |
|
|||
|
|
o Report on E:\Labfiles\Mod10\Users |
|
|||
3. |
Review the generated reports in Windows Internet Explorer. |
|
|
|
|
|
4. |
Close all open windows on LON-SVR1. |
|
.ONLY |
|||
|
|
To prepare for the next lab |
|
|||
|
|
|
|
|
||
|
• |
When you finish the lab, do not shut down the virtual machines. You will need them for the next lab. |
||||
|
|
|
|
|
|
|
|
Results: After completing this exercise, you will have configured file screening and storage reports in |
|
|
|
|
|
|
FSRM. |
|
PROHIBITEDUSESTUDENT |
|||
|
|
|
|
|
||
|
|
|
|
|
|
|
![](/html/2706/383/html_UaxXd3m6r2.KJDF/htmlconvd-MvOjWd354x1.jpg)
10-26 Optimizing File Services |
MCT |
||||
|
|
||||
|
|
|
|
||
Lesson 4 |
|
|
|||
Overview of DFS |
USE |
||||
You can use DFS to meet the challenges of managing data for branch offices by providing fault-tolerant |
|||||
|
|
||||
access and wide area network (WAN)–friendly replication of files that are located throughout an |
|
|
|||
enterprise. |
|
|
|||
Lesson Objectives |
.ONLY |
||||
After completing this lesson, you will be able to: |
|||||
• |
Describe DFS. |
||||
|
|
||||
• |
Describe DFS namespaces. |
|
|
||
• |
Describe DFS Replication. |
|
|
||
• Describe how DFS namespaces and DFS replication work. |
|
|
|||
• |
Describe data deduplication. |
STUDENT |
|||
• |
Describe scenarios where DFS can be used. |
||||
|
|
||||
• Explain how to install the DFS role. |
|
|
|||
What Is DFS? |
|
|
|||
To access a file share, users typically require the |
|
|
|
||
|
|
|
|||
Universal Naming Convention (UNC) name to |
|
|
|
||
access the shared folder content. Many large |
|
|
|
||
organizations have hundreds of file servers that |
|
|
|
||
are dispersed geographically throughout an |
|
|
|
||
organization. This introduces a number of |
|
USE |
|||
challenges for users who are trying to find and |
|
||||
access files efficiently. |
|
||||
Through the use of a namespace, DFS can simplify |
|
||||
the UNC folder structure. In addition, DFS can |
|
||||
replicate the virtual namespace and the shared |
|
||||
folders to multiple servers within the organization. |
|
|
|
||
|
|
|
•DFS Namespace (DFS-N). Allows administrators to group shared folders that are located on different PROHIBITED servers into one or more logically structured namespaces. Each namespace appears to users as a
single shared folder with a series of subfolders. The subfolders typically point to shared folders that are located on various servers in multiple geographical sites throughout the organization.
•DFS-R. A multimaster replication engine that synchronizes files between servers for local and WAN network connections. DFS Replication supports replication scheduling, bandwidth throttling, and uses remote differential compression (RDC) to update only the portions of files that have changed since the last replication. You can use DFS Replication in conjunction with DFS namespaces or as a standalone file replication mechanism.
![](/html/2706/383/html_UaxXd3m6r2.KJDF/htmlconvd-MvOjWd355x1.jpg)
|
Administering Windows Server® 2012 |
MCT |
|||
|
10-27 |
|
|||
What Is a DFS Namespace? |
|
|
|
||
DFS namespaces enable a virtual representation |
|
|
|
|
|
|
USE |
||||
of shared folder structures. You can create either |
|||||
a domain-based or standalone namespace. Each |
|||||
|
|
|
|||
type has different characteristics. |
|
|
|
||
Domain-Based Namespace |
|
|
|
||
A domain-based namespace can be used when: |
|
|
|
•Namespace high availability is required, which ONLY is accomplished by replicating the namespace
to multiple namespace servers.
•You need to hide the name of the namespace servers from users. This also makes it easier to
replace a namespace server or migrate the namespace to a different server. Users will then access the \\domainname\namespace format as opposed to the \\servername\share format. .
If you choose to deploy a domain-based namespace, you will also need to choose whether to use the |
STUDENT |
|
|
Microsoft Windows 2000 Server mode or the Windows Server 2008 mode. Windows Server 2008 mode |
|
provides additional benefits such as support for access-based enumeration, and it increases the number of folder targets from 5,000 to 50,000. With access-based enumeration, you can also hide folders that users do not have permission to view.
•The Active Directory® forest must be at Windows Server 2003 or higher forest functional level.
•The Active Directory domain must be at the Windows Server 2008 domain functional level.
•All namespace servers must be Windows Server 2008.
Standalone Namespace
•An organization has not implemented Active Directory Domain Services (AD DS). USE
•An organization does not meet the requirements for a Windows Server 2008 mode, a domain-based namespace, and there are requirements for more than 5,000 DFS folders. Standalone DFS namespaces support up to 50,000 folders with targets.
•An organization is hosting a DFS namespace in a failover cluster. PROHIBITEDA standalone namespace is used when:
![](/html/2706/383/html_UaxXd3m6r2.KJDF/htmlconvd-MvOjWd356x1.jpg)
10-28 Optimizing File Services |
MCT |
||
|
|
|
|
|
|
|
|
What Is DFS Replication? |
|
|
|
DFS-R provides a way to keep folders |
|
|
|
|
|
|
•DFS-R uses Remote Differential Compression USE
(RDC). RDC is a client-server protocol that
can be used to efficiently update files over a ONLY limited bandwidth network. RDC detects data
insertions, removals, and rearrangements in files, enabling DFS-R to replicate only the changed file blocks when files are updated.
RDC is only used for files that are 64 kilobytes (KB) or larger by default. DFS-R also supports cross-file
RDC, which allows DFS-R to use RDC, even when a file with the same name does not exist at the .
client. Cross-file RDC can determine files that are similar to the file that needs to be replicated, and it
uses blocks of similar files that are identical to the replicating file to minimize the amount of data thatSTUDENT needs to be replicated.
•DFS-R uses a hidden staging folder to stage a file before sending or receiving it. Staging folders act as caches for new and changed files to be replicated from sending members to receiving members. The sending member begins staging a file when it receives a request from the receiving member. The process involves reading the file from the replicated folder and building a compressed representation of the file in the staging folder. After it has been constructed, the staged file is sent to the receiving member; if RDC is used, only a fraction of the staging file might be replicated. The receiving member downloads the data and builds the file in its staging folder. After the file download completes on
the receiving member, DFS-R decompresses the file and installs it into the replicated folder. Each replicated folder has its own staging folder, which by default is located under the local path of the replicated folder in the DfsrPrivate\Staging folder.
•DFS-R detects changes on the volume by monitoring the file system update sequence number (USN) USE journal and replicates changes only after the file is closed.
•DFS-R uses a version vector exchange protocol to determine which files need to be synchronized. The protocol sends less than 1 KB per file across the network to synchronize the metadata associated with changed files on the sending and receiving members.
•DFS-R uses a conflict resolution heuristic of “last writer wins” for files that are in conflict (that is, a file PROHIBITED that is updated at multiple servers simultaneously) and “earliest creator wins” for name conflicts. Files
and folders that lose the conflict resolution are moved to a folder known as the Conflict and Deleted folder. You can also configure the service to move deleted files to the Conflict and Deleted folder for retrieval, should the file or folder be deleted. Each replicated folder has its own hidden Conflict and Deleted folder, which is located under the local path of the replicated folder in the DfsrPrivate \ConflictandDeleted folder.
•DFS-R is self-healing and can automatically recover from USN journal wraps, USN journal loss, or DFS-R database loss.
•DFS-R uses a Windows Management Instrumentation (WMI) provider that provides interfaces to obtain configuration and monitoring information from the DFS-R service.synchronized between servers across well-
![](/html/2706/383/html_UaxXd3m6r2.KJDF/htmlconvd-MvOjWd357x1.jpg)
![](/html/2706/383/html_UaxXd3m6r2.KJDF/htmlconvd-MvOjWd358x1.jpg)
10-30 Optimizing File Services
How Data Deduplication Works |
|
||
Once a volume has data deduplication enabled, Windows 2012 optimizes the volumes by maintaining the |
|||
following components: |
MCT |
||
USE |
|||
• |
Unoptimized files. These include any files that do not meet the file-age criteria for data deduplication. |
||
|
In order to be optimized by data deduplication, files must remain static for a certain amount of time. |
||
|
Unoptimized files could include system state files, encrypted files, files smaller than 32 KB, files with |
||
|
extended attibutes, or files that are in use by other applications. |
||
|
|
||
• |
Optimized files. Optimized files are stored as reparse points. A reparse point contains a pointer to the |
.ONLY |
|
|
locations of the chunk data within the chunk store, so the respective chunks can be retrieved when |
||
|
required. |
||
• |
Chunk store. Optimized file data is located in the chunk store. |
||
Benefits of Data Deduplication |
|||
Data deduplication can help you cope with storage growth in the following areas: |
|||
• |
Capacity optimization. Data deduplication enables a server to store more data in less physical disk |
||
STUDENT |
|||
|
space. |
||
• |
Scale and performance. Data deplucation is highly scalable in Windows Server 2012. It can run on |
||
|
multiple volumes without affecting other services and applications running on the server. Data |
||
|
deduplication can be throttled to accommodate other heavy workloads on the server, so that no |
||
|
performance degradation occurs for important server tasks. |
||
• |
Reliability data integrity. Windows Server 2012 uses checksum. Consistency and validation to ensure |
||
|
that the integrity of data affected by data deduplication remains intact. Data deduplication also |
||
|
maintains redundant copies of the most frequently used data on a volume to protect against data |
||
|
corruption. |
||
• |
Bandwidth efficiency. In combination with DFS-R, or other file replication technology such as |
||
|
BranchCache, data deduplication can greatly reduce the bandwidth consumed replicating file data, |
||
|
provided that replication partners are also running Windows Server 2012. |
||
|
USE |
||
• |
Simple optimization management. Windows Server 2012 and Windows PowerShell 3.0 contain |
||
|
integrated support for data deduplication. Implementation and management within Windows |
||
|
Server 2012 is done with familiar tools. |
||
Implementing Data Deduplication |
|||
Use the following process to implement data deduplication on a server: |
|
||
1. |
Install the Data Deduplication role service for the File Services role. |
|
|
|
This can be performed by using the Add Roles and Features Wizard in Server Manager, or by using |
|
|
|
the following Windows PowerShell cmdlets: |
|
|
|
|
|
|
|
Import-Module ServerManager |
|
|
|
Add-WindowsFeature -name FS-Data-Deduplication |
|
|
|
Import-Module Deduplication |
|
|
|
|
|
|
2. |
Enable data deduplication on one or more volumes. |
PROHIBITED |
|
|
Within Server Manager, you can right-click a volume and select Configure Data Deduplication, |
||
|
which opens the Data Deduplication Settings page. |
||
|
|
![](/html/2706/383/html_UaxXd3m6r2.KJDF/htmlconvd-MvOjWd359x1.jpg)
Administering Windows Server® 2012 |
MCT |
|
10-31 |
|
Alternatively, you can use the following Windows PowerShell cmdlet to enable data deduplication (for the volume E:, in this case):
3.Optionally, configure data deduplication jobs for a volume. USE
By default, built-in jobs are created and scheduled when you enable data deduplication for a volume.
If required, you can manually configure these jobs, or create additional jobs to further manage how data deduplication functions.Enable-DedupVolume E:
Additional Reading: Data Deduplication Overview ONLY
.
Several key scenarios can benefit from DFS-N and
DFS-R. These scenarios include:
• Sharing files across branch offices.
• Data collection.
• Data distribution.
the files to be used for a number of specific purposes. Critical data can be replicated to a hub site by using DFS-R and then backed up at the hub site by using standard backup procedures. This increases the branch office data recoverability if a server fails, because files will be available in two separate locations and backed up. Additionally, companies can reduce branch office costs by eliminating backup hardware and onsite IT personnel expertise. Replicated data can also be used to make branch office file shares fault tolerant. If the branch office server fails, clients in the branch office can access the replicated data at the hub site.
Sharing Files Across Branch Offices |
|
|
|||
Large organizations that have many branch offices |
|
|
|||
often have to share files or collaborate between |
|
|
|||
these locations. DFS-R can help replicate files |
|
|
|||
between branch offices or from a branch office to |
|
|
|
||
|
STUDENT |
||||
|
|
|
|||
a hub site. Having files in multiple branch offices also benefits users who travel from one branch office to |
|||||
another. The changes that users make to their files in one branch office are replicated back to their branch |
|||||
office. |
USE |
||||
|
Note: This scenario is recommended only if users can tolerate some file inconsistencies as |
||||
|
|||||
changes are replicated throughout the branch servers. Also, note that DFS-R only replicates a file |
|||||
PROHIBITED |
|||||
after it is closed. Therefore, DFS-R is not recommended for replicating database files or any files |
|||||
that are held open for long periods of time. |
|||||
Data Collection |
|||||
DFS technologies can collect files from a branch office and replicate them to a hub site, thus allowing |
|||||
|
|
|
![](/html/2706/383/html_UaxXd3m6r2.KJDF/htmlconvd-MvOjWd360x1.jpg)