This article details the process of using F5 Data Manager to generate storage usage reports for all users in an Active Directory (AD) Group. A report is created for each user in the group from a single CIFS file system inventory. The capability of generating such reports is available only with the Advanced Reporting Module.
Generating a report for each user in an AD environment can be a challenging task if each user for whom the report is to be generated has to be manually entered. This can be achieved easily by just specifying the groups in the File System Report wizard.
An Advanced File System Detail report can be generated using file criteria and the AD groups to obtain a report for each user in the group. A prerequisite is a CIFS inventory of type Full. The first three steps are setup steps and the fourth step generates the reports. All steps are required.
Step 1: Create a Credential
Specify the credentials needed to contact the domain controller. Contacting the domain controller is required to translate the AD group into the list of individual users.
Select Credentials from the navigation menu.
Select Add from the Actions menu on the Credentials page.
Enter MainOffice-cred in the Display name field.
Enter your AD NetBIOS name in the Domain field. In this example: MAINOFFICE.
Enter Administrator for the Username field.
Enter the password for your domain administrator account; e.g. secureit for the Password field.
Click the Ok button to save the credentials.
Verify that the credential object is created.
Step 2: Identifying the Active Directory server
This step is required to set up the domain controller running the Active Directory to be used for the AD Group resolution.
Select Settings from the navigation menu.
Select the Advanced Reports tab on the Settings page.
Select the Active Directory Group subtab and select Add on the subtab.
Enter your AD NetBIOS name in the AD Domain Name field; e.g. MAINOFFICE.
Enter the IP address or Name of your domain controller e.g. 10.10.1.1 in the Domain Controller field depending on whether hostname resolution is in place or not on the Data Manager server.
Select the already-created credentials from the previous step (MainOffice-cred) from the pull-down menu for Credentials.
Click the Ok button.
Click the Save button to complete the AD server setup.
Verify that the server for AD Group resolution is created.
Step 3: Create a File Criteria to use all of the inventoried data
File criteria are used to select a subset of files for a report. In this case, we select all files.
Select File Criteria from the navigation menu.
On the File Criteria page, select Add from the Actions menu.
On the Add a File Criteria page, enter All Files in the Name entry field.
On the same page, select Add from the Actions menu to add a condition.
In the Create Condition dialog, select File Name Expression as the Type and matches as the Operator.
In the Regular Expression field, enter .* and click OK in the dialog to save the condition.
Click on OK on the page to save file criteria.
Verify that the file criteria is created.
Step 4: Create the storage usage reports using the wizard.
Select Reports from the navigation menu.
On the Reports page, select Add File system Report… from the Actions menu to invoke the File System Report wizard.
As in the following figure, enter UsageReport for the name.
Leave the default selection for the type as File System Detail.
Select file criteria (All files) created in the previous step.
On the second page, select a CIFS Inventory from which the reports will be generated and click Next.
On the third page, leave the default sections selected and click Next.
On the fourth page, select the check box for separate reports for Owners, provide the AD NetBIOS name MAINOFFICE for the AD Group, specify Sales as the Active Directory Groups, and click Next.
On the fifth and sixth pages, leave the default options selected.
On the last page, click Finish to start the report generation process.
Verify that reports are created by going to the Reports page.
Review that your usage reports are generated with names such as UsageReport-MAINOFFICE-<user name>. The variable <user name> is substituted with user names found in Active Directory group.
The use of Active Directory groups makes it easy to run reports for each user in the organization without specifying the user individually.
Arti Sood has been working in the field of quality assurance for over 10 years. She has been instrumental in assuring the quality of Data Manager for the past 3.5 years. Prior to joining F5 Networks, she worked on various applications for network simulation, wireless/wired network access, and peer-to-peer access.