System Anomaly Prediction

System Anomaly Prediction helps system administrators to predict anomalous situations within a system in the system landscape with the help of prediction models. The System Administrator can then use the tools available in Focused Run to do a root cause analysis and avoid the situation from happening in the managed system. The data collected from the managed systems is used by the prediction models to predict anomalous situations.

Features

  • Prediction
    Shows risk score for the systems configured for prediction. Provides a detailed view of the models and metrics used for calculating the risk score.
  • Settings
    Simple to use Settings page to activate / de-activate systems and model versions
  • Alerting
    Provides alerts for anomalous situations once the risk score exceeds the risk score threshold set for the system and model combination in the settings.
  • Custom Model
    Custom built models can be integrated with System Anomaly Prediction through the approach of BAdI

Target Group

The target group are service providers and customers who wants to avoid unavailability and bad performance situations from happening in the systems managed by Focused Run.

Release Notes

Focused Run 1.0 FP03

  • Models Supported; SAP HANA Out of Memory model and SAP HANA Database Hanging model
  • Configure systems under “System Anomaly Prediction Settings” through the concept of variants provided in “Configuration” section of System Monitoring application
  • New “Predicted Critical” tile in Status Overview of System Monitoring application
  • New page “System Anomaly Prediction” in System Monitoring application
  • Worst Risk score and metrics contributing to the worst risk score is shown
  • Navigate to metric monitor from the metrics

Focused Run 2.0 FP00

  • Alerting is introduced for System Anomaly Prediction. For example, the alert, Database Anomaly in SAP HANA DB template
  • Changed from variants' view to systems' view in System Anomaly Prediction Settings. On/Off toggle button to activate or inactivate a scoped system in System Anomaly Prediction Settings.
  • Maintain model versions per system and adjust the threshold settings in System Anomaly Prediction Settings.
  • Build your own model and integrate it within the application.

Focused Run 2.0 FP01

  • Mass maintenance in System Anomaly Prediction Settings. Integration with Simple System Integration
  • Improvements to System Anomaly Prediction page
  • Enhancement to the existing SAP HANA models to predict situations better.

Models Available

The below notes contain the information about the models and provides the model files that needs to be used for different support packages of Focused Run for SAP Solution Manager.

Release Relevant Model Ìnformation
Focused Run for SAP Solution Manager 1.0 FP03 SAP Note 2637475 - System Anomaly Prediction in Focused Run 1.0 - Model Definitions and R Models for Predictive applications
Focused Run for SAP Solution Manager 2.0 SAP Note 2706779 - System Anomaly Prediction in Focused Run 2.0 - Model Definitions and R Models for Predictive applications

Administration

Sizing

Before you proceed with the setup, kindly refer the R sizing SAP Note 2686042.

 

Setup

You need to refer the section “Predictive Analytics Setup - System Anomaly Prediction” in the master guide of Focused Run for the setup of System Anomaly Prediction.

 

Roles & Authorization

You need to refer the section “Predictive Analytics Setup - System Anomaly Prediction” in the master guide of Focused Run for the setup of System Anomaly Prediction.

 

Configuration

Note: The below configuration steps are shown from Focused Run 2.0 FP01. It is only possible to configure System Anomaly Prediction from System Monitoring application.

Select “Configuration” icon in System Monitoring application.


The housekeeping and R server path is already maintained if the instructions in the master guide is followed. This can be verified under System Anomaly Prediction Settings -> Expert View -> General Settings.

You can use the Activate button to switch on/off the System Anomaly Prediction for the system. If the system has valid models, then the system will be switched on with information about the number of models activated.


It is possible to perform more configuration options through Expert View available in “System Anomaly Prediction Settings”.


The below actions can be performed in the Expert View;

1.        Mass Activation of systems and models (available from Focused Run 2.0 FP01)

Navigate to Expert View -> System Settings to perform the action. You can also activate individual systems in this view


2.        Activate model versions and manage risk score threshold per system (available from Focused Run 2.0 SP00)

Navigate to Expert View -> System Settings -> Extended System ID to perform this action.


3.        Manage risk threshold per model (default value) per model version (available from Focused Run 2.0 SP00)

Navigate to Expert View -> System Settings -> Model Maintenance to perform this action

Addition of Custom Models

When the standard models or approach needs to be changed with own models by the customer, then the need for custom models arise. It is possible to add custom models to System Anomaly Prediction through a BAdI based approach with Focused Run 2.0 SP00.

You can find more information in the guide “Adding Custom Models to System Anomaly Prediction” available in Focused Run Expert Portal.

Usage

System Monitoring

Navigation to the page is possible from “Status Overview” view available in the Overview page or by directly selecting the “System Anomaly Prediction” page. The relevant display authorizations as defined in Roles & Authorization needs to be assigned to the user.

System Anomaly Prediction - Overview & Details

The overview section shows the different system bucketed into the categories of;

  • Predicted Critical,
  • Predicted Okay,
  • Not Configured and
  • Insufficient Data.

The details section shows;

  • Extended System ID along with System Type,
  • Customer Network,
  • Current Risk Score (hover over to see the actual value and the threshold),
  • Risk History (worst) across model versions of the system in mini chart (last six hours) and
  • Risk History per model version and of longer duration in the pop-view.

System Anomaly Prediction – Models View

The models view shows the;

  • Extended System ID along with system type,
  • Model Name along with Model Version,
  • Risk History of the specific model version in mini chart (last six hours) and
  • Risk History of the model version and of longer duration in the pop-view.
  • Current Risk Score (hover over to see the actual value and the threshold),


The metrics view shows the;

  • Extended System ID along with the System Type
  • Model Name along with Model Version
  • Metric Name along with Context Name
  • Current Metric Value
  • Metric History in mini chart (last six hours)
  • Link to Metric Monitor

System Anomaly Prediction – Metric Monitoring View

The metric history is shown along with the forecast value.

System Analysis

The Predicted Critical Systems are shown in System Analysis Application.

Selecting the icon, launches “System Anomaly Prediction - Details” with the predicted critical systems.

FAQ

1.        What is risk score?

Risk score depicts the possibility of the occurrence of an anomalous situation. Higher the risk scores higher the chances of the happening of the anomalous situation. Risk score is calculated in real time when relevant metric data (specific to each model) from System Monitoring is run against the trained model.

2.        Is there an additional requirement for R server for System Anomaly Prediction?

Yes. Kindly refer the section 4 “Setup” for more information about this. If the need is only for forecasting, then R server is not required.

3.        Is the data collected separately for Metric Forecasting and System Anomaly Prediction?

The data pushed for monitoring is used for forecasting and anomaly prediction. There is no separate data collection for these scenarios currently.

Relevant SAP Notes

Release Relevant Correction Notes
Focused Run for SAP Solution Manager 1.0 FP03

SAP Note 2653584 - Central Correction Note - System Anomaly Prediction in Focused Run for SAP Solution Manager 1.0 FP03

SAP Note 2653512 - Role missing in Focused Run for SAP Solution Manager 1.0 FP03 delivery - System Anomaly Prediction

SAP Note 2643513 - Identification and Deletion of Personal Data in Scenario "System Anomaly Prediction"

Focused Run for SAP Solution Manager 2.0 SP00

SAP Note 2729778 - Corrections for System Anomaly Prediction

SAP Note 2730889 - System Monitoring fixes for Focused Run for SAP Solution Manager 2.0 SP00

Focused Run for SAP Solution Manager 2.0 FP01 SAP Note 2800571 - Composite Note for Advanced System Management in Focused Run for SAP Solution Manager Release 2.0 FP01