All Products
Search
Document Center

Apsara File Storage NAS:View the performance data of a NAS file system

Last Updated:Dec 05, 2023

This topic describes how to view the performance data of an Apsara File Storage NAS (NAS) file system.

Prerequisites

View the performance data in the NAS console

  1. Log on to the NAS console.
  2. In the left-side navigation pane, choose Monitoring Audit > Performance Monitoring.

  3. In the top navigation bar, select a region.

  4. On the Performance Monitoring page, perform the following steps to view the performance data of a specified file system:

    1. Select the type of the file system from the File System Type drop-down list.

    2. Select the ID of the file system from the File System ID drop-down list.

    3. Specify a time range. You can select 1 Hour, 1 Day, 7 Days, 14 Days, Current Month, or Last Month. You can also select a start time and an end time to specify a custom time range.

    The Performance Monitoring page displays the performance data in charts based on the following metrics: IOPS, throughput, latency, and metadata QPS.

    image.png

    Note
    • If the charts show No data, your file system has not received requests from clients or you have not activated the corresponding services.

    • You can test the performance of a file system by using the fio tool and view the monitoring charts in the CloudMonitor console. For more information, see Test the performance of a NAS file system.

      If you want to test the write throughput of a file system, run the fio command on the Elastic Compute Service (ECS) instance on which the file system is mounted. For example, if the mount directory is /mnt, you can run the following command on the ECS instance: fio -numjobs=1 -iodepth=128 -direct=1 -ioengine=libaio -sync=1 -rw=randwrite -bs=1M -size=1G -time_based -runtime=600 -name=Fio -directory=/mnt.

    • The values of the IOPS and metadata QPS metrics are integers. If the number of requests within the last minute is less than 60, 0 is displayed.

View the performance data in the CloudMonitor console

  1. Log on to the CloudMonitor console.

  2. In the left-side navigation pane, click Cloud Service Monitoring.

  3. On the Cloud Service Monitoring page, enter NAS in the search box and click NAS.

  4. On the NAS page, select a region. Then, click the name of the file system or click Monitoring Charts in the Actions column.

  5. On the page that appears, click File System Monitoring. View the performance data of the file system in the monitoring charts.

    By default, CloudMonitor displays the monitoring data of the last hour. You can select a preset time range or specify a custom time range. The time range cannot exceed 30 days.

View the performance data by calling CloudMonitor API operations

You can call the following CloudMonitor API operations to query the monitoring data of a NAS file system:

The following table describes the request parameters that you must configure to query the monitoring data of a NAS file system.

Parameter

Description

Namespace

The namespace of the cloud service whose monitoring data you want to query. Set the value to acs_nas.

MetricName

The metric name. Valid values:

  • IopsRead

  • IopsWrite

  • LatencyRead

  • LatencyWrite

  • QpsMeta

  • ThruputRead

  • ThruputWrite

Dimensions

The dimensions that specify the resources whose monitoring data you want to query.

Format: {"userId":"xxxxxx","fileSystemId":"xxxxx"}.

Note

Dimensions must be formatted as a JSON string in a specified order.

What to do next

  • You can configure alert rules to obtain information about exceptions in a timely manner. If an exception occurs, the technical support personnel can process the exception to resume business at the earliest opportunity. For more information, see Configure a basic alert rule.

  • You can create groups to categorize multiple file systems. Then, you can manage alert rules and view monitoring data based on the groups. This reduces the management complexity and improves the monitoring efficiency. For more information, see Create an application group.