SlideShare a Scribd company logo
HANA 2 – Upgrade & Operations Part 1
Exploring Features of the new Cockpit
• This is a collection of notes in upgrading to HANA 2 database and installing
and exploring the new HANA 2 Cockpit. Steps and process were based on
already publicly released documents and blogs
• Some features were explored in previous blog
HANA SPS12 Exploring New Features
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 1
Image courtesy of SAP SE
References: Publications and OSS notes
1. SAP HANA2 Administration Guide
2. 2380257 - SAP HANA Platform 2.0 SPS 00 Release
Note
3. 2380291 – SAP HANA 2.0 Cockpit Release Note
4. Presentations from SAP HANA International Focus
Group
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 2
Summary of Topics
• Upgrade: Preparation, Update and Post-tasks
• HANA2 Cockpit:
• Installation
• Configuration
• Manager
• Resources
• Groups
• Monitoring and Administration
• Security
• Offline Administration
• Performance Management
• Capture and Replay
• SAP HANA Options
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 3
Preparation
• Operating System Requirements
RHEL for SAP HANA 7.2, or
SLES for SAP applications 12 SP1
• Make sure to update to the latest components to avoid error
below
The operating system is not ready to perform gcc 5 assemblies
rpm package 'libgcc_s1' needs at least version 5.3.1. (current version =
5.2.1+r226025)
rpm package 'libstdc++6' needs at least version 5.3.1. (current version =
5.2.1+r226025)
For more information, see SAP Note 2338763.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 4
Preparation – 2
• Download and Extracting the downloaded components
Use hdblcm if the version has the option
‘- action=extract_components’
Another option is to download hdblcm_prepare.sh from OSS
note 2078425 and run it.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 5
Preparation - 3
The process of upgrading to HANA2 is similar to the normal
SPS release upgrade. Note that there is a ‘minimal’ source
system requirement to upgrade to HANA2.
Some of the steps before the actual upgrade
• Stop data replication
• Stop the ABAP connected to the HANA system
• As <sid>adm, stopsap R3
• Create a complete backup of the database. For MDC,
systemDB and tenant DBs.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 6
Database Update - 1
There are several ways of updating an SAP HANA System. The procedure
used in this document used the command line
As root,
Go to the extracted folder containing the hdblcm
/mnt/software/SAP/HANA2/extracted/SAP_HANA_DATABASE
./hdblcm -component_root=/mnt/software/SAP/HANA2
/extracted/SAP_HANA_DATABASE -install_hostagent=No
(Note: the install_hostagent=No is to bypass installation of hostagent if it
already has the latest version. Also, the SAP_HANA_DATABASE does not
contain the hostagent binaries – so it just waits on ‘Preparing package
‘saphostagent setup’ if install_hostagent=No is not specified!)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 7
Database Update - 2
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 8
Database Update – Post Tasks
Brief ’standard’ upgrade post tasks
• Update SAP HANA Client
• Update SAP HANA Studio
• Update of SAP HANA replication components
• Update of BI clients
• Database backup
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 9
HANA2 Cockpit - Installation 1
• A new version of HANA Cockpit is delivered with HANA2.
• In previous version, the HANA Cockpit is installed during the database
version installation, through delivery unit.
• HANA2 cockpit is installed using hdblcm, as a separated task - as ‘stand-
alone’ – not directly linked to a specific database, and it can be used to
administer and monitor several databases running on SAP HANA 2.0 or
HANA 1.0 SPS12.
• Note that some tasks still need to be done through HANA Studio
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 10
HANA2 Cockpit
HANA2
SPS00
HANA1 SPS12
HANA2 Cockpit – Installation 2
• The minimal requirement for HANA2 cockpit is 16Gb of memory, but
suggest to have at least 32Gb
• We recommended that you install HANA2 Cockpit on its own server.
Installing it with another HANA database can cause memory and CPU
contention – and can make the HANA database’s indexserver to hang
• Note that with HANA2, the HANA Cockpit still appears in the HANA
Studio. But invoking it it through HANA Studio will result with error
below.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 11
HANA2 Cockpit – Installation 3
• Download the HANA2 Cockpit package
• Extract the package, in this example, hdblcm_prepare.sh is
used. Note that since folder ‘extracted’ already exist,
another folder ‘extracted1’ is created
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 12
HANA2 Cockpit – Installation 4
• As root, go to the extract folder and run hdblcm
./hdblcm -
component_roots=/mnt/software/SAP/HANA2/extracted1/co
ckpit2_app -install_hostagent=No
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 13
HANA2 Cockpit – Installation 5
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 14
HANA2 Cockpit – Installation 6
• Displaying HANA2 Cockpit services/process
• HDB info
• Using sapcontrol – note the extra processes XS Controller
and XS UA Server
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 15
Determining Cockpit ports - 1
• The installation log displays the port of HANA Cockpit and
HANA Cockpit Manager. Another way of finding, as HANA
Cockpit <sid>adm –
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 16
Determining Cockpit ports - 2
• HANA cockpit is listed as ‘cockpit-web-app’ – 51021
• Cockpit manager is listed as ‘cockpit-admin-web-app’ –
51023
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 17
HANA Cockpit Manager (1)
• URL is https://<server>:51023
• Login as COCKPIT_ADMIN, using the master password
specified during the installation
The HANA2 Cockpit is also a
resource
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 18
A resource is an SAP HANA
system, identified by a host
and instance number, which
may be a system- or tenant-
database in a multitenant
database container, or a
single- or multi-host system in
a single database container.
.. From Administration Guide
HANA Cockpit Manager (2)
• The first time COCKPIT_ADMIN logs in,
• Click Yes
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 19
Resource
Adding/Registering a resource
1. Create a ‘technical’ user in the ’resource’ system
CREATE USER <username> PASSWORD <password> NO
FORCE_FIRST_PASSWORD_CHANGE;
GRANT CATALOG READ to <username>;
GRANT SELECT on SCHEMA _SYS_STATISTICS to <username>
..And grant other appropriate roles
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 20
Resource (2)
2. Specify resource details
3. Enter technical user and password
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 21
• For MDC, both SYSTEM and
tenant DB should be registered
• HANA Cockpit is also defined as
resource
Resource (3)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 22
Review, then Register
Register each resource
Groups
Groups allows monitoring several systems in single view
• Create groups per usage, type, version, etc.
• Assign resource to a group
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 23
TIP
• Create a group by usage
• Create a user and assign specific
group for administration,
monitoring
Resource and Groups
Aggregate view of registered resources
• This allows overview of any resource that may have issue
Resource
Directory
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 24
HANA Cockpit
System DB
and Tenant
HANA Cockpit
General sections in HANA Cockpit2
1. Monitoring and Administration
2. Security
3. Performance Management
4. SAP HANA Options
In each application/tile, drill-down feature for more detail
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 25
Monitoring and Administration (1)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 26
Hover and click on any
tile to drill down for
more detail
For MDC, the app will be
slightly different from
SYSTEMDB and Tenant DB
Monitoring and Administration (2)
From MDC’s SYSTEMDB
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 27
Monitoring and Administration (3)
ALERT App – in the overview page, click on SHOW ALL
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 28
SORT,
FILTERING
GO TO ALTER
CHECKER
CONFIGURATION
Monitoring and Administration(4)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 29
Click on an item to open the application
LCM – Similar to the one in HANA Studio
Administration - Configuring Alerts
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 30
Tool to configure alerts - Previously in HANA Studio only
Administration – Workload and Performance
The following topics were partially covered in previous blog
HANA SPS12 Exploring New Features
• Workload Class / Management
• Monitor Performance
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 31
Administration – Table Usage (access)
Display read/write statistics, with two types of charts
• Bubble Chart
• Table Chart
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 32
Administration – SQL plan cache
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 33
Administration – User management
• Tool to Edit, deactivate
or Delete a user
• Assign Roles
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 34
Administration – Backup / Schedule
The backup/schedule tile of HANA2 cockpit has two features
• Create Backup within HANA cockpit  new feature
• Backup schedule Management  first introduced in HANA1 SPS12,
covered in the following blog
HANA SPS12 Exploring New Features
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 35
See OSS note 2380291 for restrictions
on backup and recovery through HANA
Cockpit
Administration - Manage Services
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 36
Tool to
Configuration Manager
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 37
2. Comparing configuration change from previous snapshot
1. Configuring system environment/parameters
Creating a regular
snapshot for
comparison when
there are any
change
Life Cycle Management
• Tool to Add Host
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 38
Database Explorer
• Tool to browse catalog and trace files
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 39
Execute SQL
• Tool to run SQL against an schema object
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 40
The tool checks the syntax while you are typing the SQL!
Analyze SQL (1)
SELECT * from SAPHNA.T005
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 41
Tool to analyze SQL. See
next slide
Analyze SQL (2)
Note that the Analyze SQL in HANA Cockpit is different from
the HANA Studio’s EXPLAIN and Visualize Plan (below)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 42
HANA Cockpit for Offline Administration
Can be invoked through the online cockpit (under
Administration) or directly through the URLs below
http://host:1128/lmsl/hdbcockpit/SID/index.html
https://host:1129/lmsl/hdbcockpit/SID/index.html
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 43
HANA Cockpit Offline Admin – Systems Operations
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 44
Options
HANA Cockpit Offline Admin – Diagnosis Files
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 45
Option to browse and download a trace file
HANA Cockpit Offline Admin – Troubleshooting
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 46
Option to cancel a specific or ALL connection/transactions
Performance Management
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 47
Performance Management – Workload Analysis 1
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 48
Several KPIs
available for
analysis
Performance Management – Workload Analysis 2
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 49
Application user, thread
type, state lock and more
service,
thread
type,
state lock,
and more
Several dimension, services
and KPIs to choose
Capture and Replay (1)
• This feature was initially presented in the following blog
HANA SPS12 Exploring New Features
New HANA2 options in Capture and Replay
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 50
Capture and Replay (2)
Capturing workload from one system and replaying into
another system
1. In the source system,
capture the workload
2. Preprocess the capture work
3. Copy the captured workload from the source to target systems’ trace
folder
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 51
Capture and Replay (3)
4. Login to the target system – the copied workload will be
visible
5. Replay the workload in the target system
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 52
SAP HANA Options and Security
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 53
• Any Questions?
• Contact Info:
Linh Nguyen linh.nguyen@itconductor.com
Terry Kempis terry.kempis@itconductor.com
Let
itconductor.com
@itconductor

More Related Content

What's hot (20)

PDF
RISE PCE CAA Migration Options_wave4.pdf
ken761ken1
 
PDF
Sap bw4 hana architecture archetypes
Luc Vanrobays
 
PPT
Sap Security Workshop
larrymcc
 
PDF
S/4 HANA conversion functional value proposition
Vignesh Bhatt
 
PDF
12753028 scot-configuration-troubleshooting
kratos1979
 
PDF
Mastering SAP Monitoring - SAP SLT & RFC Connection Monitoring
Linh Nguyen
 
PPTX
L1_RISE_with_SAP_NNN_V3.4.pptx
Guruprasad Bellary
 
PPTX
Wake Up – It’s Time to Upgrade Your S/4HANA System!
panayaofficial
 
PDF
SAP S/4 HANA Technical assessment before migration
Марина Ковалёва
 
PDF
How to create generic delta
Jacques Kalees
 
PDF
Managing and Monitoring HANA 2 active:active with System Replication
Linh Nguyen
 
PDF
An Overview of SAP S4/HANA
Debajit Banerjee
 
PPTX
Take the Next Step to S/4HANA with "RISE with SAP"
panayaofficial
 
PDF
SAP S/4HANA: Everything you need to know for a successul implementation
Bluefin Solutions
 
PDF
Best Practices to Administer, Operate, and Monitor an SAP HANA System
SAPinsider Events
 
PPTX
SAP HANA Overview
Manjunath Pathapadu
 
PPT
SAP HANA Overview
Sitaram Kotnis
 
PDF
S4HANA Migration Overview
Samir Lalani -CPA
 
PDF
Migrate Custom data/object in SAP S/4 HANA
Ashish Saxena
 
PDF
SAP ERP IMPLEMENTATION AND Sap migration
Arig
 
RISE PCE CAA Migration Options_wave4.pdf
ken761ken1
 
Sap bw4 hana architecture archetypes
Luc Vanrobays
 
Sap Security Workshop
larrymcc
 
S/4 HANA conversion functional value proposition
Vignesh Bhatt
 
12753028 scot-configuration-troubleshooting
kratos1979
 
Mastering SAP Monitoring - SAP SLT & RFC Connection Monitoring
Linh Nguyen
 
L1_RISE_with_SAP_NNN_V3.4.pptx
Guruprasad Bellary
 
Wake Up – It’s Time to Upgrade Your S/4HANA System!
panayaofficial
 
SAP S/4 HANA Technical assessment before migration
Марина Ковалёва
 
How to create generic delta
Jacques Kalees
 
Managing and Monitoring HANA 2 active:active with System Replication
Linh Nguyen
 
An Overview of SAP S4/HANA
Debajit Banerjee
 
Take the Next Step to S/4HANA with "RISE with SAP"
panayaofficial
 
SAP S/4HANA: Everything you need to know for a successul implementation
Bluefin Solutions
 
Best Practices to Administer, Operate, and Monitor an SAP HANA System
SAPinsider Events
 
SAP HANA Overview
Manjunath Pathapadu
 
SAP HANA Overview
Sitaram Kotnis
 
S4HANA Migration Overview
Samir Lalani -CPA
 
Migrate Custom data/object in SAP S/4 HANA
Ashish Saxena
 
SAP ERP IMPLEMENTATION AND Sap migration
Arig
 

Viewers also liked (20)

PDF
SAP HANA SPS12 Upgrade and Exploring New Features - Part 1
Linh Nguyen
 
PDF
SAP HANA SPS12 Exploring New Features
Linh Nguyen
 
PDF
BW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & Migration
Linh Nguyen
 
PDF
BW Migration to HANA Part1 - Preparation in BW System
Linh Nguyen
 
PDF
SAP HANA Distributed System Scaleout and HA
Linh Nguyen
 
PPTX
What's New in SAP HANA View Modeling
SAP Technology
 
PDF
BW Migration to HANA Part 3 - Post-processing on the Migrated System
Linh Nguyen
 
PDF
SAP HANA Dynamic Tiering Test-drive
Linh Nguyen
 
PPTX
What's new in SAP HANA SPS 11 SQL/SQLScript
SAP Technology
 
PDF
Solution Manager Technical Monitoring - BOBJ (Part 2 of 3 - Auto-Configure)
Linh Nguyen
 
PDF
SAP HANA SPS10- SAP HANA Modeling
SAP Technology
 
PPTX
Solution Manager Technical Monitoring - SAP NW BW on HANA Setup Part 2 of 3 (...
Linh Nguyen
 
PDF
Mastering SAP Monitoring - Workload Monitoring
Linh Nguyen
 
PPTX
Solution Manager - SAP NW BW on HANA Setup Part 3 of 3 (Technical Monitoring ...
Linh Nguyen
 
PDF
10 Ways to Better Application-Centric Service Management
Linh Nguyen
 
PDF
Mastering SAP Monitoring - Determining the Health of your SAP Environment
Linh Nguyen
 
PDF
Solution Manager Technical Monitoring - SAP BOBJ BI 4.0 (Part 3 of 3 - Manage...
Linh Nguyen
 
PPTX
SAP Solution Manager - Netweaver on HANA Monitoring Setup Part 1 of 3 (Prepar...
Linh Nguyen
 
PDF
Mastering SAP Monitoring - SAP HANA Monitoring, Management & Automation
Linh Nguyen
 
PPT
FBC, Belmont Weekly Announcements for June 29, 2014
wburks
 
SAP HANA SPS12 Upgrade and Exploring New Features - Part 1
Linh Nguyen
 
SAP HANA SPS12 Exploring New Features
Linh Nguyen
 
BW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & Migration
Linh Nguyen
 
BW Migration to HANA Part1 - Preparation in BW System
Linh Nguyen
 
SAP HANA Distributed System Scaleout and HA
Linh Nguyen
 
What's New in SAP HANA View Modeling
SAP Technology
 
BW Migration to HANA Part 3 - Post-processing on the Migrated System
Linh Nguyen
 
SAP HANA Dynamic Tiering Test-drive
Linh Nguyen
 
What's new in SAP HANA SPS 11 SQL/SQLScript
SAP Technology
 
Solution Manager Technical Monitoring - BOBJ (Part 2 of 3 - Auto-Configure)
Linh Nguyen
 
SAP HANA SPS10- SAP HANA Modeling
SAP Technology
 
Solution Manager Technical Monitoring - SAP NW BW on HANA Setup Part 2 of 3 (...
Linh Nguyen
 
Mastering SAP Monitoring - Workload Monitoring
Linh Nguyen
 
Solution Manager - SAP NW BW on HANA Setup Part 3 of 3 (Technical Monitoring ...
Linh Nguyen
 
10 Ways to Better Application-Centric Service Management
Linh Nguyen
 
Mastering SAP Monitoring - Determining the Health of your SAP Environment
Linh Nguyen
 
Solution Manager Technical Monitoring - SAP BOBJ BI 4.0 (Part 3 of 3 - Manage...
Linh Nguyen
 
SAP Solution Manager - Netweaver on HANA Monitoring Setup Part 1 of 3 (Prepar...
Linh Nguyen
 
Mastering SAP Monitoring - SAP HANA Monitoring, Management & Automation
Linh Nguyen
 
FBC, Belmont Weekly Announcements for June 29, 2014
wburks
 
Ad

Similar to SAP HANA 2 – Upgrade and Operations Part 1 - Exploring Features of the New Cockpit (20)

PDF
SAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation
Linh Nguyen
 
PDF
SAP HANA SPS09- Administration Monitoring
SAP Technology
 
PDF
SAP HANA SPS10- Security
SAP Technology
 
PDF
Sap hana installation_guide_en
Graciete Martins
 
PDF
SAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP Technology
 
PDF
Hana faq
Rahul Srivastava
 
PPTX
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
SAP Technology
 
PDF
SAP HANA 2.0 Cockpit Installation and Configuration.pdf
Yevilina Rizka
 
PDF
What's New in SAP HANA SPS 11 Operations
SAP Technology
 
PDF
Ibm db2 10.5 for linux, unix, and windows db2 connect user's guide
bupbechanhgmail
 
PDF
SAP HANA SPS09 - SAP HANA Workload Management
SAP Technology
 
PDF
Solution Manager 7.2 SAP Monitoring - Part 3 - Managed System Configuration
Linh Nguyen
 
PDF
SAP HANA SPS10- Hadoop Integration
SAP Technology
 
PDF
Ibm db2 10.5 for linux, unix, and windows what's new for db2 version 10.5
bupbechanhgmail
 
PPTX
HANA SPS07 LCM
SAP Technology
 
PDF
Quick beginning for db2 server
The Vision and Insight Corner
 
PPTX
SAP HANA SPS08 Platform Lifecycle Management
SAP Technology
 
PDF
[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
RUPAK BHATTACHARJEE
 
PDF
Hana e2 e_adminmonitoring_sps08
RAJAT123523
 
PDF
SAP HANA SPS10- SAP DB Control Center
SAP Technology
 
SAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation
Linh Nguyen
 
SAP HANA SPS09- Administration Monitoring
SAP Technology
 
SAP HANA SPS10- Security
SAP Technology
 
Sap hana installation_guide_en
Graciete Martins
 
SAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP Technology
 
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
SAP Technology
 
SAP HANA 2.0 Cockpit Installation and Configuration.pdf
Yevilina Rizka
 
What's New in SAP HANA SPS 11 Operations
SAP Technology
 
Ibm db2 10.5 for linux, unix, and windows db2 connect user's guide
bupbechanhgmail
 
SAP HANA SPS09 - SAP HANA Workload Management
SAP Technology
 
Solution Manager 7.2 SAP Monitoring - Part 3 - Managed System Configuration
Linh Nguyen
 
SAP HANA SPS10- Hadoop Integration
SAP Technology
 
Ibm db2 10.5 for linux, unix, and windows what's new for db2 version 10.5
bupbechanhgmail
 
HANA SPS07 LCM
SAP Technology
 
Quick beginning for db2 server
The Vision and Insight Corner
 
SAP HANA SPS08 Platform Lifecycle Management
SAP Technology
 
[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
RUPAK BHATTACHARJEE
 
Hana e2 e_adminmonitoring_sps08
RAJAT123523
 
SAP HANA SPS10- SAP DB Control Center
SAP Technology
 
Ad

Recently uploaded (20)

PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
PPTX
Employee salary prediction using Machine learning Project template.ppt
bhanuk27082004
 
PDF
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
PDF
Virtual Threads in Java: A New Dimension of Scalability and Performance
Tier1 app
 
PPTX
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
PDF
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
PDF
SAP GUI Installation Guide for macOS (iOS) | Connect to SAP Systems on Mac
SAP Vista, an A L T Z E N Company
 
PDF
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
PDF
Infrastructure planning and resilience - Keith Hastings.pptx.pdf
Safe Software
 
PDF
AI Image Enhancer: Revolutionizing Visual Quality”
docmasoom
 
PDF
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
PPTX
Presentation about Database and Database Administrator
abhishekchauhan86963
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PPT
Brief History of Python by Learning Python in three hours
adanechb21
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PPTX
TRAVEL APIs | WHITE LABEL TRAVEL API | TOP TRAVEL APIs
philipnathen82
 
PDF
Salesforce Pricing Update 2025: Impact, Strategy & Smart Cost Optimization wi...
GetOnCRM Solutions
 
PPTX
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
Employee salary prediction using Machine learning Project template.ppt
bhanuk27082004
 
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
Virtual Threads in Java: A New Dimension of Scalability and Performance
Tier1 app
 
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
SAP GUI Installation Guide for macOS (iOS) | Connect to SAP Systems on Mac
SAP Vista, an A L T Z E N Company
 
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
Infrastructure planning and resilience - Keith Hastings.pptx.pdf
Safe Software
 
AI Image Enhancer: Revolutionizing Visual Quality”
docmasoom
 
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
Presentation about Database and Database Administrator
abhishekchauhan86963
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
Brief History of Python by Learning Python in three hours
adanechb21
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
TRAVEL APIs | WHITE LABEL TRAVEL API | TOP TRAVEL APIs
philipnathen82
 
Salesforce Pricing Update 2025: Impact, Strategy & Smart Cost Optimization wi...
GetOnCRM Solutions
 
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 

SAP HANA 2 – Upgrade and Operations Part 1 - Exploring Features of the New Cockpit

  • 1. HANA 2 – Upgrade & Operations Part 1 Exploring Features of the new Cockpit • This is a collection of notes in upgrading to HANA 2 database and installing and exploring the new HANA 2 Cockpit. Steps and process were based on already publicly released documents and blogs • Some features were explored in previous blog HANA SPS12 Exploring New Features Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 1 Image courtesy of SAP SE
  • 2. References: Publications and OSS notes 1. SAP HANA2 Administration Guide 2. 2380257 - SAP HANA Platform 2.0 SPS 00 Release Note 3. 2380291 – SAP HANA 2.0 Cockpit Release Note 4. Presentations from SAP HANA International Focus Group Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 2
  • 3. Summary of Topics • Upgrade: Preparation, Update and Post-tasks • HANA2 Cockpit: • Installation • Configuration • Manager • Resources • Groups • Monitoring and Administration • Security • Offline Administration • Performance Management • Capture and Replay • SAP HANA Options Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 3
  • 4. Preparation • Operating System Requirements RHEL for SAP HANA 7.2, or SLES for SAP applications 12 SP1 • Make sure to update to the latest components to avoid error below The operating system is not ready to perform gcc 5 assemblies rpm package 'libgcc_s1' needs at least version 5.3.1. (current version = 5.2.1+r226025) rpm package 'libstdc++6' needs at least version 5.3.1. (current version = 5.2.1+r226025) For more information, see SAP Note 2338763. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 4
  • 5. Preparation – 2 • Download and Extracting the downloaded components Use hdblcm if the version has the option ‘- action=extract_components’ Another option is to download hdblcm_prepare.sh from OSS note 2078425 and run it. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 5
  • 6. Preparation - 3 The process of upgrading to HANA2 is similar to the normal SPS release upgrade. Note that there is a ‘minimal’ source system requirement to upgrade to HANA2. Some of the steps before the actual upgrade • Stop data replication • Stop the ABAP connected to the HANA system • As <sid>adm, stopsap R3 • Create a complete backup of the database. For MDC, systemDB and tenant DBs. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 6
  • 7. Database Update - 1 There are several ways of updating an SAP HANA System. The procedure used in this document used the command line As root, Go to the extracted folder containing the hdblcm /mnt/software/SAP/HANA2/extracted/SAP_HANA_DATABASE ./hdblcm -component_root=/mnt/software/SAP/HANA2 /extracted/SAP_HANA_DATABASE -install_hostagent=No (Note: the install_hostagent=No is to bypass installation of hostagent if it already has the latest version. Also, the SAP_HANA_DATABASE does not contain the hostagent binaries – so it just waits on ‘Preparing package ‘saphostagent setup’ if install_hostagent=No is not specified!) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 7
  • 8. Database Update - 2 Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 8
  • 9. Database Update – Post Tasks Brief ’standard’ upgrade post tasks • Update SAP HANA Client • Update SAP HANA Studio • Update of SAP HANA replication components • Update of BI clients • Database backup Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 9
  • 10. HANA2 Cockpit - Installation 1 • A new version of HANA Cockpit is delivered with HANA2. • In previous version, the HANA Cockpit is installed during the database version installation, through delivery unit. • HANA2 cockpit is installed using hdblcm, as a separated task - as ‘stand- alone’ – not directly linked to a specific database, and it can be used to administer and monitor several databases running on SAP HANA 2.0 or HANA 1.0 SPS12. • Note that some tasks still need to be done through HANA Studio Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 10 HANA2 Cockpit HANA2 SPS00 HANA1 SPS12
  • 11. HANA2 Cockpit – Installation 2 • The minimal requirement for HANA2 cockpit is 16Gb of memory, but suggest to have at least 32Gb • We recommended that you install HANA2 Cockpit on its own server. Installing it with another HANA database can cause memory and CPU contention – and can make the HANA database’s indexserver to hang • Note that with HANA2, the HANA Cockpit still appears in the HANA Studio. But invoking it it through HANA Studio will result with error below. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 11
  • 12. HANA2 Cockpit – Installation 3 • Download the HANA2 Cockpit package • Extract the package, in this example, hdblcm_prepare.sh is used. Note that since folder ‘extracted’ already exist, another folder ‘extracted1’ is created Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 12
  • 13. HANA2 Cockpit – Installation 4 • As root, go to the extract folder and run hdblcm ./hdblcm - component_roots=/mnt/software/SAP/HANA2/extracted1/co ckpit2_app -install_hostagent=No Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 13
  • 14. HANA2 Cockpit – Installation 5 Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 14
  • 15. HANA2 Cockpit – Installation 6 • Displaying HANA2 Cockpit services/process • HDB info • Using sapcontrol – note the extra processes XS Controller and XS UA Server Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 15
  • 16. Determining Cockpit ports - 1 • The installation log displays the port of HANA Cockpit and HANA Cockpit Manager. Another way of finding, as HANA Cockpit <sid>adm – Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 16
  • 17. Determining Cockpit ports - 2 • HANA cockpit is listed as ‘cockpit-web-app’ – 51021 • Cockpit manager is listed as ‘cockpit-admin-web-app’ – 51023 Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 17
  • 18. HANA Cockpit Manager (1) • URL is https://<server>:51023 • Login as COCKPIT_ADMIN, using the master password specified during the installation The HANA2 Cockpit is also a resource Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 18 A resource is an SAP HANA system, identified by a host and instance number, which may be a system- or tenant- database in a multitenant database container, or a single- or multi-host system in a single database container. .. From Administration Guide
  • 19. HANA Cockpit Manager (2) • The first time COCKPIT_ADMIN logs in, • Click Yes Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 19
  • 20. Resource Adding/Registering a resource 1. Create a ‘technical’ user in the ’resource’ system CREATE USER <username> PASSWORD <password> NO FORCE_FIRST_PASSWORD_CHANGE; GRANT CATALOG READ to <username>; GRANT SELECT on SCHEMA _SYS_STATISTICS to <username> ..And grant other appropriate roles Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 20
  • 21. Resource (2) 2. Specify resource details 3. Enter technical user and password Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 21 • For MDC, both SYSTEM and tenant DB should be registered • HANA Cockpit is also defined as resource
  • 22. Resource (3) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 22 Review, then Register Register each resource
  • 23. Groups Groups allows monitoring several systems in single view • Create groups per usage, type, version, etc. • Assign resource to a group Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 23 TIP • Create a group by usage • Create a user and assign specific group for administration, monitoring
  • 24. Resource and Groups Aggregate view of registered resources • This allows overview of any resource that may have issue Resource Directory Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 24 HANA Cockpit System DB and Tenant
  • 25. HANA Cockpit General sections in HANA Cockpit2 1. Monitoring and Administration 2. Security 3. Performance Management 4. SAP HANA Options In each application/tile, drill-down feature for more detail Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 25
  • 26. Monitoring and Administration (1) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 26 Hover and click on any tile to drill down for more detail For MDC, the app will be slightly different from SYSTEMDB and Tenant DB
  • 27. Monitoring and Administration (2) From MDC’s SYSTEMDB Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 27
  • 28. Monitoring and Administration (3) ALERT App – in the overview page, click on SHOW ALL Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 28 SORT, FILTERING GO TO ALTER CHECKER CONFIGURATION
  • 29. Monitoring and Administration(4) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 29 Click on an item to open the application LCM – Similar to the one in HANA Studio
  • 30. Administration - Configuring Alerts Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 30 Tool to configure alerts - Previously in HANA Studio only
  • 31. Administration – Workload and Performance The following topics were partially covered in previous blog HANA SPS12 Exploring New Features • Workload Class / Management • Monitor Performance Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 31
  • 32. Administration – Table Usage (access) Display read/write statistics, with two types of charts • Bubble Chart • Table Chart Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 32
  • 33. Administration – SQL plan cache Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 33
  • 34. Administration – User management • Tool to Edit, deactivate or Delete a user • Assign Roles Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 34
  • 35. Administration – Backup / Schedule The backup/schedule tile of HANA2 cockpit has two features • Create Backup within HANA cockpit  new feature • Backup schedule Management  first introduced in HANA1 SPS12, covered in the following blog HANA SPS12 Exploring New Features Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 35 See OSS note 2380291 for restrictions on backup and recovery through HANA Cockpit
  • 36. Administration - Manage Services Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 36 Tool to
  • 37. Configuration Manager Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 37 2. Comparing configuration change from previous snapshot 1. Configuring system environment/parameters Creating a regular snapshot for comparison when there are any change
  • 38. Life Cycle Management • Tool to Add Host Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 38
  • 39. Database Explorer • Tool to browse catalog and trace files Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 39
  • 40. Execute SQL • Tool to run SQL against an schema object Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 40 The tool checks the syntax while you are typing the SQL!
  • 41. Analyze SQL (1) SELECT * from SAPHNA.T005 Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 41 Tool to analyze SQL. See next slide
  • 42. Analyze SQL (2) Note that the Analyze SQL in HANA Cockpit is different from the HANA Studio’s EXPLAIN and Visualize Plan (below) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 42
  • 43. HANA Cockpit for Offline Administration Can be invoked through the online cockpit (under Administration) or directly through the URLs below http://host:1128/lmsl/hdbcockpit/SID/index.html https://host:1129/lmsl/hdbcockpit/SID/index.html Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 43
  • 44. HANA Cockpit Offline Admin – Systems Operations Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 44 Options
  • 45. HANA Cockpit Offline Admin – Diagnosis Files Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 45 Option to browse and download a trace file
  • 46. HANA Cockpit Offline Admin – Troubleshooting Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 46 Option to cancel a specific or ALL connection/transactions
  • 47. Performance Management Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 47
  • 48. Performance Management – Workload Analysis 1 Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 48 Several KPIs available for analysis
  • 49. Performance Management – Workload Analysis 2 Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 49 Application user, thread type, state lock and more service, thread type, state lock, and more Several dimension, services and KPIs to choose
  • 50. Capture and Replay (1) • This feature was initially presented in the following blog HANA SPS12 Exploring New Features New HANA2 options in Capture and Replay Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 50
  • 51. Capture and Replay (2) Capturing workload from one system and replaying into another system 1. In the source system, capture the workload 2. Preprocess the capture work 3. Copy the captured workload from the source to target systems’ trace folder Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 51
  • 52. Capture and Replay (3) 4. Login to the target system – the copied workload will be visible 5. Replay the workload in the target system Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 52
  • 53. SAP HANA Options and Security Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 53
  • 54. • Any Questions? • Contact Info: Linh Nguyen [email protected] Terry Kempis [email protected] Let itconductor.com @itconductor