File Server Resource Manager (FSRM) is
a new suite of storage management tools in Windows Server 2008 R2.
There are many challenging aspects to
storage management:
- Some organizations have growth requirements anywhere from 60-100 percent per year
- Critical data must always be available
- Organizations must comply with regulatory requirements
- The amount of storage-intensive apps on the market has increased
- How to determine existing storage capacity and usage trends
- How to determine whether usage supports organizational goals
- Defining and implementing storage policies
- Adjusting policies such as restricting employee personal file storage as capacity needs grow
How do we address capacity and storage management?
- You need to analyze how the storage is used
- Define storage resource management policies
- Implement policies to slow storage growth
- Acquire tools to implement policies
What is File Server Resource Manager (FSRM)?
The best feature you've never heard of...
File Server Resource Manager is a File
Services role.
FSRM can be applied to folders.
FRSM has quota templates, built-in or
custom designed. We can easily assign a template to a folder on a file
server.
FRSM also has advanced features such as
file screening to protect us from inappropriate file types, such as
AVI or MP3 files. We can be notified if a user attempts to store one
of these files into a folder that is being screened.
The File Server Resource Manager integrates:
- Capacity Management. Monitors usage patterns and utilization levels.
- Policy Management. Restricts file storage (file screening).
- Quota Management. Limits the amount of space used for volumes, folders, or shares.
- Reports. Provides storage reports for regulatory requirements the allow management to oversee and audit storage management.
FSRM Functions
- Centrally manage quotas to limit the space allowed on a volume or folder
- Quotas can be automatically generated
- Create file screens
- Monitor unauthorized file types from being stored on our system
- Define quota and file screening templates
- Generate scheduled or on-demand storage reports
Demo – Install the FSRM Role
- Start | Administrative Tools | Server Manager
- Expand Roles and select File Services
- Right-click File Services and select Add Role Services
- Check File Server Resource Manager
- Click Next
- On the Configure Storage Usage Monitoring page, choose the volume you would like to monitor. We will choose both the Local Disk (C:) and the D: drive in this demo. We can also set report options if we want by selecting the Options... button.
- Click Next
- On the Set Report Options page, you set where you want the reports to go and whether you want to Receive reports by e-mail
- Click Next
- On the Confirm Installation Selections page, is a summary of where you are setting FSRM
- Click Install
- On the Installation Results page, click Close
- Close Server Manager
- Go to Start | Administrative Tools and you will see Files Server Resource Manager
FRSM Configuration Options
- Configure e-mail notifications
- Configure default parameters for storage reports
- Change the report repository locations
- Configure file screen audit
Demo – Configure FSRM Options
- Start | Administrative Tools | File Server Resource Manager
- Right-click and select Configure Options...
- Set up a mail server in order to receive reports via email. Enter the mail server in the SMTP server name or IP address: field.
- Enter the Default administrator recipients: in the text box.
- Click on the Notification Limits tab. The notification limits are set to minutes. You can change them in the text boxes provided for:
- E-mail notification
- Event log notification
- Command notification
- Report notification
- On the Storage Reports tab, you can configure the default parameters for each storage report.
- On the Report Locations tab, you can set the volume or drive Report locations.
- On the File Screen Audit tab, you can check to Record file screening activity in auditing database.
- Click OK.
Configure Quota Management
FRSM allows you to give quotas at a
folder level and is more flexible than the NTFS quotas. You can build
templates that make it quick and easy to apply a template to run
quotas.
Quota management is “Limiting storage
space via a hard or soft quota and generating notification
when the limits are approached or exceeded”.
A hard quota limit is when the storage
of data is prevented once the limit is reached.
A soft quota limit is when the limit is
allowed to be exceeded, but, we are notified via e-mail,
event-viewer, or a combination of both.
Notification thresholds can be
configured to:
- Send e-mail notifications
- Log an event
- Run a command or script
- Generate storage reports
Comparison of FRSM Quotas vs. NTFS Disk Quotas
Quota Features | NTFS Quotas | FSRM Quotas |
Quota Tracking | Per user/per volume | By folder or volume |
Disk Usage | Logical file size | Actual disk space |
Notification | Event logs only | E-mail, reports, command line execution of a batch file or program, event logs |
Quota Templates
A quota template defines:
- A space limit
- Type: Hard or Soft Quota
- Notifications generate when quota limit is reached
Default
Quota Templates are provided in the Quota Management node of FSRM.
Creating and Modifying Quotas
Create a quota options:
- Create a quota on a path
- Apply template and create quotas on existing and new subfolders
Modify a quota:
- Update quotas by editing quota template
- Edit an automatic quota
- Update individual quotas listed in the details pane
Monitor Quota Usage
- View the quota information in FSRM
- Quota Usage reports
- Create soft quotas
Note: Quotas normally have an I/O
performance overhead of 10 percent or less.
Demo – Create and Manage Quota’s
- Start | Administrative Tools | File Server Resource Manager
- Under Quota Management, right- click Quota Templates and select Create Quota Template...
- Give it a Template Name:. We will give it a name of 250MB - Limit Report to Administrator
- Drop down and type 250 in the Limit: text box
- Select Soft quota: Allow users to exceed limit (use for monitoring) so you can see the reports and event viewer usage
- Click on the Add button to add some thresholds.
- In the Add Threshold dialog box, let’s enter 60% in the Generate notifications when usage reaches (%): text box.
- Check off Send e-mail to the following administrators:
- Click OK.
- Click on the Add button to add another threshold.
- In the Add Threshold dialog box, let’s enter 85% in the Generate notifications when usage reaches (%): text box.
- Check off Send e-mail to the following administrators:
- Click on the Event Log tab and enter 85 in the Generate notifications when usage reaches (%): text box.
- Click OK.
- When you return to the Create Quota Template dialog box, you see the two thresholds of 60% and 85%.
- Click OK.
- Now, we will apply a quota to a folder. Select Quotas and right-click. Select Create Quota...
- In the Drive properties from this quota template (recommended): text box, drop down and select the template 250MB Limit – Report to Administrator
- Go up to the Quota path: text box and Browse... to Select a folder and select a folder
- Click Create
To test, create a
folder that is bigger than 250MB on the drive you selected, and go
to:
- Start | Administrative Tools | Event Viewer
- Drop down to Windows Logs
- Select Application and you will see a Warning generated
File Screening
You might want to be notified if a user
stores a file with a certain file type on the organization’s
system. You might want to block certain file types, such as photos
and mp3s, from being loaded onto the volume.
We can configure file screening to
generate notifications when this occurs.
File screening provides a method that
is flexible and controls the types of files saved on company servers.
The File Screening Management node
allows:
- Creation of file screens for a given path
- Defines file screen templates
- Creates file screen exceptions
- Creates file groups
Note: if the file extension is
renamed, it can possibly circumvent the file screening since file
screening centers on the file extension.
File Groups
A file group is a namespace for a file
screen. It is a collection of files for a particular group.
There are default groups or we can
create our own.
A file group is a set of file name
patterns, grouped into files to include or files to exclude.
File Screen Exception
A file screen exception overrides any
file screen that would otherwise apply to a folder and all its
subfolders in a designated exception path.
File Screen Template
A file screen template allows us to
centrally manage different file types to block and the type of screen
to perform and the notifications to be generated.
Demo – Implement File Screening
- Start | Administrative Tools | File Server Resource Manager
- Drop down to File Screening Management node.
- Underneath, you have the File Screen Templates. But, let’s go to File Screens.
- Right-click and Create File Screen
- Go to Derive properties from this file screen template (recommended): and choose Block Audio and Video Files
- Go to the File screen path: and Browse to select the folder the file screen applies to.
- Select Create
- Right-click File Screens and select Edit File Screen Properties...
- Go to the Report tab and check the Generate reports box. Select File Screening Audit
- Click OK
- Let’s say we need to allow WMA files in that folder. We need to allow a file screen exception. Right-click File Screens and select Create File Screen Exception...
- In the Create File Screen Exception dialog box, under Select file groups to exclude from screening:, check off Audio and Video Files and then click on the Edit... button.
- Then add Files to exclude: *.wma and click the Add button
- Click OK
- Click OK
Managing Storage Reports
Storage reports provide information
about the file usage on a file server. The reports help to identify
trends in disk usage and to monitor attempts to save unauthorized
files by users.
FSRM types of storage reports can show
the following:
- Large files
- Files by owner
- Files by file group
- Duplicate files
- Least recently used files
- Most recently used files
- Quota usage
- File screening audit
What is a Report Task?
You may schedule reports by creating a
Report Task:
- Volumes and folders
- The report to generate
- Parameters to use
- How often to generate the report
- The file format to save the report in
On-Demand Reports
Use the Generate Reports Now
action to open Storage Reports Task Properties and select the desired
reports.
Tools to configure FSRM:
Tool | Description |
Dirquota.exe | Create and manage quotas and quota templates |
FileScrn.exe | Create and manage file screens, file-screening exceptions, and file groups |
StorRept.exe | Configure report parameters and generate storage reports on demand. Yo can create report tasks and use Schtasks.exe to schedule the reports. |
Fsutil | Configure NTFS Quotas and create files to test quota behavior. |
Demo – Generate a report
- Start | Administrative Tools | File Server Resource Manager
- Drop down to File Screening Management
- Highlight Storage Reports Management
- Right-click and select:
- Schedule a New Report Task...
- Add or Remove Reports for a Report Task...
- Generate Reports Now...
- Select Generate Reports Now...
- Check off Files by Owner
- Click the Add button to Browse For Folder and select a folder
- Click OK
- Under Report formats, click the DHTML box
- Click OK
- The Generate Storage Reports dialog box appears and you have two options:
- Wait for reports to be generated and then display them
- Generate reports in the background
- We will choose the first option and click OK
- A Generating Storage Reports dialog box displays
- Internet Explorer launches and we see the report by owner and we can click a specific owner to see the activity
- You can also select a Delivery and Schedule for the reports by selecting the appropriate tabs
No comments:
Post a Comment
"Comment As:" anonymous if you would rather not sign into an account!