Recipe for Monitoring Files Storage by Users:
- IIS with Browsing Enabled.
- File Resource Manager Role installed.
- A soft quota for monitoring.
- Automated storage reports.
- File expiration tasks
With the above my users can go to http://ServerName and see a list of storage reports for the past 30 days.
Setting it up:
- Install the File Server Resource Manager role
- Install the IIS Role with directory browse.
- In File Server Resource Manager set up a quota for monitoring:
- Under Quota Management and Quotas right click and choose Create Quota.
- Create a soft quota with the limit matching the size of the drive you're monitoring.
- Create a Storage Report:
- Under Storage Reports Management create a new storage report.
- Under Settings and Report data check the Quota Usage box. Under Report formats choose HTML only.
- Under the Scope tab choose the drive you want to monitor.
- Schedule it as appropriate. I run mine once a day in the morning.
- Send the reports to the IIS root folder.
- Click on File Server Resource Manager (Local)
- Go to the Action menu and choose Configure Options
- Under the report locations and Scheduled reports folder choose the web root folder, in my case C:\inetpub\wwwroot\.
- Configure IIS for browsing:
- Select your Default Web Site and double click Configuration Editor.
- Under Section find system.webServer/directoryBrowse, change enabled to True, and click Apply in the Actions column.
- Delete the files which are already in your web root folder so you get a directory listing instead of the default IIS start page.
Now when your users go to http://YourServer they will see a list of storage reports so they can look for trends and also see how full the drive is as of that morning.
No comments:
Post a Comment