Optimizing File Services Flashcards
File Server Resource Manager (FSRM) Using FSRM to Manage Quotas, File Screens, and Storage Reports Implementing Classification Management and File Management Tasks Distributed File System (DFS) Configuring DFS Namespaces Configuring and Troubleshooting DFS Replication
- What is DFSR?
- What is DFSN?
- What is the DFS Management Console?
- What is the FSRM Console?
- Distributed File System (DFS)Replication
- Distributed File System (DFS) Namespace
- You use the Distributed File System (DFS) Management Console to manage DFS namespaces and DFS replication.
- File Server Resource Manager (FSRM) is a role service in Windows Server that enables you to manage and classify data stored on file servers. You can use File Server Resource Manager to automatically classify files, perform tasks based on these classifications, set quotas on folders, and create reports monitoring storage usage.
What does the PowerShell CmdLet Do?
Get-DfsnAccess
Gets permissions for a DFS namespace folder.
What does the PowerShell CmdLet Do?
Get-DfsnFolder
Gets settings for a DFS namespace folder.
What does the PowerShell CmdLet Do?
Get-DfsnFolderTarget
Gets settings for targets of a DFS namespace folder.
What does the PowerShell CmdLet Do?
Get-DfsnRoot
Gets settings for DFS namespaces.
What does the PowerShell CmdLet Do?
Get-DfsnRootTarget
Gets settings for root targets of a DFS namespace.
What does the PowerShell CmdLet Do?
Get-DfsnServerConfiguration
Gets DFS namespace settings for a DFSN root server.
What does the PowerShell CmdLet Do?
Grant-DfsnAccess
Grants permissions to users and groups to access a DFS namespace folder.
What does the PowerShell CmdLet Do?
Move-DfsnFolder
Moves or renames a DFS namespace folder.
What does the PowerShell CmdLet Do?
New-DfsnFolder
Creates a folder in a DFS namespace.
What does the PowerShell CmdLet Do?
New-DfsnFolderTarget
Adds a target to a DFS namespace folder.
What does the PowerShell CmdLet Do?
New-DfsnRoot
Creates a DFS namespace.
What does the PowerShell CmdLet Do?
New-DfsnRootTarget
Adds a root target to a DFS namespace.
What does the PowerShell CmdLet Do?
Remove-DfsnAccess
Removes users and groups from the ACL for a folder in a DFS namespace.
What does the PowerShell CmdLet Do?
Remove-DfsnFolder
Removes a DFS namespace folder.
What does the PowerShell CmdLet Do?
Remove-DfsnFolderTarget
Removes a target for a DFS namespace folder.
What does the PowerShell CmdLet Do?
Remove-DfsnRoot
Removes a DFS namespace.
What does the PowerShell CmdLet Do?
Remove-DfsnRootTarget
Removes a target for a DFS namespace root.
What does the PowerShell CmdLet Do?
Revoke-DfsnAccess
Revokes permissions for users to access and enumerate the contents of a DFS namespace folder.
What does the PowerShell CmdLet Do?
Set-DfsnFolder
Changes settings for a DFS namespace folder.
What does the PowerShell CmdLet Do?
Set-DfsnFolderTarget
Changes settings for a target of a DFS namespace folder.
What does the PowerShell CmdLet Do?
Set-DfsnRoot
Changes settings for a DFS namespace.
What does the PowerShell CmdLet Do?
Set-DfsnRootTarget
Changes settings for a root target of a DFS namespace.
What does the PowerShell CmdLet Do?
Set-DfsnServerConfiguration
Changes settings for a DFS namespace root server.
What does the PowerShell CmdLet Do?
Add-DfsrConnection
Creates a connection between members of a replication group.
What does the PowerShell CmdLet Do?
Add-DfsrMember
Adds computers to a replication group.
What does the PowerShell CmdLet Do?
ConvertFrom-DfsrGuid
Translates GUIDs to friendly names within a given replication group.
What does the PowerShell CmdLet Do?
Export-DfsrClone
Exports the cloned DFS Replication database and volume configuration settings.
What does the PowerShell CmdLet Do?
Get-DfsReplicatedFolder
Gets a replicated folder from a replication group.
What does the PowerShell CmdLet Do?
Get-DfsReplicationGroup
Retrieves a replication group.
What does the PowerShell CmdLet Do?
Get-DfsrBacklog
Retrieves the list of pending file updates between two DFS Replication partners.
What does the PowerShell CmdLet Do?
Get-DfsrCloneState
Gets the status of a database cloning operation.
What does the PowerShell CmdLet Do?
Get-DfsrConnection
Gets a connection between DFS Replication partners.
What does the PowerShell CmdLet Do?
Get-DfsrConnectionSchedule
Gets a connection schedule between members of a replication group.
What does the PowerShell CmdLet Do?
Get-DfsrFileHash
Gets a file hash.
What does the PowerShell CmdLet Do?
Get-DfsrGroupSchedule
Retrieves a replication group schedule.
What does the PowerShell CmdLet Do?
Get-DfsrIdRecord
Gets ID records for replicated files or folders from the DFS Replication database.
What does the PowerShell CmdLet Do?
Get-DfsrMember
Gets member computers in a replication group.
What does the PowerShell CmdLet Do?
Get-DfsrMembership
Gets membership settings for members of replication groups.
What does the PowerShell CmdLet Do?
Get-DfsrPreservedFiles
Gets a list of files and folders that DFS Replication previously preserved.
What does the PowerShell CmdLet Do?
Get-DfsrServiceConfiguration
Gets settings for the DFS Replication service on group members.
What does the PowerShell CmdLet Do?
Get-DfsrState
Gets the DFS Replication state for a member.
What does the PowerShell CmdLet Do?
Import-DfsrClone
Imports a cloned DFS Replication database and volume configuration settings.
What does the PowerShell CmdLet Do?
New-DfsReplicatedFolder
Creates a replicated folder in a replication group.
What does the PowerShell CmdLet Do?
New-DfsReplicationGroup
Creates a replication group.
What does the PowerShell CmdLet Do?
Remove-DfsReplicatedFolder
Removes a replicated folder from a replication group.
What does the PowerShell CmdLet Do?
Remove-DfsReplicationGroup
Removes a replication group.
What does the PowerShell CmdLet Do?
Remove-DfsrConnection
Removes a connection between members of a replication group.
What does the PowerShell CmdLet Do?
Remove-DfsrMember
Removes computers from a replication group.
What does the PowerShell CmdLet Do?
Remove-DfsrPropagationTestFile
Removes DFS Replication propagation test files.
What does the PowerShell CmdLet Do?
Reset-DfsrCloneState
Cancels a cloning operation.
What does the PowerShell CmdLet Do?
Restore-DfsrPreservedFiles
Restores files and folders that DFS Replication previously preserved.
What does the PowerShell CmdLet Do?
Set-DfsReplicatedFolder
Changes settings of a replicated folder.
What does the PowerShell CmdLet Do?
Set-DfsReplicationGroup
Modifies a replication group.
What does the PowerShell CmdLet Do?
Set-DfsrConnection
Changes the settings of a connection between members of a replication group.
What does the PowerShell CmdLet Do?
Set-DfsrConnectionSchedule
Changes the settings of a connection schedule between members of a replication group.
What does the PowerShell CmdLet Do?
Set-DfsrGroupSchedule
Modifies a replication group schedule.
What does the PowerShell CmdLet Do?
Set-DfsrMember
Modifies member computer information in a replication group.
What does the PowerShell CmdLet Do?
Set-DfsrMembership
Configures membership settings for replication group members.
What does the PowerShell CmdLet Do?
Set-DfsrServiceConfiguration
Modifies settings for the DFS Replication service.
What does the PowerShell CmdLet Do?
Start-DfsrPropagationTest
Creates a propagation test file in a replicated folder.
What does the PowerShell CmdLet Do?
Suspend-DfsReplicationGroup
Suspends replication between computers regardless of schedule.
What does the PowerShell CmdLet Do?
Sync-DfsReplicationGroup
Synchronizes replication between computers regardless of schedule.
What does the PowerShell CmdLet Do?
Update-DfsrConfigurationFromAD
Initiates an update of the DFS Replication service.
What does the PowerShell CmdLet Do?
Write-DfsrHealthReport
Generates a DFS Replication health report.
What does the PowerShell CmdLet Do?
Write-DfsrPropagationReport
Generates reports for propagation test files in a replication group.
How would you install the FSRM Role using PowerShell?
Install-WindowsFeature -Name FS-Resource-Manager -IncludeManagementTools
What does the PowerShell CmdLet Do?
Get-FsrmAdrSetting
Gets access denied remediation settings for events.
What does the PowerShell CmdLet Do?
Get-FsrmAutoQuota
Gets auto apply quotas on a server.
What does the PowerShell CmdLet Do?
Get-FsrmClassification
Gets the status of the running file classification.
What does the PowerShell CmdLet Do?
Get-FsrmClassificationPropertyDefinition
Gets definitions of classification properties.
What does the PowerShell CmdLet Do?
Get-FsrmClassificationRule
Gets classification rules.
What does the PowerShell CmdLet Do?
Get-FsrmEffectiveNamespace
Gets a list of paths that match static namespaces.
What does the PowerShell CmdLet Do?
Get-FsrmFileGroup
Gets file groups.
What does the PowerShell CmdLet Do?
Get-FsrmFileManagementJob
Gets file management jobs.
What does the PowerShell CmdLet Do?
Get-FsrmFileScreen
Gets file screens.
What does the PowerShell CmdLet Do?
Get-FsrmFileScreenException
Gets file screen exceptions.
What does the PowerShell CmdLet Do?
Get-FsrmFileScreenTemplate
Gets file screen templates.
What does the PowerShell CmdLet Do?
Get-FsrmMacro
Gets FSRM-supported macros.
What does the PowerShell CmdLet Do?
Get-FsrmMgmtProperty
Gets management properties.
What does the PowerShell CmdLet Do?
Get-FsrmQuota
Gets FSRM quotas on the server.
What does the PowerShell CmdLet Do?
Get-FsrmQuotaTemplate
Gets FSRM quota templates
What does the PowerShell CmdLet Do?
Get-FsrmRmsTemplate
Gets a list of all RMS templates on the server.
What does the PowerShell CmdLet Do?
Get-FsrmSetting
Gets the current FSRM settings.
What does the PowerShell CmdLet Do?
Get-FsrmStorageReport
Gets storage reports.
What does the PowerShell CmdLet Do?
New-FsrmAction
Returns an FSRM action object.
What does the PowerShell CmdLet Do?
New-FsrmAutoQuota
Creates an auto apply quota.
What does the PowerShell CmdLet Do?
New-FsrmClassificationPropertyDefinition
Creates a classification property definition.
What does the PowerShell CmdLet Do?
New-FsrmClassificationPropertyValue
Creates a classification property value.
What does the PowerShell CmdLet Do?
New-FsrmClassificationRule
Creates an automatic classification rule.
What does the PowerShell CmdLet Do?
New-FsrmFMJNotification
Returns a notification object for file management jobs.
What does the PowerShell CmdLet Do?
New-FsrmFileGroup
Creates a file group.
What does the PowerShell CmdLet Do?
New-FsrmFileManagementJob
Creates a file management job.
What does the PowerShell CmdLet Do?
New-FsrmFileScreen
Creates a file screen.
What does the PowerShell CmdLet Do?
New-FsrmFileScreenException
- When can you not use this?
- When can you use this?
Creates a file screen exception.
- You cannot create a file screen exception on a folder for which you already have a file screen.
- You must assign the exception to a subfolder or make changes to the existing file screen.
What does the PowerShell CmdLet Do?
New-FsrmFileScreenTemplate
Creates a file screen template.
What does the PowerShell CmdLet Do?
New-FsrmFmjAction
Returns an action object for file management jobs.
What does the PowerShell CmdLet Do?
New-FsrmFmjCondition
Creates a file management property condition object.
What does the PowerShell CmdLet Do?
New-FsrmFmjNotificationAction
Returns a notification action object for file management jobs.
What does the PowerShell CmdLet Do?
New-FsrmQuota
Creates a FSRM quota.
What does the PowerShell CmdLet Do?
New-FsrmQuotaTemplate
Creates a quota template.
What does the PowerShell CmdLet Do?
New-FsrmQuotaThreshold
Returns a quota threshold object.
What does the PowerShell CmdLet Do?
New-FsrmScheduledTask
Creates a scheduled task object.
What does the PowerShell CmdLet Do?
New-FsrmStorageReport
Creates a storage report on the server.
What does the PowerShell CmdLet Do?
Remove-FsrmAutoQuota
Removes an auto apply quota from a server.
What does the PowerShell CmdLet Do?
Remove-FsrmClassificationPropertyDefinition
Removes classification property definitions.
What does the PowerShell CmdLet Do?
Remove-FsrmClassificationRule
Removes classification rules.
What does the PowerShell CmdLet Do?
Remove-FsrmFileGroup
Removes file groups from the server.
What does the PowerShell CmdLet Do?
Remove-FsrmFileManagementJob
Removes file management jobs.
What does the PowerShell CmdLet Do?
Remove-FsrmFileScreen
Removes a file screen.
What does the PowerShell CmdLet Do?
Remove-FsrmFileScreenException
Removes a file screen exception.
What does the PowerShell CmdLet Do?
Remove-FsrmFileScreenTemplate
Removes file screen templates.
What does the PowerShell CmdLet Do?
Remove-FsrmMgmtProperty
Removes a management property.
What does the PowerShell CmdLet Do?
Remove-FsrmQuota
Removes a FSRM quota from the server.
What does the PowerShell CmdLet Do?
Remove-FsrmQuotaTemplate
Removes FSRM quota templates.
What does the PowerShell CmdLet Do?
Remove-FsrmStorageReport
Removes storage reports.
What does the PowerShell CmdLet Do?
Reset-FsrmFileScreen
Resets the default settings for all file screen parameters.
What does the PowerShell CmdLet Do?
Reset-FsrmQuota
Updates configuration settings of a FSRM quota.
What does the PowerShell CmdLet Do?
Send-FsrmTestEmail
Sends a test email message.
What does the PowerShell CmdLet Do?
Set-FsrmAdrSetting
Changes configuration settings for access denied remediation.
What does the PowerShell CmdLet Do?
Set-FsrmAutoQuota
Changes configuration settings of an auto apply quota.
What does the PowerShell CmdLet Do?
Set-FsrmClassification
Changes configuration settings for classification.
What does the PowerShell CmdLet Do?
Set-FsrmClassificationPropertyDefinition
Changes a classification property definition.
What does the PowerShell CmdLet Do?
Set-FsrmClassificationRule
Changes configuration settings of classification rules.
What does the PowerShell CmdLet Do?
Set-FsrmFileGroup
Changes configuration settings for file groups.
What does the PowerShell CmdLet Do?
Set-FsrmFileManagementJob
Changes configuration settings of a file management job.
What does the PowerShell CmdLet Do?
Set-FsrmFileScreen
Changes configuration settings of a file screen.
What does the PowerShell CmdLet Do?
Set-FsrmFileScreenException
Changes configuration settings of a file screen exception.
What does the PowerShell CmdLet Do?
Set-FsrmFileScreenTemplate
Changes configuration settings of a file screen template.
What does the PowerShell CmdLet Do?
Set-FsrmMgmtProperty
Changes the setting of a management property.
What does the PowerShell CmdLet Do?
Set-FsrmQuota
Changes configuration settings for a FSRM quota.
What does the PowerShell CmdLet Do?
Set-FsrmQuotaTemplate
Changes configuration settings for FSRM quota templates.
What does the PowerShell CmdLet Do?
Set-FsrmSetting
Changes global FSRM settings for the computer.
What does the PowerShell CmdLet Do?
Set-FsrmStorageReport
Changes settings of a storage report.
What does the PowerShell CmdLet Do?
Start-FsrmClassification
Starts the classification process.
What does the PowerShell CmdLet Do?
Start-FsrmFileManagementJob
Starts a file management job.
What does the PowerShell CmdLet Do?
Start-FsrmStorageReport
Starts generating storage reports.
What does the PowerShell CmdLet Do?
Stop-FsrmClassification
Stops the running instance of a classification.
What does the PowerShell CmdLet Do?
Stop-FsrmFileManagementJob
Stops the running instance of a file management job.
What does the PowerShell CmdLet Do?
Stop-FsrmStorageReport
Stops the running instance of storage reports.
What does the PowerShell CmdLet Do?
Update-FsrmAutoQuota
Updates the properties of an auto apply quota.
What does the PowerShell CmdLet Do?
Update-FsrmClassificationPropertyDefinition
Updates the classification property definitions.
What does the PowerShell CmdLet Do?
Update-FsrmQuota
Starts a quota scan on a path.
What does the PowerShell CmdLet Do?
Wait-FsrmClassification
Waits for a period of time or until classification is finished running.
What does the PowerShell CmdLet Do?
Wait-FsrmFileManagementJob
Waits for file management jobs to finish running.
What does the PowerShell CmdLet Do?
Wait-FsrmStorageReport
Waits for a period of time or until storage reports is finished running.
How do you install FSRM from PowerShell?
Install-WindowsFeature -Name FS-Resource-Manager -IncludeManagementTools
How do you create a quota via PowerShell:
- Create a Quota on the C:\Shares path, with a description, and using the 100 MB Limit template?
- Create a Quota on the C:\Shares path with a description and a quota of 1GB?
- Create a Quota on the C:\Shares path with a soft quota of 1GB?
- New-FsrmQuota -Path “C:\Shares” -Description “Some Description” -Template “100 MB Limit”
- New-FsrmQuota -Path “C:\Shares” -Description “Some Description” -Size 1GB
- New-FsrmQuota -Path “C:\Shares” -Size 1GB -SoftLimit
When you update a Quota Template what three options:
- Apply template only to dervied quotas that match the original template
- Apply template to all dervied quotas
- Do not apply template to dervied quotas
What does each option do?
- Apply auto apply quota only to derived quotas that match the original auto apply quota. – Translation: All existing quotas are changed to the new quota unless they have been changed. All new folders created will have the new quota applied.
- Apply auto apply quota to all derived quotas. – Translation: All existing quotas are changed to the new quota. (This includes any individual or one-off changes you may have made to individual folders/users.) All new folders created will have the new quota applied.
- Do not apply auto apply quota to derived quotas. – Translation: Existing quotas are not changed. All new folders created will have the new quota applied.
How do you create a file group via PowerShell:
- Create a File Group with the Name MPx Media Files that blocks all files types that contain “.mp” except for “.mpp”
- New-FsrmFileGroup -Name “MPx Media Files” -IncludePattern “*.mp*” -ExcludePattern “*.mpp”
What are the two types of File Screens?
- Passive - allows the configured file types to be saved, but performs actions like logging or email notifications and can be useful for monitoring.
- Active - blocks configured file types from being saved to the folder and sub-folders.
How would you create a File Screen via PowerShell:
- Create a passive file screen on the C:\Shares using the file group “MPx Media Files” with a description.
- Create a File Screen on C:\Shares from the Template “Block Image Files”.
- Create an active file screen on the C:\Shares with an email notification to the Admin, with the emails only going out ever 120 minutes, and using the group “Mpx Media Files”
- New-FsrmFileScreen -Path “C:\Shares” -Description “Some Description” -IncludeGroup “MPx Media Files”
- New-FsrmFileScreen -Path “C:\Shares” -Template “Block Image Files”
- Run the following:
- $Notification = New-FsrmAction -Type Email -MailTo “[Admin Email];[File Owner]” -Subject “Warning: attempted to create a non-HTML text file” -Body “You attempted to create a non-HTML text file. This is not allowed.” -RunLimitInterval 120
- New-FsrmFileScreen -Path “C:\Shares” -IncludeGroup “MPx Media Files” -Notification $Notification -Active
How do you create a File Screen exception via PowerShell:
- You have a file screen placed on C:\Shares that blocks all photo files. You need to allow photos to be saved in only one place C:\Shares\Photos. Create a File Screen Exception
- New-FsrmFileScreenException -Path “C:\Shares\Photos” -IncludeGroup “Photos”
How would you create a FSRM Storage Report for the C:\Shares for Large Files and Files by File Group, minimum size being 10 MB and file group is Text Files via PowerShell?
New-FsrmStorageReport -Name “Find large files and file groups” -Namespace @(“C:\Shares”) -ReportType @(“LargeFiles”, “FilesByFileGroup”) -LargeFileMinimum 10MB -FileGroupIncluded “Text files” -Interactive
How would you create a FSRM Classification Rule?
- Expand Classification Management
- Create a Classification property if needed
- Right-Click Classification Rules
- Enter a Name & Description
- Select a Scope (type of data and folders scanned)
- Select a Classification Method
- Enter a parameter to classify the data (Regular Expression or String)
- Set Evaluation Types
- Re-evaluate exisiting property values
- Overwrite exisiting value
- Aggregate the values (Higher prority wins)
- Re-evaluate exisiting property values
What Action can you create a File Management Task to do?
- File expiration
- RMS Encryption
- Custom - (Email & Scripts/EXE)
How do you install the DFSR and DFSN Role?
- DFSR: Install-WindowsFeature -Name “FS-DFS-Replication” -IncludeManagementTools
- DFSN: Install-WindowsFeature -Name “FS-DFS-Namespace” -IncludeManagementTools
How do you create a Namespace via PowerShell:
- Create a 2008 mode Domain Namespace for the domain Contoso, the name Resources, and on the Contoso-FS Server
- Create a stand alone Namespace for the Domain Contoso, Named Software, on the Contoso-FS Server
- New-DfsnRoot -TargetPath “\Contoso-FS\Resources” -Type DomainV2 -Path “\Contoso\Resources”
- New-DfsnRoot -TargetPath “\Contoso-FS\Software” -Type Standalone -EnableSiteCosting -Path “\Contoso\Software”
How do you create a fault taulerant Domain Namespace?
Add a second Namespace server as a replica namespace
What does the following CMD do?
Dfsdiag /TestDCs
Checks domain controller configuration.
What does the following CMD do?
Dfsdiag /TestSites
Checks site associations.
What does the following CMD do?
Dfsdiag /TestDFSConfig
Checks DFS Namespace configuration.
What does the following CMD do?
Dfsdiag /TestDFSIntegrity
Checks DFS Namespace integrity.
What does the following CMD do?
Dfsdiag /TestReferral
Checks referral responses.
What are the characteristics of DFS Replication?
- RDC
- Uses a staging folder to stage a file before sending or receving it
- Detects changes on the volume by monitoring the USN journal
- Uses a vector version exchange protocol
- Recovers from failure
What are the different types of DFS Topologies?
- Full Mesh - Every Server has the same file
- Hub and Spoke - Master Server pushes out to member servers
- No topology - Can also create a custom topology
Where would you find namespace referals settings?
The Namespace Properties
- How woud you create a namespace folder in PowerShell?
- How would you add a second folder in PowerShell?
- New-DfsnFolder -Path “<domain>" -TargetPath "<computer>" -EnableTargetFailback $True
</computer></domain><ol>
<li><span>ex. New-DfsnFolder -Path "\\Domain\AccountingResources\LegacySoftware" -TargetPath "\\ServerName\AccountingLegacy" -EnableTargetFailback $True -Description "Folder for legacy software."</span></li>
</ol></computer></domain> - New-DfsnFolderTarget -Path “<domain>" -TargetPath "<computer>"</computer></domain>
How do you set up a replicated folder on two servers? (GUI)
- Add a New folder to the Namesapce
- Select Each Server and the folder target
- Create a Replication Group
- Create a Name
- Add the servers for the members
- Select the topology
- Set the schedule and bandwidth
- Select the primary Member
- Select the folders to replicate
How do you set up a replication group in PowerShell?
- New-DfsReplicationGroup -GroupName “<create>"</create>
- Creates a new Replication Group
- New-DfsReplicatedFolder -GroupName “<name>" -FolderName "<create>"</create></name>
- Creates a new Replicated Folder
- Add-DfsrMember -ComputerName “<name>,<name>"</name></name>
- Adds computers to a replication group
- Add-DfsrConnection -GroupName “<name>" -SourceComputerName "<computer>" -DestinationComputerName "<downstream>"</downstream></computer></name>
- Creates a connection between two computers. One will be the downstream computer
- Set-DfsrMembership -GroupName “<name>" -FolderName "<name>" -ComputerName "<computers>,<add>" -ContentPath "<path>"</path></add></computers></name></name>
- Edits membership for servers specified and adds a what folder will be replicated
- Where would you edit the replication schedule for a replication group?
- How would you edit the replicaiton schedule for a replication group in PowerShell?
- Edit the Schedule for All Days
- A specific day edit
- To edit the schedule:
- Expand the replicaiton groups
- Right-Click the group, Select Properties
- Select Edit Schedule
- In PowerShell:
- Set-DfsrGroupSchedule -GroupName “<replication>" -ScheduleType <always>"</always></replication>
- Set-DfsrGroupSchedule -GroupName “<replication>" -Day <type> -BandwidthDetail <enter></enter></type></replication>
- Bandwidth info (not needed for answer):
- 0 = No replication
- 1 = 16 kilobits per second (Kbps)
- 2 = 64 Kbps
- 3 = 128 Kbps
- 4 = 256 Kbps
- 5 = 512 Kbps
- 6 = 1 megabit per second (Mbps)
- 7 = 2 Mbps
- 8 = 4 Mbps
- 9 = 8 Mbps
- A = 16 Mbps
- B = 32 Mbps
- C = 64 Mbps
- D = 128 Mbps
- E = 256 Mbps
- F = Full bandwidth replication
Where do deleted or conflict files go?
It gets stored in your DFS private folder in the Conflicts and Deleted folder
What are the types of Diagnostic reports for Replication?
- Health Report -
- Propagation Test
- Propagatiion Report
What does each type of Replication Report/Test Do?
- Health Report
- Propagation Test
- Propagation Report
- Health Report - Generates a rport that shows the replication health and efficiency
- Propagation Test - Test replication progress by creating a test file in a replicted folder
- Propagation Report - Generates a report that tracks the replication progress of a proagation test
How big should you staging folder be?
- At a minimum, the staging folder quota should be at least the size of the 32 largest files in the replicated folder, or the 16 largest files for read-only replicated folders.
Note: To find the files run:
(Get-ChildItem <replicatedfolderpath>-recurse –force | Sort-Object length -descending | select-object -first 32 | measure-object -property length -sum).sum /1gb </replicatedfolderpath>
Given the situation what should you do for DFS Staging?
What are some events/configurations that you might need to change the staging size or make some modification to DFSR?
- You are Replicate multiple large files that change frequently, increase the staging quota
- You have a hub and spoke configuration, increase the staging quota
- If you are concerned about free disk space, lower the staging quota
- If you see the Event ID 4208 multiple times in an hour, increase the staging quota by 20 percent
- You want to improve input/out (I/O), place the replicated folders on different physical disks
How would you add a server to a DFS Replication group and preseed the files?
- New-DfsReplicationGroup -GroupName $DfsrReplicationGroupName
- New-DfsReplicatedFolder -GroupName $DfsrReplicationGroupName -FolderName $DfsrReplicatedFolderName
- Add-DfsrMember -GroupName $DfsrReplicationGroupName -ComputerName $DFSRComputername
- Set-DfsrMembership -GroupName $DfsrReplicationGroupName -FolderName $DfsrReplicatedFolderName -ContentPath $DfsrReplicatedFolderPath -ComputerName $DFSRComputername -PrimaryMember $True
- Wait for event 4112 in the DFS Replication log (Under Applications and Services Logs)
- Export-DfsrClone -Volume $DfsrCloneVolume -Path $DfsrCloneVolume$DfsrCloneDir
- Robocopy.exe “H:\RF01” “\Srv02\H$\Rf01” /E /B /COPYALL /R:6 /W:5 /MT:64 /XD DfsrPrivate /TEE /LOG+:preseed.log
- Robocopy.exe “H:\DfsrClone” “\Srv02\H$\DfsrClone” /B
- Get-ChildItem -path “H:\System Volume Information\dfsr” -hidden
- Get-DfsrMembership | Where-Object -Property ContentPath -Like H:* | Format-Table
- Run the following:
- Stop-Service DFSR
- Remove-Item –path “H:\system volume information\dfsr” –recurse -force
- Start-Service DFSR
- Import-DfsrClone -Volume h: -Path “h:\Dfsrclone”
- Add-DfsrMember -GroupName $DfsrReplicationGroupName -ComputerName $DfsrDestinationComputerName
- Add-DfsrConnection -GroupName $DfsrReplicationGroupName -SourceComputerName $DfsrSourceComputerName –DestinationComputerName $DfsrDestinationComputerName
- Set-DfsrMembership -GroupName $DfsrReplicationGroupName -FolderName $DfsrReplicatedFolderName -ContentPath $DfsrReplicatedFolderPath -ComputerName $DfsrDestinationComputerName
- Wait for event 4104
How does recovering a corrupted DFS replication database differ from a clone?
How would you do this?
You will need to remove the member.
Remove-DfsrMember –GroupName <group> –ComputerName <computer></computer></group>