ITM215 Operations for SAP HANA with SAP Solution Manager 7 · PDF fileMonitoring SAP HANA with...
-
Upload
nguyentuyen -
Category
Documents
-
view
253 -
download
3
Transcript of ITM215 Operations for SAP HANA with SAP Solution Manager 7 · PDF fileMonitoring SAP HANA with...
Public
ITM215 – Operations for SAP HANA
with SAP Solution Manager 7.2
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 2
Speakers
Las Vegas, Oct 19 - 23
Janko Budzisch
Stefan Lahr
Barcelona, Nov 10 - 12
Janko Budzisch
Stefan Lahr
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 3
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. 4
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
Public
Introduction
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 6
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. 7
What is SAP Solution Manager? Introduction
Change
Build SAP like a Factory Run SAP like a Factory
Business Process Operations
Application Operations
Build
Execution
Test
Execution
Deployment
execution
Build Mgmt
Test Mgmt
Release &
Deployment
Mgmt
Design Mgmt
IT Service Management
Minor Release
Urgent Change
IT Portfolio and Project Management
Project
Portfolio
Major Release
Business
Requirement Enhancement
Incident
Problem
Request for
Change
Service
Request
Single Source of Truth
SAP Solution Manager
SAP Solution Manager supports your entire solution (including SAP HANA)
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 8
Scope of Application Operations
System & Application
Monitoring
One infrastructure for monitoring and alerting covering
SAP & non-SAP applications
- System Monitoring
- User Experience Monitoring
- Integration Monitoring
- Job Monitoring
- HANA and Business Intelligence Monitoring
Technical Analytics &
Dashboards
Metric value analytics for different target groups with
sufficient look-and-feel
- Integrated into Monitoring Applications
- Cross Applications via Dashboard Builder
- Customer specific via Dashboard Factory
Root Cause Analysis &
Exception Management
Analyze issues in heterogeneous landscapes, ensure
compliant configuration and reliable handling of technical
and business exceptions
Technical Administration &
Guided Procedures
Central management of customer landscapes,
automated and guided handling of IT related activities
including IT Task Management
Public
Monitoring SAP HANA with SAP Solution Manager
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 10
HANA Operation – tools overview
The SAP HANA studio is
both the central
development environment
and the main
administration tool for the
SAP HANA database.
With SPS09 additionally a
first version of the web-
based tools SAP DB
Control Center and SAP
HANA Cockpit are
available for monitoring
SAP HANA. They can also
be used on mobile
devices.
Furthermore SAP HANA is
fully integrated into SAP
Solution Manager.
SAP HANA
SAP HANA Studio
Central development environment and main
administration tool for SAP HANA, based on Eclipse
SAP DB Control Center & SAP HANA Cockpit
Web-based tool for landscape Web-based tool to monitor
monitoring of SAP databases individual SAP HANA databases
SAP Solution Manager / DBA
Cockpit
Central tool to manage the SAP landscape, based on
the SAP NetWeaver Application Server
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 11
Introducing monitoring and alerting in SAP Solution Manager
SAP HANA
User Experience Monitoring
Alert Inbox
Alerting Monitoring
Integration Monitoring
System Monitoring
HANA and BI Monitoring
Alert Details
Email/Ticket
Job Monitoring
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 12
Architecture view
Solution Manager HANA DB
Regular alert metric
+ statistics data collection
Metric store RCA info cubes
Alert Inbox
Regular statistics data
history & alerting
Online monitoring
views (SYS.M_...)
Statistics history (_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
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 13
System Monitoring for HANA
ensures stabile operation of
complete SAP HANA stack:
System monitoring for SAP HANA
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)
Hierarchy View Event and Metric View
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 14
HANA DB monitoring on instance level
System Layer
Database Layer
DB Instance Layer
Host Layer
Database instance level separation
in system monitoring views
All metrics are still available via
non-instance specific templates
No action required after Solman
upgrade
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 15
HANA DB replication monitoring
Automatic landscape recognition requires HANA
SPS10
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 Secondary Cluster Primary Cluster
Replication
Scenario
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 16
New metrics for SAP HANA in SAP Solution Manager 7.2
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
SAP HANA Options
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 17
SAP HANA Alert Inbox integration
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.
All alerts available in HANA Studio are
also available in Alert Inbox of SAP
Solution Manager.
HANA Alerts in HANA Studio
Alert Inbox in SAP Solution Manager
Public
Demo
HANA Monitoring and Alerting
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 19
HANA and BI monitoring with SAP Solution Manager 7.2 The challenge
SAP HANA In Memory Platform
Smart Data Streaming
XS Engine
Dynamic Tiering
On Premise and Cloud sources of Data
BI Platform The transition from using SAP HANA as
database foundation, to the usage as a
platform leads to the need of enhanced
monitoring capabilities.
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.
Following this approach, new HANA
components will be covered step by step.
…
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 20
HANA and BI monitoring with SAP Solution Manager 7.2
System Monitoring
Alert Inbox Overview
System View
Public
Performing Root Cause Analysis for SAP HANA
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 22
Root Cause Analysis for SAP HANA Overview
Database Analysis
E2E Exception Analysis
E2E Trace Analysis
E2E Change Analysis
For the case that the alert is more
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
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. 23
Root Cause Analysis for SAP HANA Workload analysis for SAP HANA (via Database Analysis)
Possibility to evaluate memory utilization per
HANA service
The “Merge Statistics” view displays the average
runtime of merge operations per schema.
Database Analysis
Database Analysis
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 24
Root Cause Analysis for SAP HANA Change Analysis and Reporting for SAP HANA
E2E Change Analysis
E2E Change Analysis for SAP HANA shows
number of HANA DB parameter changes
over time. The change details view offers
direct jump-in to Configuration Change
Reporting.
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
Configuration Change Reporting
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 25
Root Cause Analysis for SAP HANA Exception Analysis for SAP HANA
The overview screen shows statistics on
errors reported by HANA index servers over
selected time.
The detail view shows error text and
number of errors per error type, reported
by HANA with capability to jump into Log
Viewer.
E2E Exception Analysis
E2E Exception Analysis
Log Viewer
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 26
Root Cause Analysis for SAP HANA E2E Trace for SAP HANA
ABAP stack
WP1
WPn
HANA
User sessions
with dialog steps
Work processes
T1
Tm
HANA
connections /
sessions
HANA threads
ABAP
Trace SQL
Trace
WebGUI (HTTP)
(Passport injection, trace levels via SAP
Client Plugin)
SAPGUI (DIAG)
(Trace levels via OK-code /$gui_e2e_trace)
Passport (incl.
Trace flags)
Passport (incl.
Trace flags)
Frontend trace
Frontend trace
(simulated)
DB
Traces Expensive
Statements
Collect server trace data
Run application /
create E2E trace
1
Upload client trace data
2
Upload client trace data 2
Collect trace data and
view results 3
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 27
HANA E2E Trace Analysis
Summary View
Server Analysis
Public
Demo
HANA Root Cause Analysis
Public
Planning and Executing
Regular Tasks for SAP HANA
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 30
Regular system administration tasks for SAP HANA
Transition to new Platform leads to change in typical
Administration tasks, among others:
Scale up
Scale
out
SAP HANA database
Log Area
(disk)
Data Area
(disk)
Memory
Savepoint COMMIT
Data Backups Log Backups
SAP HANA
Database Backup Server
(3rd Party)
Backup/
recovery controlled by
HANA
Backup Agent
(3rd Party)
Storage System Storage System
Source Database
online
Database backup files Online
Database Backup Database Recovery
Target Database
(copy)
Memory Volume Management
HANA Growth Management
System Health Check
Backup & Recovery
Restore Test
System Copy & System Refresh
Disaster Recovery and Fail-over Test
Security Controls
„After Transition to the new
Technology Platform all
Re-occurring tasks that used to
be a commodity shall be
executed according to a newly
defined standard – optimized and
continually improved according to
SAP Recommendations
and with as little disruption to the
IT organization as possible“
Objective
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 31
Guided Procedures Management
Guided Procedure Authoring
Guided Procedures Scheduling
Guided Procedures
Runtime
Guided Procedure Log Book
Guided Procedure Browser
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 32
Trigger for Guided Procedures
Perform Route Cause Analysis and alert
resolution in a standardized and controlled
way powered by Guided Procedures or
Knowledge Articles
Root Cause Analysis & Alert Resolution
Perform day-to-day operational activities
centrally in a guided and reproducible
way; execution is triggered by IT Task
Management
IT Task Management
Guided Procedure Guided Procedure
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 33
Assigned to specific alert types in 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
Guided Procedures for HANA Alerts
Alert Inbox
Alert Details
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 34
SAP HANA Specific Guided Procedures
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
34 Check availability of volumes for backup HANA Alert 34: Check Backup Volumes
35 Check whether a data backup exists HANA Alert 35: Check Data Backup exists
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
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
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
49 Check blocked transactions HANA Alert 49: Check Blocked Transactions
50 Check number of diagnosis files HANA Alert 50: Number of Diagnosis files
51 Check size of individual diagnosis files HANA Alert 51: Size of Diagnosis files
Guided Procedures for HANA Database Alert Handling
Product Guided Procedure Name HANA HANA DB Admin Daily Tasks HANA HANA DB Admin Regular Tasks
SLT SLT for HANA Admin Daily Tasks
BW BW Admin Monitor BI Platform BW BW Admin Monitor WHM BW BW Admin Monitor Reporting
Guided Procedures for HANA related regular tasks
Public
Demo
Guided Procedure for HANA Operations
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 36
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
Guided Procedures support alert resolution and regular
administrative tasks which are constantly enhanced
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
© 2015 SAP SE or an SAP affiliate company. All rights reserved.
Thank you
Contact information:
Stefan Lahr
Support Architect
38 © 2015 SAP SE or an SAP affiliate company. All rights reserved.
Feedback Please complete your session evaluation for ITM215.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 38 Public
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 39
SAP TechEd Online Continue your SAP TechEd education after the event!
http://sapteched.com/online
Access replays of keynotes, Demo Jam, SAP TechEd live interviews, select lecture sessions, and more!
Hands-on replays
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 40
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. 41
© 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.