Skip to main content

Enable Activity Tracking in ONTAP

Contributors netapp-ahibbard netapp-aherbin netapp-aaron-holt

Beginning with ONTAP 9.10.1, File System Analytics includes an Activity Tracking feature that allows you to identify hot objects and download the data as a CSV file. Beginning with ONTAP 9.11.1, Activity Tracking is expanded to the SVM scope. Also beginning with ONTAP 9.11.1, System Manager features a timeline for Activity Tracking, allowing you to look through up to five minutes of Activity Tracking data.

Activity Tracking enables monitoring in four categories:

  • Directories

  • Files

  • Clients

  • Users

For each category monitored, Activity Tracking will display read IOPs, write IOPs, read throughputs, and write throughputs. Queries on Activity Tracking refresh every 10 to 15 seconds pertaining to hot spots seen in the system over the previous five-second interval.

Activity tracking information is approximate, and the accuracy of the data depends on the distribution of the incoming I/O traffic.

When viewing Activity Tracking in System Manager at the volume level, only the menu of the expanded volume will actively refresh. If the view of any volumes are collapsed, they will not refresh until the volume display is expanded. You can stop the refreshes with the Pause Refresh button. Activity data can be downloaded in a CSV format that will display all the point-in-time data captured for the selected volume.

With the timeline feature available beginning with ONTAP 9.11.1, you can keep a record of hotspot activity on a volume or SVM, continuously updating approximately every five seconds and retaining the previous five minutes of data. Timeline data is only retained for fields that are visible area of the page. If you collapse a tracking category or scroll so the timeline is out of view, the timeline will stop collecting data. By default, timelines are disabled and will automatically be disabled when you navigate away from the Activity tab.

Enable Activity Tracking for a single volume

You can enable Activity Tracking with ONTAP System Manager or the CLI.

About this task

If you use RBAC with the ONTAP REST API or System Manager, you will need to create custom roles to manage access to Activity Tracking. See Role-based access control for this process.

Steps
  1. Select Storage > Volumes. Select the desired volume. From the individual volume menu, select File System and then select the Activity tab.

  2. Ensure Activity Tracking is turned on to view individual reports on top directories, files, clients, and users.

  3. To analyze data in greater depth without refreshes, select Pause Refresh. You can download the data to have a CSV record of the report as well.

Enable Activity Tracking for multiple volumes

You can enable Activity Tracking for multiple volumes with System Manager or the CLI.

About this task

If you use RBAC with the ONTAP REST API or System Manager, you will need to create custom roles to manage access to Activity Tracking. See Role-based access control for this process.

Enable for specific volumes
  1. Select Storage > Volumes. Select the desired volume. From the individual volume menu, select File System and then select the Activity tab.

  2. Select the volumes that you want to enable Activity Tracking on. At the top of the volume list, select the More Options button. Select Enable Activity Tracking.

  3. To view Activity Tracking at the SVM level, select the specific SVM you would like to view from Storage > Volumes. Navigate to the File System tab then Activity and you will see data for the volumes that have Activity Tracking enabled.

Enable for all volumes
  1. Select Storage > Volumes. Select an SVM from the menu.

  2. Navigate to the File System tab, choose the More tab to enable Activity Tracking on all volumes in the SVM.