Monitoring using mmperfmon

You can use mmperfmon to monitor AFM to cloud object storage.

Complete the following steps to enable Performance Monitoring tool and query data.

Note: Ensure that monitoring is initialized, performance monitoring is enabled, and other sensors are collecting data.
  1. Configure the gateway nodes as performance monitoring nodes.
    # mmcrnodeclass afmGateways -N gw1,gw2
  2. Set the -perfmon designation for the gateway nodes.
    # mmchnode –perfmon -N afmGateways
  3. Enable the monitoring tool on the gateway nodes to set the collection periods to 10 or higher.
    # mmperfmon config update GPFSAFM.period=10 GPFSAFMFS.period=10 GPFSAFMFSET.period=10
  4. Restrict the gateway nodes to collect AFM data.
    # mmperfmon config update GPFSAFM.restrict=afmGateways GPFSAFMFS.restrict=afmGateways GPFSAFMFSET.restrict=afmGateways
  5. Run the query to display time series data.
    # mmperfmon query gpfs_afm_fset_bytes_written --bucket-size 60 --number-buckets 1 -N gw1
    A sample output is as follows:
    Legend: 1: gw1|GPFSAFMFSET|gpfs0|independentwriter|gpfs_afm_fset_bytes_written Row Timestamp gpfs_afm_fset_bytes_written 1 2017-03-10-13:28:00 133546