Você está na página 1de 41

ITM215 – Operations for SAP HANA

with SAP Solution Manager 7.2

Public
Speakers

Las Vegas, Oct 19 - 23 Barcelona, Nov 10 - 12


 Janko Budzisch  Janko Budzisch
 Stefan Lahr  Stefan Lahr

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


Disclaimer

This presentation outlines our general product direction and should not be relied on in making a
purchase decision. This presentation is not subject to your license agreement or any other agreement
with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or to
develop or release any functionality mentioned in this presentation. This presentation and SAP's
strategy and possible future developments are subject to change and may be changed by SAP at any
time for any reason without notice. This document is provided without a warranty of any kind, either
express or implied, including but not limited to, the implied warranties of merchantability, fitness for a
particular purpose, or non-infringement. SAP assumes no responsibility for errors or omissions in this
document, except if such damages were caused by SAP intentionally or grossly negligent.

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


Agenda

1. Introduction: SAP Solution Manager and SAP HANA


2. Monitoring SAP HANA with SAP Solution Manager
3. Performing Root Cause Analysis for SAP HANA
4. Planning and Executing Regular Tasks for SAP HANA

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


Introduction

Public
SAP HANA
In-memory data platform for real-time analytics & applications

SAP HANA combines database, data


processing, and application platform
capabilities in-memory.
By providing advanced capabilities, such as
predictive text analytics, spatial processing,
data virtualization, on the same architecture,
it simplifies application development and
processing across big data sources and
structures.

This makes SAP HANA the most suitable


platform for building and deploying next-
generation, real-time applications and
analytics.

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


What is SAP Solution Manager?
Introduction

IT Service Management IT Portfolio and Project Management


Business
Incident
Requirement
Enhancement

Service Problem Portfolio


Request
Request for
Minor Release Project
Change Single
Urgent Change SAP
Source Major Release
Solution
of Truth
Manager
Design Mgmt

Business Process Operations Build


Build Mgmt
Execution
Change
Test
Test Mgmt
Application Operations Execution
Release &
Deployment
Deployment
Mgmt execution
Run SAP like a Factory Build SAP like a Factory
SAP Solution Manager supports your entire solution (including SAP HANA)
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 7
Scope of Application Operations

System & Application Technical Analytics &


Monitoring Dashboards
One infrastructure for monitoring and alerting covering Metric value analytics for different target groups with
SAP & non-SAP applications sufficient look-and-feel
- System Monitoring - Integrated into Monitoring Applications
- User Experience Monitoring - Cross Applications via Dashboard Builder
- Integration Monitoring - Customer specific via Dashboard Factory
- Job Monitoring
- HANA and Business Intelligence Monitoring

Root Cause Analysis & Technical Administration &


Exception Management Guided Procedures
Analyze issues in heterogeneous landscapes, ensure Central management of customer landscapes,
compliant configuration and reliable handling of technical automated and guided handling of IT related activities
and business exceptions including IT Task Management

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


Monitoring SAP HANA with
SAP Solution Manager

Public
HANA Operation – tools overview

The SAP HANA studio is


both the central
development environment SAP DB Control Center & SAP HANA Cockpit
and the main
administration tool for the Web-based tool for landscape Web-based tool to monitor
SAP HANA database. monitoring of SAP databases individual SAP HANA databases

With SPS09 additionally a


first version of the web-
based tools SAP DB SAP Solution
Control Center and SAP SAP HANA Studio Manager / DBA
HANA Cockpit are Cockpit
Central development
available for monitoring environment and main Central tool to manage the
SAP HANA. They can also
be used on mobile
administration tool for SAP
HANA, based on Eclipse
SAP SAP landscape, based on
the SAP NetWeaver
devices.
HANA Application Server

Furthermore SAP HANA is


fully integrated into SAP
Solution Manager.

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


Introducing monitoring and alerting in SAP Solution Manager

Monitoring Alerting
Alert Inbox
System Monitoring

User Experience Monitoring


Email/Ticket

Integration Monitoring Alert Details

Job Monitoring

HANA and BI Monitoring

SAP HANA

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


Architecture view

Solution Manager HANA DB


Hostagent

Alert Inbox Web service Diagnostic


(high frequency agent
availability metrics) HANA Alert View
Regular alert metric
+ statistics data collection SQL Regular statistics data
(5 min or lower history & alerting
frequency metrics,
statistics data)
Metric store RCA info cubes Statistics history Online monitoring
(_SYS_STATISTICS.HOST...) views (SYS.M_...)

HANA Host

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


System monitoring for SAP HANA

System Monitoring for HANA


ensures stabile operation of Hierarchy View Event and Metric View
complete SAP HANA stack:
 Availability Alerts delivered
by SAP Host Agent
 Performance Alerts (Memory
Usage, Size of Data Storage,
Long-Running Statements, …)
 Exception Alerts (General
Exceptions, Table Exceptions,
…)
 Configuration Alerts
(License Expiry, Trace
Settings, …)
 Self Monitoring Alerts
(Diagnostics Agent availability,
Extractor availability)

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


HANA DB monitoring on instance level

Database instance level separation


System Layer
in system monitoring views

All metrics are still available via


non-instance specific templates
Database Layer

No action required after Solman


upgrade

DB Instance Layer

Host Layer

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


HANA DB replication monitoring

Automatic landscape recognition requires HANA


SPS10
Replication status metrics on replication scenario
level Replication
Scenario
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 Secondary Cluster Primary Cluster

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


New metrics for SAP HANA in SAP Solution Manager 7.2

SAP HANA Options


Dynamic Tiering:
To implement a multi-temperature memory strategy in your SAP BW, you
can use the extended table concept with SAP HANA Dynamic Tiering. Using
this concept, you can store warm data - with specific usage profiles without
functional restrictions - in extended tables, which are managed by SAP
HANA. This enables you to optimize usage of the main memory in SAP
HANA.

Smart Data Streaming:


The SAP HANA smart data streaming option processes high-velocity, high-
volume event streams in real time, allowing you to filter, aggregate, and
enrich raw data before committing it to your database.

Smart Data Integration (Data Provisioning):


Extends HANA by providing a architecture supporting all styles of data
delivery: real-time, batch and federation (SDA) and all styles of
deployment: on premise and cloud. Provides both data replication and data
transformation services

SAP Solution Manager supports monitoring these options


with new metrics

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


SAP HANA
Alert Inbox integration

Alert Inbox in SAP Solution Manager


Alert Inbox provides efficient alert
handling mechanisms like:
Status Tracking
Alert Postponement
Incidents/Notifications creation
Integration to 3rd party event management
and ticketing systems for HANA specific
database alerts.
Execution of Guided Procedures for HANA
specific database alerts. HANA Alerts in HANA Studio
All alerts available in HANA Studio are
also available in Alert Inbox of SAP
Solution Manager.

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


Demo

HANA Monitoring and Alerting

Public
HANA and BI monitoring with SAP Solution Manager 7.2
The challenge

The transition from using SAP HANA as SAP HANA In Memory Platform BI Platform
database foundation, to the usage as a
platform leads to the need of enhanced XS Engine
monitoring capabilities. Smart Data Streaming
Dynamic Tiering

SAP Solution Manager 7.2 summarizes …


monitoring features for HANA as a
platform together with BI as a platform to
the HANA and BI Monitoring application. On Premise and Cloud sources of Data

Following this approach, new HANA


components will be covered step by step.

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


HANA and BI monitoring with SAP Solution Manager 7.2

Overview
Alert Inbox

System Monitoring

System View

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


Performing Root Cause
Analysis for SAP HANA

Public
Root Cause Analysis for SAP HANA
Overview

For the case that the alert is more Database Analysis E2E Trace Analysis
complex or if some more detailed
analysis is required, SAP Solution
Manager provides the Root Cause
Analysis functionality for SAP HANA.

• Detailed error statistics about


HANA issues
• Capacity analysis for HANA
E2E Exception Analysis E2E Change Analysis
column and row stores
• HANA memory usage analysis
• HANA parameter history and
change analysis
• Detailed tracing of HANA queries

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


Root Cause Analysis for SAP HANA
Workload analysis for SAP HANA (via Database Analysis)

Possibility to evaluate memory utilization per Database Analysis


HANA service

Database Analysis

The “Merge Statistics” view displays the average


runtime of merge operations per schema.

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


Root Cause Analysis for SAP HANA
Change Analysis and Reporting for SAP HANA

E2E Change Analysis for SAP HANA shows Configuration Change Reporting
number of HANA DB parameter changes
over time. The change details view offers
direct jump-in to Configuration Change
Reporting.

E2E Change Analysis

Configuration Change Reporting for SAP HANA


provides access to change history for single
HANA DB parameter and allows to compare
different HANA installations with each other

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


Root Cause Analysis for SAP HANA
Exception Analysis for SAP HANA
The overview screen shows statistics on E2E Exception Analysis
errors reported by HANA index servers over
selected time.

E2E Exception Analysis Log Viewer

The detail view shows error text and


number of errors per error type, reported
by HANA with capability to jump into Log
Viewer.

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


Root Cause Analysis for SAP HANA
E2E Trace for SAP HANA
Frontend trace
Upload client trace data 2

ABAP stack
HANA

WebGUI (HTTP) WP1 T1


(Passport injection, trace levels via SAP
Client Plugin)

Passport (incl.
Trace flags)
WPn Tm

Run application / HANA threads


create E2E trace
Work processes
Passport (incl.
HANA
Trace flags)
1 connections /
sessions

DB Expensive
User sessions ABAP SQL Traces Statements
with dialog steps Trace Trace

Collect server trace data


SAPGUI (DIAG)
(Trace levels via OK-code /$gui_e2e_trace) Frontend trace
(simulated)
Upload client trace data

2
Collect trace data and
view results 3
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 26
HANA E2E Trace Analysis

Summary View

Server Analysis

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


Demo

HANA Root Cause Analysis

Public
Planning and Executing
Regular Tasks for SAP HANA

Public
Regular system administration tasks for SAP HANA

Transition to new Platform leads to change in typical Objective


Administration tasks, among others:
Memory Volume Management

Scale up HANA Growth Management „After Transition to the new


Scale Technology Platform all
out
System Health Check Re-occurring tasks that used to
be a commodity shall be
SAP HANA database
Memory
Backup & Recovery executed according to a newly
defined standard – optimized and
COMMIT
Savepoint

Backup/
Data Area recovery controlled by
(disk) HANA

Log Area
(disk)

SAP HANA
Database
Backup Agent
(3rd Party)

Backup Server
(3rd Party) continually improved according to
Restore Test
Data Backups
Log Backups

SAP Recommendations
and with as little disruption to the
System Copy & System Refresh IT organization as possible“

Source Database Target Database


Disaster Recovery and Fail-over Test
online (copy)
Online Database backup files Database Recovery
Database Backup
Storage System Storage System
Security Controls

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


Guided Procedures Management

Guided Guided
Procedure Procedure
Browser Authoring

Guided Guided
Procedure Procedures
Log Book Scheduling

Guided
Procedures
Runtime

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


Trigger for Guided Procedures

Perform Route Cause Analysis and alert Perform day-to-day operational activities
resolution in a standardized and controlled centrally in a guided and reproducible
way powered by Guided Procedures or way; execution is triggered by IT Task
Knowledge Articles Management

Root Cause Analysis & Alert Resolution IT Task Management

Guided Procedure Guided Procedure

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


Guided Procedures for HANA Alerts

Assigned to specific alert types in Alert Inbox Alert Inbox

Execution is possible out of Alert Inbox

SAP delivers Guided Procedures for several


HANA Alerts with Solution Manager

→ these can be copied and adjusted by


customers
Alert Details

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


SAP HANA
Specific Guided Procedures
Guided Procedures for HANA Database Alert Handling
ID HANA Database ALERT Guided Procedure Name
1 Check host free physical memory HANA Alert 01: Host free physical memory
3 Check inactive services HANA Alert 03: Check Inactive Services
4 Check restarted services HANA Alert 04: Check restarted Services
10 Check param mergedog delta merge HANA Alert 10: Check Parameter (generic)
12 Check shared memory used size for category TOPOLOGY HANA Alert 12: Check Shared Memory
16 Check lock waittimeout HANA Alert 10: Check Parameter (generic)
17 Check record count of not partitioned column table HANA Alert 17: Check Table Partitioning
19 Check delta memory record count * table column count HANA Alert 29: Check size of delta memory
20 Check table growth of not partitioned column table HANA Alert 17: Check Table Partitioning
27 Check record count of column table partition HANA Alert 17: Check Table Partitioning
28 Check last save point time HANA Alert 28: Check Last Save point time
29 Check size of delta memory HANA Alert 29: Check size of delta memory
31 Check license expiration HANA Alert 31: Check License Expiration
32 Check whether the database is running in log mode OVERWRITE HANA Alert 32: Check DB is recoverable
33 Check database supports point-in-time recovery HANA Alert 33: Check Log_mode of HANA
Guided Procedures for HANA related regular tasks
34 Check availability of volumes for backup HANA Alert 34: Check Backup Volumes Product Guided Procedure Name
35 Check whether a data backup exists HANA Alert 35: Check Data Backup exists HANA HANA DB Admin Daily Tasks
36 Check last data backup HANA Alert 36: Check last data backup
37 Check the age of the last data backup HANA Alert 37: Check age of data backup HANA HANA DB Admin Regular Tasks
38 Check last log backups HANA Alert 38: Check last log backup
40 Check column table size with resp. to total memory alloc. limit HANA Alert 17: Check Table Partitioning SLT SLT for HANA Admin Daily Tasks
42 Check a long lived cursor HANA Alert 42: Check long-lived Cursor
44 Check currently utilized percentage of main memory HANA Alert 44: Licensed Memory Exceeded
45 Check column table size with resp. to main memory alloc. limit HANA Alert 17: Check Table Partitioning BW BW Admin Monitor BI Platform
49 Check blocked transactions HANA Alert 49: Check Blocked Transactions BW BW Admin Monitor WHM
50 Check number of diagnosis files HANA Alert 50: Number of Diagnosis files BW BW Admin Monitor Reporting
51 Check size of individual diagnosis files HANA Alert 51: Size of Diagnosis files

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


Demo

Guided Procedure for HANA Operations

Public
Summary
SAP HANA operation with SAP Solution Manager 7.2

SAP Solution Manager supports all aspects of operations


for SAP HANA as : Monitoring, Root cause analysis
and administration

SAP Solution Manager follows continuously the HANA


platform strategy by providing new content and
capabilities

Following this approach SAP provides with SAP


Solution Manager 7.2 a dedicated HANA and BI
Monitoring, covering all aspects of HANA as a
platform

Guided Procedures support alert resolution and regular


administrative tasks which are constantly enhanced

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


Thank you
Contact information:

Stefan Lahr
Support Architect

stefan.lahr@sap.com

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


Feedback
Please complete your session evaluation for
ITM215.

©©2015
2015SAP
SAPSE
SEororananSAP
SAPaffiliate
affiliatecompany.
company.AllAllrights
rightsreserved.
reserved. Public 3838
SAP TechEd Online
Continue your SAP TechEd education after the event!

 Access replays of keynotes, Demo Jam, SAP TechEd live interviews, select lecture sessions, and more!
 Hands-on replays

http://sapteched.com/online

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


Further Information

Related SAP TechEd sessions:


ITM107 - Tools for SAP HANA Operations
ITM110 - Introduction to the SAP DB Control Center Systems Console
ITM214 - Application Operations Overview: News About SAP Solution Manager 7.2
SAP Public Web
scn.sap.com
www.sap.com
SAP Education and Certification Opportunities
www.sap.com/education
Watch SAP TechEd Online
www.sapteched.com/online

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


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

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an
SAP affiliate company.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.

Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and services
are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an
additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or
release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place
undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

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

Você também pode gostar