Management Console PCM Preferences
Management console PCM preferences are configuration options provided to the REST API consumers to manage the PCM data collection for managed systems that are connected to a hardware management console (HMC).
- EnergyMonitoringCapable: This is a read-only attribute and provides information on whether the managed system supports Energy data collection or not. For non-supported managed systems, this value is false. This attribute is available from HMC 860 SP1 release onwards.
- LongTermMonitorEnabled: Long term monitoring configuration value
- AggregationEnabled: Utilization data aggregation configuration value
- ShortTermMonitorEnabled: Short term monitoring configuration value
- ComputeLTMEnabled: Processor and memory metrics monitoring configuration value
- EnergyMonitorEnabled: Energy monitoring status
The Energy Monitoring flag gets enabled when user enables aggregation. The Energy Monitoring flag can also be enabled explicitly without enabling aggregation. In such a case, only raw metrics is available.
The API user can enable or disable the PCM data collection and aggregation for one or more managed systems. The HMC stores aggregated metrics for configured duration. The preferences APIs allows users to specify the storage duration for the aggregated data with AggregatedMetricsStorageDuration property. The configured storage duration is applicable across all the managed systems.
- MaximumManagedSystemsForLongTermMonitor: Indicates maximum number of managed systems for which Long Term Monitoring (LTM) collection is possible.
- MaximumManagedSystemsForComputeLTM: Indicates maximum number of managed systems for which processor and memory metrics collection is possible.
- MaximumManagedSystemsForAggregation: Indicates maximum number of managed systems for with Aggregation is possible.
- MaximumManagedSystemsForShortTermMonitor: Indicates maximum number of managed systems for which Short Term Monitoring (STM) collection is possible.
- MaximumManagedSystemsForEnergyMonitor: Indicates the maximum number of managed systems for which Energy Monitoring collection is possible. The Energy Monitoring flag is available from HMC Version 8 onwards.
/rest/api/pcm/preferences
Since: Version 1_1_0
| Method | Description | Internet media type |
|---|---|---|
| GET | This API is used to retrieve the preferences set for all the managed systems connected to the HMC. | application/xml, application/vnd.ibm.powervm.pcm.dita |
| POST | This API is used to set/update the preferences set for one or more managed systems connected to the HMC. It also allows user to change aggregated metrics storage duration. | application/xml, application/vnd.ibm.powervm.pcm.dita |