{"id":1320,"date":"2019-05-09T16:06:43","date_gmt":"2019-05-09T13:06:43","guid":{"rendered":"https:\/\/helia.ee\/koolitus\/?page_id=1320"},"modified":"2019-05-09T16:06:44","modified_gmt":"2019-05-09T13:06:44","slug":"the-basics-of-windows-server-fsrm-file-server-resource-manager","status":"publish","type":"page","link":"https:\/\/helia.ee\/koolitus\/?page_id=1320","title":{"rendered":"The Basics of Windows Server FSRM (File Server Resource Manager)"},"content":{"rendered":"\n<p>FSRM (File Server Resource Manager) is a service of the File Services role in Windows Server 2008. You can use FSRM to enhance your ability to manage and monitor storage activities on your file server.<br><\/p>\n\n\n\n<p>The main capabilities of FSRM include:<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Folder Quotas<\/li><li>File Screening<\/li><li>Storage Reports<\/li><li>Event Log Integration<\/li><li>E-mail Notifications<\/li><li>Automated Scripts<\/li><\/ul>\n\n\n\n<p>For example, you can use FSRM to perform the following tasks:<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Limit the size of a folder to 2GB and log an event when the Quota limit is reached.<\/li><li>E-mail an administrator whenever a specific folder reaches 85% of its specified Quota.<\/li><li>Create a File Screen to prevent users from saving of video\/audio files to a share and send notifications when users attempt to do that.<\/li><li>Schedule and publish a periodic storage reports that shows how much space is being used by each user.<\/li><li>Generate an instant storage reports to list the largest files on a share.<\/li><li>Automatically execute a script when a folder size exceeds 500 MB to clean up stale data in the folder.<\/li><\/ul>\n\n\n\n<p>FSRM was introduced with Windows Server 2003 R2, but it remains as one of those hidden gems in Windows Server that delight people that discover it. It\u2019s also important to note that FSRM fully supports Windows Server 2008 Failover Clustering.<br><\/p>\n\n\n\n<p>Read along to get all the details and be sure to spread the good news to all your fellow file server administrators.<br><\/p>\n\n\n\n<p><strong>How to install FSRM<\/strong><br><\/p>\n\n\n\n<p>\u201cFile Server Resource Manager\u201d is one of the role services of the \u201cFile Services\u201d role.<br><\/p>\n\n\n\n<p>To install it, open the \u201cServer Manager\u201d tool on your file server, right-click the File Server node on the tree and select \u201cAdd Role Services\u201d. The \u201cAdd Role Services\u201d wizard will start, as shown below:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/91\/52\/FSRM01.png\" alt=\"FSRM01\"\/><\/figure>\n\n\n\n<p>Check the \u201cFile Server Resource Manager\u201d box and click \u201cNext\u201d. You will then select the NTFS volumes you want to monitor:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/91\/53\/FSRM02.png\" alt=\"FSRM02\"\/><\/figure>\n\n\n\n<p>Click on \u201cOptions\u201d to see additional options for reports:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/91\/55\/FSRM03.png\" alt=\"FSRM03\"\/><\/figure>\n\n\n\n<p>The screen above shows the standard configuration for a volume, along with the reports that are generated when that threshold is reached.<br><\/p>\n\n\n\n<p>Select the reports you want, click \u201cOK\u201d to close that window, then click \u201cNext\u2019 to continue. This last window before the confirmation lets you specify the folder where the reports are saved and also the e-mail reporting details:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/91\/56\/FSRM04.png\" alt=\"FSRM04\"\/><\/figure>\n\n\n\n<p>Click &#8220;Next&#8221;, review the confirmation and click \u201cInstall\u201d to finish the wizard.<br><\/p>\n\n\n\n<p>Keep in mind that you can decide not to add any volumes during this install phase and add them later, after FSRM is already installed.<br><\/p>\n\n\n\n<p><strong>File Server Resource Manager MMC<\/strong><br><\/p>\n\n\n\n<p>Once the FSRM Role Service is properly configured, you will have an additional item under the \u201cAdministrative Tools\u201d menu.<br><\/p>\n\n\n\n<p>Click on \u201cAdministrative Tools\u201d and select \u201cFile Server Resource Manager to launch the FSRM MMC (Microsoft Management Console). See the screenshot below, with all the nodes of the tree expanded:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/91\/58\/FSRM05.png\" alt=\"FSRM05\"\/><\/figure>\n\n\n\n<p>We\u2019ll now examine the individual features exposed by this MMC.<br><\/p>\n\n\n\n<p><strong>Quota Management<\/strong><br><\/p>\n\n\n\n<p>Quotas help you restrict and\/or monitor how much space a folder can use.<br><\/p>\n\n\n\n<p>FSRM can implement both hard Quotas (that actually prevent the users from adding more files, as if the disk were full) and soft Quotas (which only generate events and warnings).<br><\/p>\n\n\n\n<p>You can see the Quotas in the screen below (\u201cQuotas\u201d node under \u201cQuota Management\u201d):<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/91\/59\/FSRM06.png\" alt=\"FSRM06\"\/><\/figure>\n\n\n\n<p>Note that this is soft Quota we created during the FSRM installation.<br><\/p>\n\n\n\n<p>To add more Quota restrictions, click on the \u201cCreate Quota\u2026\u201d action (on the Actions pane on the right):<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/91\/60\/FSRM07.png\" alt=\"FSRM07\"\/><\/figure>\n\n\n\n<p>Quotas are always placed on a folder. You have the choice of basing your Quota on a template or defining a custom one. FSRM ships with a series of sample Quota templates that you can adapt to your needs.<br><\/p>\n\n\n\n<p>If you click on \u201cCustom Properties\u201d, you can provide many details, as shown below:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/91\/61\/FSRM08.png\" alt=\"FSRM08\"\/><\/figure>\n\n\n\n<p>In addition to specifying the space limit (hard or soft), you can also create different thresholds, with different actions. The sample above sends e-mail alerts at 85%\/95%\/100% and logs events at 95%\/100%. If you click on the \u201cAdd\u2026\u201d button, you can see the configuration options for each threshold.<br><\/p>\n\n\n\n<p>You can even choose to execute a command when a threshold is reached, which is shown on the screen below. If you are skilled with scripting, you can use this ability to perform a number of sophisticated tasks.<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/91\/63\/FSRM09.png\" alt=\"FSRM09\"\/><\/figure>\n\n\n\n<p>Instead of specifying custom Quotas folder by folder, you can use standard FSRM Quota templates or define your own templates.&nbsp;<br><\/p>\n\n\n\n<p>The screen below shows the default templates and also shows the \u201cCreate Quota Template\u2026\u201d action on the right:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/91\/64\/FSRM10.png\" alt=\"FSRM10\"\/><\/figure>\n\n\n\n<p>The power of Quota Templates becomes much more obvious when you use the option to \u201cAuto apply template\u201d while creating a Quota:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/92\/52\/FSRM11.png\" alt=\"FSRM11\"\/><\/figure>\n\n\n\n<p>This option requires that you select a template (not a custom Quota). A Quota is created based on that template for all folders under the specified path.<br><\/p>\n\n\n\n<p>Every time you add another subfolder to that folder, the template is automatically used to create another Quota for it. This allows you much simpler configuration for certain folder structures like web sites, project folders, etc.<br><\/p>\n\n\n\n<p><strong>File Screening Management<\/strong><br><\/p>\n\n\n\n<p>File Screening helps you restrict and\/or monitor which file extensions can be used on your file server. FSRM can provide both active screening (block file with certain extensions) or passive screening (monitor file extensions without blocking).<br><\/p>\n\n\n\n<p>File extensions can also be combined in \u201cFile Groups\u201d like \u201cImage Files\u201d and \u201cAudio and Video Files\u201d:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/92\/53\/FSRM12.png\" alt=\"FSRM12\"\/><\/figure>\n\n\n\n<p>You can see the existing File Screens in the \u201cFile Screens\u201d node under \u201cFile Screening Management\u201d. None are defined by default.<br><\/p>\n\n\n\n<p>To add a File Screen, click on the \u201cCreate File Screen\u2026\u201d action (on the Actions pane on the right):<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/92\/54\/FSRM13.png\" alt=\"FSRM13\"\/><\/figure>\n\n\n\n<p>As with Quotas, FSRM supplies some predefined File Screen Templates. You can also opt to define your own File Screening properties, as shown below:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/92\/55\/FSRM14.png\" alt=\"FSRM14\"\/><\/figure>\n\n\n\n<p>Once you click on \u201cCustom Properties\u201d, you will see the window below:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/92\/57\/FSRM15.png\" alt=\"FSRM15\"\/><\/figure>\n\n\n\n<p>The basic properties include the path to monitor, the type of monitoring (active or passive), the file groups to block\/monitor and the specific actions to take (e-mail, event log, command or report).<br><\/p>\n\n\n\n<p>You will probably want to use a template to define your File Screening. Below is the list of pre-defined templates included with FSRM:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/92\/58\/FSRM16.png\" alt=\"FSRM16\"\/><\/figure>\n\n\n\n<p>You can also create your own File Screening Templates, just like with Quota Templates.<br><\/p>\n\n\n\n<p>FSRM includes a list of pre-defined File Groups, as shown below:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/92\/59\/FSRM17.png\" alt=\"FSRM17\"\/><\/figure>\n\n\n\n<p>You can use those, modify them or create your own File Groups.<br><\/p>\n\n\n\n<p><strong>Storage Reports Management<\/strong><br><\/p>\n\n\n\n<p>One important feature of FSRM is the ability to provide many reports associated with File Server Management to make your life simpler when managing your file server. Those reports include Files by Group, Files by Owner, Large Files, Most Recently Accessed Files and Duplicate Files, just to mention a few (see screen below).<br><\/p>\n\n\n\n<p>Reports can be generated manually, on a scheduled or triggered by a Quota or File Screen. They can also be generated in different formats (see options on the screen below) and are delivered to a folder defined when you installed the role service.<br><\/p>\n\n\n\n<p>That folder can also be updated in the FSRM configuration:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/92\/61\/FSRM18.png\" alt=\"FSRM18\"\/><\/figure>\n\n\n\n<p>Below you see a number of those manually generated reports using the HTML format:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/92\/60\/FSRM19.png\" alt=\"FSRM19\"\/><\/figure>\n\n\n\n<p>Please check the sample below, in HTML format, showing the Files by Owner report:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/telligent.evolution.components.attachments\/13\/4882\/00\/00\/03\/10\/92\/62\/FSRM20.png\" alt=\"FSRM20\"\/><\/figure>\n\n\n\n<p><strong>Conclusion<\/strong><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FSRM (File Server Resource Manager) is a service of the File Services role in Windows Server 2008. You can use FSRM to enhance your ability to manage and monitor storage activities on your file server. The main capabilities of FSRM include: Folder Quotas File Screening Storage Reports Event Log Integration E-mail Notifications Automated Scripts For [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1304,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-1320","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1320"}],"version-history":[{"count":1,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1320\/revisions"}],"predecessor-version":[{"id":1321,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1320\/revisions\/1321"}],"up":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1304"}],"wp:attachment":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}