Monitoring SAP HANA with SAP Solution Manager

15
June, 2015 Monitoring SAP HANA with SAP Solution Manager

Transcript of Monitoring SAP HANA with SAP Solution Manager

Page 1: Monitoring SAP HANA with SAP Solution Manager

June, 2015

Monitoring SAP HANA with SAP Solution Manager

Page 2: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 2Customer

Introducing Monitoring and Alerting in SAP Solution Manager

SAP HANA

System Monitoring

Alert Inbox

Email/Ticket

Alerting

Managed Systems

Interactive Reporting

Root Cause Analysis

Reporting

Metric Viewer

Page 3: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 3Customer

Process behind Application Operations

Optimize

Optimize excellence of

technical operations

Analyze

Lower mean time to problem

resolution

Monitor

Proactive real-time monitoring

Notify

Reactive handling of critical

events

Report

Prove value to business

Page 4: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 4Customer

Architecture View

Solution Manager HANA DB

Regular alert metric

+ statistics data collection

Metric store RCA info cubes

Alert Inbox

Regular statistics data

historization & alerting

Online monitoring

views (SYS.M_...)

Statistics historization(_SYS_STATISTICS.HOST...)

HANA Alert View

SQL(5 min or lower

frequency metrics,

statistics data)

Hostagent

Diagnostic

agent

Web service(high frequency

availability metrics)

HANA host

Page 5: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 5Customer

System Monitoring for SAP HANA

SAP HANA

Performance Alerts- Memory Usage

- CPU Usage

(by DBA Cockpit)

Configuration Alerts(by DBA Cockpit)

Special SAP HANA

Alerts (Exceptions)(by DBA Cockpit)

Availability Alerts (by SAP

Hostagent and DBA Cockpit)

Page 6: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 6Customer

Guided Procedures for HANA AlertsTrigger for Guided Procedures from Alert Inbox

Guided Procedure

Perform alert resolution in a guided and

reproducible way:

• Assign Guided Procedures to alert groups direct

in Alert Inbox

• Execution of Guided Procedure is possible out

of Alert Inbox

• Execute the Guided Procedure in order to

analyze the root cause of a problem

• SAP delivers Guided Procedures for HANA

Alerts with Solution Manager (currently 14)

these can be copied and adjusted by

customers

Alert Inbox

Page 7: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 7Customer

Availability of Alert Metrics

• All HANA alert ids >= 68 are available only with HANA embedded statistics server

• HANA embedded statistics server can be activated as of HANA Rev 74

• As of HANA Rev 96 embedded statistics server is enabled by default

• Solution manager based monitoring of HANA with embedded statistics server required Solman 7.1

>= SP10

• Via content update all existing metrics are already available for Solman 7.1 SP12 and downport

of new metrics will be continued – downport to SP10+11 currently in process

Page 8: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 8Customer

Mini Checks

• Mini Checks are a collection of SQL statements for manual execution of HANA health checks

Available via SAP note 1999993

• They are very flexible and are quickly adapted to latest findings and partially provide quick an simple manual

check capabilities are also frequently used by SAP support.

• They are also taken as a basis for content to be added as regular alerts (typically initially as Solman based

alerts and in a next HANA SP also as a HANA internal alert) or as EarlyWatch Alert checks.

Example excerpt of a mini check output:

Page 9: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 9Customer

Further Documentation

• Online documentation within each alert and metric

• Where available, guided procedures are directly linked to the alerts

• Offline documentation can be created as html page or XLS list per template

This is very helpful for offline documentation of customized templates

• List of all metrics with links to detailed SAP notes available via SAP note 2053330

• HANA Troubleshooting and Performance Analysis Guide

• How to develop own HANA custom metrics within Solution Manager:

Develop a HANA custom metric

Complete metric list:

Page 10: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 10Customer

DB instance level introduced as of SolMan 7.1 SP14

DB Level

DB Instance Level

Host Level

HANA template maintenance

• DB Level

• SAP HANA DB (NEW)

• 1:1 relation of HANA alerts to Solman alerts

• Contains all HANA metrics (instance level as metric groupings)

• SAP HANA DB (OLD)

• no 1:1 relation of HANA alerts to Solman alerts

• Contains all HANA metrics (instance level as metric groupings)

• kept for compatibility only

• SAP HANA DB (instance level separated)

• Contains all HANA metrics except instance level metrics

• DB Instance Level

• SAP HANA DB Instance

• Contains instance specific metrics only

• Instance level separation better UI separation (optional)

• All metrics are still available via non-instance specific

templates (no action required after Solman upgrade )

• Limitation: instance level metrics cannot be used for multi database container DBs

For replication scenarios

(see next slide)

Page 11: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 11Customer

Replication Monitoring as of SolMan 7.1 SP14 + HANA SPS10

Replication scenario

/ virtual DB

Primary clusterSecondary cluster

• Automatic landscape recognition requires

HANA SPS10

• Requires SAP Hostagent 7.21 pl >= tbd

• Replication status metrics on

replication scenario level

• Active DB metrics collected on

primary DB cluster only

• Host level monitoring on all hosts

(primary + secondary)

• No DB metrics collected on secondary

DB (no SQL connect possible yet).

Instance and DB level inherit status

from below only

• DB switch over automatically detected

and monitoring re-configuration triggered

• Further „secondary“ clusters also supported

• Limitation: not available for multi database

container DBs

Page 12: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 12Customer

System Monitoring for SLT

Availability- Connectivity status

- Replication queue sizes

Exceptions- Jobs status

- Trigger status

Prerequisites:

• DMIS 2010 >= SP6 or 2011 >= SP1, see note 2081759

• SolMan 7.1 >= SP6 with latest monitoring content update

• Integrated into ABAP system level metrics

• Template: SAP SLT ABAP Addon

Performance- Latency (per schema, table)

- Replication queue sizes

Page 13: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 13Customer

Integrated monitoring of “modern” BI scenario and objects

SAP BI Platform Systems

(BusinessObjects Enterprise)

BO Jobs

Reports

SAP Business Warehouse

Systems

(SAP BW)

Queries / Templates

Process

Chains

BO Web Application

Server Systems

BOE Web

Application

BI monitoring scenario

Monitored systems in BI scenario – grouped by BI component type.

Monitored BI objects (process chains, queries and templates in SAP BW system; jobs in BO system)

End user

SBOP Data

Services Systems

SBOP DS

SAP ERP Systems

running SLT

Real Time

push - SLT

Backend Systems

/ Data Sources

e.g. SAP ERP

SAP HANA

Databases

(SAP HANA)

Info

provider

Page 14: Monitoring SAP HANA with SAP Solution Manager

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 14Customer

BI Monitoring with SAP HANA DB

Alert Inbox

System Monitoring

Page 15: Monitoring SAP HANA with SAP Solution Manager

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Thank you