This section describes how to enable or disable per-second performance monitoring.
Prerequisites
A storage pool has been created.
Context
Before per-second performance monitoring is enabled, there is limited space for storing performance monitoring data. As a result, the data can only be stored for a short period of time at a coarse granularity. After this function is enabled, performance monitoring data is written to a volume mapped to VBS nodes, so that the data is stored for a longer time at a smaller granularity.
Procedure
- Choose Settings > Monitoring Settings > Per-Second Performance Monitoring.
- Click Modify in the upper right corner of the page.
- In the Per-Second Performance Monitoring area, determine whether to enable per-second performance monitoring.
- Enabled: Performance monitoring data is written to a specified volume.
- Disabled: Performance monitoring data will no longer be written to the volume. If you select Delete per-second performance monitoring configurations, the per-second performance monitoring data that has been saved to the volume will be deleted (unable to be restored) and can no longer be viewed. If you do not select Delete per-second performance monitoring configurations, the data that has been saved to the volume will not be deleted.
If per-second performance monitoring has never been enabled, a message will be displayed on the top of DeviceManager: "The system detects that per-second performance monitoring is not enabled. Enabling this function helps you analyze performance more accurately. Do you want to enable the function? After enablement, this prompt will be automatically cleared."
- Select a storage pool and volume where the per-second performance monitoring data is to be stored.
- Select or create a volume whose name prefix is PMS_SPACE_PERFORMANCE_ and volume type is Performance monitoring volume.
- Reference for specifying the volume capacity during volume creation: Set the volume capacity based on the total number of objects (such as nodes, ports, disks, and volumes) that can be monitored. For every 5000 objects, reserve 400 GB capacity.
- The selected volume will be formatted. Therefore, you are advised to select an empty volume (with no data).
- The selected or newly created volume must have been mapped to 2 to 10 VBS nodes. The VBS nodes to which the volume is to be mapped cannot be management nodes, controller nodes, or pure compute nodes.
- The volume to be selected or created must have been configured with a QoS policy. It is recommended that the QoS policy be configured based on the following recommended values:
- QoS policy of the exclusive type
- Maximum MBPS: 100 MB/s
- Maximum IOPS: 200
- In the Mount to VBS Node area, click Select.
The Mount to VBS Node page is displayed on the right.
- Select 2 to 10 VBS nodes to which the volume is to be mapped. They will be automatically added to the selected nodes area on the right. Then, click OK.
- The selected nodes cannot be management nodes, controller nodes, or pure compute nodes. Otherwise, per-second performance monitoring will fail to be enabled.
- If the management IP addresses of all VBS nodes to which a volume is mounted are changed or the volume is unmapped from all VBS nodes, you need to reselect VBS nodes for mapping the volume.
- If the management IP address of the active management node is changed, you need to reselect VBS nodes for mapping the volume.
- Click Save.