SlideShare une entreprise Scribd logo
1  sur  44
SAP HANA 2 SPS02 Upgrade and Dynamic
Tiering Implementation
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 1
SAP HANA 2 SPS02
SAP HANA 2 SPS02 Upgrade and Dynamic
Tiering Implementation
This is a compilation of notes taken while doing the upgrade of
HANA 2 SPS00 server and COCKPIT to SPS02, followed by
installation/implementation of Dynamic Tiering.
with
Enhanced SAP HANA Monitoring by IT-Conductor
By OZSoft Consulting for ITConductor.com
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 2
Introduction (1)
In previous work, HANA 1.0 SPS12 was upgraded to HANA 2 SPS00 –
presented in the following document
‘Manager and Monitoring SAP HANA2 Active:Active System Replication’
In that exercise, we explored new features of HANA 2 SPS00, such as
system replication – the ‘active:active read-enabled, allowing read-only
queries on secondary system’s tables using the new operation mode
‘logreplay_readaccess’
Dynamic tiering was not included in that upgrade due to restriction of not
being able to use logreplay_readaccess if dynamic tiering is
installed/implemented.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 3
Introduction (2)
In this exercise, the following steps were performed
• Upgrade of both primary and secondary databases to SPS02,
using ‘Near Zero Downtime Upgrade’ option
• Upgrade of HANA cockpit
• Installation and data provisioning of Dynamic Tiering (SPS02)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 4
Introduction (3)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 5
HANA 2 Cockpit
SID:H4C
OZHANA202
HANA 2 Primary
System
SID: HDB
OZHANA201
HANA 2 Secondary
SYSTEM
SID: HDB
OZHANA2DR1
System Replication
No Dynamic Tiering
Current HANA 2 SPS00 landscape
Introduction (4)
In HANA 2 SPS02, SR with operation mode ‘logreplay_readaccess’ is possible with
Dynamic Tiering (DT) active – but read on DT tables not possible.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 6
HANA 2 Cockpit
SID:H4C
OZHANA202
HANA 2 Primary
System
SID: HDB
OZHANA201
(with Dynamic
Tiering)
HANA 2 Secondary
SYSTEM
SID: HDB
OZHANA2DR1
(with Dynamic
Tiering)
System Replication
Target HANA 2 SPS02 landscape
References
• SAP Published Guides
• SAP JAM – HANA 2 forum presentations
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 7
HANA server upgrade (1)
Reference: SAP HANA Administration guide, section ‘Near Zero Downtime
Upgrade’
Media:
1. Extract:
2. Define the takeover user MY_REPO_IMPORT_USER in the
primary system – then it will be replicated to the
secondary system
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 8
3. Set user store for the takeover user, in both primary and
secondary servers
‘hdbuserstore SET SRTAKEOVER ozhana201:30015
MY_REPO_IMPORT_USER MyRepoUserPW1’
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 9
HANA server upgrade (2)
HANA server upgrade (3)
4. Upgrade the secondary system, as root
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 10
HANA server upgrade (4)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 11
HANA server upgrade (5)
Secondary system - Post-upgrade status
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 12
HANA server upgrade (6)
5. Wait until the secondary system is in sync, through HANA
Studio or through view M_SYSTEM_REPLICATION
6. Stop the primary system
7. From the secondary system, perform a takeover
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 13
HANA server upgrade (7)
8. Upgrade the primary system, as root
./hdblcm -action=update -hdbupd_server_nostart
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 14
HANA server upgrade (8)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 15
HANA server upgrade (9)
Post-upgrade of Primary system
9. Register the previous primary as secondary system
10. Start primary system, display status
‘sapcontrol -nr 00 -function StartSystem HDB’
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 16
HANA server upgrade (10)
10. Wait until previous primary is fully synchronized. From
ozhanadr1.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 17
HANA server upgrade (11)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 18
If desired, perform takeover from the previous primary to become primary again.
SR status from Primary after takeover/synchronization
HANA server upgrade (13)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 19
SR status from Secondary after primary has taken over
HANA server upgrade (14)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 20
Services
From Primary ozhana201
From Secondary ozhana2dr1
HANA 2 Cockpit
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 21
HANA Cockpit upgrade (1)
Media
Extraction
./hdblcm --action=extract_components
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 22
HANA Cockpit upgrade (2)
./hdblcm.sh
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 23
HANA Cockpit upgrade (3)
Registered resources in HANA Cockpit
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 24
HANA 2 Dynamic Tiering
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 25
Dynamic Tiering (1)
In the previous HANA2 SPS00 setup, read-enabled active:active secondary
system was active, but dynamic tiering was not configured due to
restriction.
With SPS02, dynamic tiering is now allowed with the read-enabled
active:active secondary system.
Extract from the Administration Guide
•SP 00 and 01: If dynamic tiering is part of the landscape, the site does not allow active/active
support, even for SAP HANA services.
•SP 02: (Changed) If active/active (read enabled) is used with dynamic tiering services, there
is no read access to dynamic tiering data on the secondary site. When dynamic tiering is part
of landscape, active RO access is allowed using operation mode logreplay_readaccess on
other HANA services (IS) but without dynamic tiering access. (A query that accesses data on
secondary dynamic tiering returns an error.)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 26
Dynamic Tiering (2)
Installation of Dynamic Tiering
Media used
Extract the media using hdblcm
‘hdblcm –action=extract_components
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 27
Dynamic Tiering (3)
Installation, as root
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 28
Dynamic Tiering (4)
After the installation, add extended storage role to the
primary server (same host deployment)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 29
Dynamic Tiering (5)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 30
Dynamic Tiering (6)
ESSERVER service now appears
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 31
Dynamic Tiering (7)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 32
Esserver will remain as
‘utility’ in the system
DB until it is
‘provisioned’ to a
tenant
Dynamic Tiering (8)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 33
HANA COCKPIT view
Dynamic Tiering (9)
Assign the esserver to a tenant DB
Create extended storage using HANA Cockpit
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 34
Dynamic Tiering (10)
Created DBSPACE files – refer to Dynamic Tiering Admin
Guide, section ‘DBSpace sizing’
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 35
Dynamic Tiering (11)
Create a backup of the tenant to start the system replication
for that tenant
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 36
System Replication with Dynamic Tiering
From HANA Cockpit
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 37
HANA 2 Monitoring with
IT-Conductor
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 38
IT-Conductor Monitoring (1)
IT-Conductor monitors both Primary and Secondary
landscapes, in HANA database level and Linux server
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 39
IT-Conductor Monitoring (2)
Each database, SYSTEMDB and tenant DB, is monitored as
separate application services
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 40
Alert is raised, and
email sent on
availability on each DB,
depending
configurable
thresholds
IT-Conductor Monitoring (3)
After installation/implementation of Dynamic Tiering,
IT-Conductor automatically ‘discovers’ the new essserver
service - there is no manual configuration required
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 41
IT-Conductor Monitoring (4)
The HANA Cockpit is monitored on the server level, just like
other LINUX servers
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 42
Alert on the HANA cockpit availability
is raised, based on configurable
thresholds
Summary
With system replication active, systems can be upgraded
following the ‘near-zero downtime upgrade’, as described in
the administration guide.
IT-Conductor monitoring tool:
- Automatically ‘discovers’ the new service ‘esserver’ after the
dynamic tiering installation/implementation
- Both primary and secondary databases (SYSTEMDB and
tenant DBs) are monitored, including host servers
- HANA Cockpit is monitored from the host server
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 43
• Any Questions?
• Contact Info:
Linh Nguyen linh.nguyen@itconductor.com
Terry Kempis terry.kempis@itconductor.com
Let
itconductor.com
@itconductor

Contenu connexe

Tendances

Openstack upgrade without_down_time_20141103r1
Openstack upgrade without_down_time_20141103r1Openstack upgrade without_down_time_20141103r1
Openstack upgrade without_down_time_20141103r1
Yankai Liu
 
Wally Mead - Upgrading to system center 2012 r2 configuration manager
Wally Mead - Upgrading to system center 2012 r2 configuration managerWally Mead - Upgrading to system center 2012 r2 configuration manager
Wally Mead - Upgrading to system center 2012 r2 configuration manager
Nordic Infrastructure Conference
 

Tendances (20)

SAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New FeaturesSAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New Features
 
E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administrators
 
Oracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical Discussion
Oracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical DiscussionOracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical Discussion
Oracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical Discussion
 
SQL Server Database Migration
SQL Server Database MigrationSQL Server Database Migration
SQL Server Database Migration
 
IUG ATL PC 9.5
IUG ATL PC 9.5IUG ATL PC 9.5
IUG ATL PC 9.5
 
Dmv's & Performance Monitor in SQL Server
Dmv's & Performance Monitor in SQL ServerDmv's & Performance Monitor in SQL Server
Dmv's & Performance Monitor in SQL Server
 
Automate SAP HANA System Replication with Veritas InfoScale Availability
Automate SAP HANA System Replication with Veritas InfoScale AvailabilityAutomate SAP HANA System Replication with Veritas InfoScale Availability
Automate SAP HANA System Replication with Veritas InfoScale Availability
 
R12 d49656 gc10-apps dba 08
R12 d49656 gc10-apps dba 08R12 d49656 gc10-apps dba 08
R12 d49656 gc10-apps dba 08
 
The Top 5 Practices of a Highly Successful ChangeMan ZMF Administrator
The Top 5 Practices of a Highly Successful ChangeMan ZMF AdministratorThe Top 5 Practices of a Highly Successful ChangeMan ZMF Administrator
The Top 5 Practices of a Highly Successful ChangeMan ZMF Administrator
 
Serena Mainframe VUG: What's new in ChangeMan ZMF 8.1
Serena Mainframe VUG: What's new in ChangeMan ZMF 8.1Serena Mainframe VUG: What's new in ChangeMan ZMF 8.1
Serena Mainframe VUG: What's new in ChangeMan ZMF 8.1
 
Monitoring and Tuning Oracle FMW 11g
Monitoring and Tuning Oracle FMW 11gMonitoring and Tuning Oracle FMW 11g
Monitoring and Tuning Oracle FMW 11g
 
Power point 707 tips on successfully upgrading apps 11i for the non apps dba
Power point 707 tips on successfully upgrading apps 11i for the non apps dbaPower point 707 tips on successfully upgrading apps 11i for the non apps dba
Power point 707 tips on successfully upgrading apps 11i for the non apps dba
 
SAP LVM Post Copy Automation Integration
SAP LVM Post Copy Automation IntegrationSAP LVM Post Copy Automation Integration
SAP LVM Post Copy Automation Integration
 
R12 d49656 gc10-apps dba 01
R12 d49656 gc10-apps dba 01R12 d49656 gc10-apps dba 01
R12 d49656 gc10-apps dba 01
 
SAP LVM Integration with SAP BPA
SAP LVM Integration with SAP BPASAP LVM Integration with SAP BPA
SAP LVM Integration with SAP BPA
 
R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26
 
Rolta’s application testing services for handling ever changing environment.
Rolta’s application testing services for handling ever changing environment.   Rolta’s application testing services for handling ever changing environment.
Rolta’s application testing services for handling ever changing environment.
 
Openstack upgrade without_down_time_20141103r1
Openstack upgrade without_down_time_20141103r1Openstack upgrade without_down_time_20141103r1
Openstack upgrade without_down_time_20141103r1
 
Wally Mead - Upgrading to system center 2012 r2 configuration manager
Wally Mead - Upgrading to system center 2012 r2 configuration managerWally Mead - Upgrading to system center 2012 r2 configuration manager
Wally Mead - Upgrading to system center 2012 r2 configuration manager
 
SOA_BPM_12c_launch_event_SOA_track_deepdive_developerproductivityandperforman...
SOA_BPM_12c_launch_event_SOA_track_deepdive_developerproductivityandperforman...SOA_BPM_12c_launch_event_SOA_track_deepdive_developerproductivityandperforman...
SOA_BPM_12c_launch_event_SOA_track_deepdive_developerproductivityandperforman...
 

Similaire à SAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation

11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...
11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...
11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...
ssuser9dce1e1
 

Similaire à SAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation (20)

BW Migration to HANA Part 3 - Post-processing on the Migrated System
BW Migration to HANA Part 3 - Post-processing on the Migrated SystemBW Migration to HANA Part 3 - Post-processing on the Migrated System
BW Migration to HANA Part 3 - Post-processing on the Migrated System
 
BW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & Migration
BW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & MigrationBW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & Migration
BW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & Migration
 
Technical upgrade new slides.pptx
Technical upgrade new slides.pptxTechnical upgrade new slides.pptx
Technical upgrade new slides.pptx
 
Webinar: Linux administration : Past, Present and Is the Future
Webinar: Linux administration : Past, Present and Is the FutureWebinar: Linux administration : Past, Present and Is the Future
Webinar: Linux administration : Past, Present and Is the Future
 
SAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
SAP HANA 2 – Dynamic Tiering Overview including HANA MonitoringSAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
SAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
 
A journey from oracle e
A journey from oracle eA journey from oracle e
A journey from oracle e
 
Introduction to AirWave 10
Introduction to AirWave 10Introduction to AirWave 10
Introduction to AirWave 10
 
Security Updates: More Seamless Access Controls with Apache Spark and Apache ...
Security Updates: More Seamless Access Controls with Apache Spark and Apache ...Security Updates: More Seamless Access Controls with Apache Spark and Apache ...
Security Updates: More Seamless Access Controls with Apache Spark and Apache ...
 
Collaborate2
Collaborate2Collaborate2
Collaborate2
 
Upgrade Guide for ESM 6.8c
Upgrade Guide for ESM 6.8cUpgrade Guide for ESM 6.8c
Upgrade Guide for ESM 6.8c
 
Zone_Subscription_Update_Guide.pdf
Zone_Subscription_Update_Guide.pdfZone_Subscription_Update_Guide.pdf
Zone_Subscription_Update_Guide.pdf
 
Flink Forward San Francisco 2018 keynote: Stephan Ewen - "What turns stream p...
Flink Forward San Francisco 2018 keynote: Stephan Ewen - "What turns stream p...Flink Forward San Francisco 2018 keynote: Stephan Ewen - "What turns stream p...
Flink Forward San Francisco 2018 keynote: Stephan Ewen - "What turns stream p...
 
Autoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive ModeAutoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive Mode
 
Apache Zeppelin on Kubernetes with Spark and Kafka - meetup @twitter
Apache Zeppelin on Kubernetes with Spark and Kafka - meetup @twitterApache Zeppelin on Kubernetes with Spark and Kafka - meetup @twitter
Apache Zeppelin on Kubernetes with Spark and Kafka - meetup @twitter
 
Modernize deployment pipeline
Modernize deployment pipelineModernize deployment pipeline
Modernize deployment pipeline
 
11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...
11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...
11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...
 
2009-05-05 A Customer's Perspective on Making Enterprise Linux Deployable, Sc...
2009-05-05 A Customer's Perspective on Making Enterprise Linux Deployable, Sc...2009-05-05 A Customer's Perspective on Making Enterprise Linux Deployable, Sc...
2009-05-05 A Customer's Perspective on Making Enterprise Linux Deployable, Sc...
 
SAP HANA Dynamic Tiering Test-drive
SAP HANA Dynamic Tiering Test-driveSAP HANA Dynamic Tiering Test-drive
SAP HANA Dynamic Tiering Test-drive
 
Ebs upgrade-to-12.2 technical-upgrade_best_practices
Ebs upgrade-to-12.2 technical-upgrade_best_practicesEbs upgrade-to-12.2 technical-upgrade_best_practices
Ebs upgrade-to-12.2 technical-upgrade_best_practices
 
Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)
Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)
Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)
 

Plus de Linh Nguyen

Plus de Linh Nguyen (12)

Solution Manager 7.2 SAP Monitoring - Part 2 - Configuration
Solution Manager 7.2 SAP Monitoring - Part 2 - ConfigurationSolution Manager 7.2 SAP Monitoring - Part 2 - Configuration
Solution Manager 7.2 SAP Monitoring - Part 2 - Configuration
 
BW Migration to HANA Part1 - Preparation in BW System
BW Migration to HANA Part1 - Preparation in BW SystemBW Migration to HANA Part1 - Preparation in BW System
BW Migration to HANA Part1 - Preparation in BW System
 
Mastering SAP Monitoring - SAP HANA Monitoring, Management & Automation
Mastering SAP Monitoring - SAP HANA Monitoring, Management & AutomationMastering SAP Monitoring - SAP HANA Monitoring, Management & Automation
Mastering SAP Monitoring - SAP HANA Monitoring, Management & Automation
 
Mastering SAP Monitoring - SAP SLT & RFC Connection Monitoring
Mastering SAP Monitoring - SAP SLT & RFC Connection MonitoringMastering SAP Monitoring - SAP SLT & RFC Connection Monitoring
Mastering SAP Monitoring - SAP SLT & RFC Connection Monitoring
 
Mastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload MonitoringMastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload Monitoring
 
Mastering SAP Monitoring - Determining the Health of your SAP Environment
Mastering SAP Monitoring - Determining the Health of your SAP EnvironmentMastering SAP Monitoring - Determining the Health of your SAP Environment
Mastering SAP Monitoring - Determining the Health of your SAP Environment
 
10 Ways to Better Application-Centric Service Management
10 Ways to Better Application-Centric Service Management10 Ways to Better Application-Centric Service Management
10 Ways to Better Application-Centric Service Management
 
Solution Manager Technical Monitoring - SAP BOBJ BI 4.0 (Part 3 of 3 - Manage...
Solution Manager Technical Monitoring - SAP BOBJ BI 4.0 (Part 3 of 3 - Manage...Solution Manager Technical Monitoring - SAP BOBJ BI 4.0 (Part 3 of 3 - Manage...
Solution Manager Technical Monitoring - SAP BOBJ BI 4.0 (Part 3 of 3 - Manage...
 
Solution Manager Technical Monitoring - BOBJ (Part 2 of 3 - Auto-Configure)
Solution Manager Technical Monitoring - BOBJ (Part 2 of 3 - Auto-Configure)Solution Manager Technical Monitoring - BOBJ (Part 2 of 3 - Auto-Configure)
Solution Manager Technical Monitoring - BOBJ (Part 2 of 3 - Auto-Configure)
 
Solution Manager - SAP NW BW on HANA Setup Part 3 of 3 (Technical Monitoring ...
Solution Manager - SAP NW BW on HANA Setup Part 3 of 3 (Technical Monitoring ...Solution Manager - SAP NW BW on HANA Setup Part 3 of 3 (Technical Monitoring ...
Solution Manager - SAP NW BW on HANA Setup Part 3 of 3 (Technical Monitoring ...
 
Solution Manager Technical Monitoring - SAP NW BW on HANA Setup Part 2 of 3 (...
Solution Manager Technical Monitoring - SAP NW BW on HANA Setup Part 2 of 3 (...Solution Manager Technical Monitoring - SAP NW BW on HANA Setup Part 2 of 3 (...
Solution Manager Technical Monitoring - SAP NW BW on HANA Setup Part 2 of 3 (...
 
SAP Solution Manager - Netweaver on HANA Monitoring Setup Part 1 of 3 (Prepar...
SAP Solution Manager - Netweaver on HANA Monitoring Setup Part 1 of 3 (Prepar...SAP Solution Manager - Netweaver on HANA Monitoring Setup Part 1 of 3 (Prepar...
SAP Solution Manager - Netweaver on HANA Monitoring Setup Part 1 of 3 (Prepar...
 

Dernier

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Dernier (20)

Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 

SAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation

  • 1. SAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 1 SAP HANA 2 SPS02
  • 2. SAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation This is a compilation of notes taken while doing the upgrade of HANA 2 SPS00 server and COCKPIT to SPS02, followed by installation/implementation of Dynamic Tiering. with Enhanced SAP HANA Monitoring by IT-Conductor By OZSoft Consulting for ITConductor.com Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 2
  • 3. Introduction (1) In previous work, HANA 1.0 SPS12 was upgraded to HANA 2 SPS00 – presented in the following document ‘Manager and Monitoring SAP HANA2 Active:Active System Replication’ In that exercise, we explored new features of HANA 2 SPS00, such as system replication – the ‘active:active read-enabled, allowing read-only queries on secondary system’s tables using the new operation mode ‘logreplay_readaccess’ Dynamic tiering was not included in that upgrade due to restriction of not being able to use logreplay_readaccess if dynamic tiering is installed/implemented. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 3
  • 4. Introduction (2) In this exercise, the following steps were performed • Upgrade of both primary and secondary databases to SPS02, using ‘Near Zero Downtime Upgrade’ option • Upgrade of HANA cockpit • Installation and data provisioning of Dynamic Tiering (SPS02) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 4
  • 5. Introduction (3) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 5 HANA 2 Cockpit SID:H4C OZHANA202 HANA 2 Primary System SID: HDB OZHANA201 HANA 2 Secondary SYSTEM SID: HDB OZHANA2DR1 System Replication No Dynamic Tiering Current HANA 2 SPS00 landscape
  • 6. Introduction (4) In HANA 2 SPS02, SR with operation mode ‘logreplay_readaccess’ is possible with Dynamic Tiering (DT) active – but read on DT tables not possible. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 6 HANA 2 Cockpit SID:H4C OZHANA202 HANA 2 Primary System SID: HDB OZHANA201 (with Dynamic Tiering) HANA 2 Secondary SYSTEM SID: HDB OZHANA2DR1 (with Dynamic Tiering) System Replication Target HANA 2 SPS02 landscape
  • 7. References • SAP Published Guides • SAP JAM – HANA 2 forum presentations Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 7
  • 8. HANA server upgrade (1) Reference: SAP HANA Administration guide, section ‘Near Zero Downtime Upgrade’ Media: 1. Extract: 2. Define the takeover user MY_REPO_IMPORT_USER in the primary system – then it will be replicated to the secondary system Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 8
  • 9. 3. Set user store for the takeover user, in both primary and secondary servers ‘hdbuserstore SET SRTAKEOVER ozhana201:30015 MY_REPO_IMPORT_USER MyRepoUserPW1’ Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 9 HANA server upgrade (2)
  • 10. HANA server upgrade (3) 4. Upgrade the secondary system, as root Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 10
  • 11. HANA server upgrade (4) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 11
  • 12. HANA server upgrade (5) Secondary system - Post-upgrade status Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 12
  • 13. HANA server upgrade (6) 5. Wait until the secondary system is in sync, through HANA Studio or through view M_SYSTEM_REPLICATION 6. Stop the primary system 7. From the secondary system, perform a takeover Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 13
  • 14. HANA server upgrade (7) 8. Upgrade the primary system, as root ./hdblcm -action=update -hdbupd_server_nostart Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 14
  • 15. HANA server upgrade (8) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 15
  • 16. HANA server upgrade (9) Post-upgrade of Primary system 9. Register the previous primary as secondary system 10. Start primary system, display status ‘sapcontrol -nr 00 -function StartSystem HDB’ Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 16
  • 17. HANA server upgrade (10) 10. Wait until previous primary is fully synchronized. From ozhanadr1. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 17
  • 18. HANA server upgrade (11) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 18 If desired, perform takeover from the previous primary to become primary again. SR status from Primary after takeover/synchronization
  • 19. HANA server upgrade (13) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 19 SR status from Secondary after primary has taken over
  • 20. HANA server upgrade (14) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 20 Services From Primary ozhana201 From Secondary ozhana2dr1
  • 21. HANA 2 Cockpit Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 21
  • 22. HANA Cockpit upgrade (1) Media Extraction ./hdblcm --action=extract_components Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 22
  • 23. HANA Cockpit upgrade (2) ./hdblcm.sh Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 23
  • 24. HANA Cockpit upgrade (3) Registered resources in HANA Cockpit Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 24
  • 25. HANA 2 Dynamic Tiering Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 25
  • 26. Dynamic Tiering (1) In the previous HANA2 SPS00 setup, read-enabled active:active secondary system was active, but dynamic tiering was not configured due to restriction. With SPS02, dynamic tiering is now allowed with the read-enabled active:active secondary system. Extract from the Administration Guide •SP 00 and 01: If dynamic tiering is part of the landscape, the site does not allow active/active support, even for SAP HANA services. •SP 02: (Changed) If active/active (read enabled) is used with dynamic tiering services, there is no read access to dynamic tiering data on the secondary site. When dynamic tiering is part of landscape, active RO access is allowed using operation mode logreplay_readaccess on other HANA services (IS) but without dynamic tiering access. (A query that accesses data on secondary dynamic tiering returns an error.) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 26
  • 27. Dynamic Tiering (2) Installation of Dynamic Tiering Media used Extract the media using hdblcm ‘hdblcm –action=extract_components Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 27
  • 28. Dynamic Tiering (3) Installation, as root Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 28
  • 29. Dynamic Tiering (4) After the installation, add extended storage role to the primary server (same host deployment) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 29
  • 30. Dynamic Tiering (5) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 30
  • 31. Dynamic Tiering (6) ESSERVER service now appears Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 31
  • 32. Dynamic Tiering (7) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 32 Esserver will remain as ‘utility’ in the system DB until it is ‘provisioned’ to a tenant
  • 33. Dynamic Tiering (8) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 33 HANA COCKPIT view
  • 34. Dynamic Tiering (9) Assign the esserver to a tenant DB Create extended storage using HANA Cockpit Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 34
  • 35. Dynamic Tiering (10) Created DBSPACE files – refer to Dynamic Tiering Admin Guide, section ‘DBSpace sizing’ Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 35
  • 36. Dynamic Tiering (11) Create a backup of the tenant to start the system replication for that tenant Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 36
  • 37. System Replication with Dynamic Tiering From HANA Cockpit Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 37
  • 38. HANA 2 Monitoring with IT-Conductor Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 38
  • 39. IT-Conductor Monitoring (1) IT-Conductor monitors both Primary and Secondary landscapes, in HANA database level and Linux server Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 39
  • 40. IT-Conductor Monitoring (2) Each database, SYSTEMDB and tenant DB, is monitored as separate application services Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 40 Alert is raised, and email sent on availability on each DB, depending configurable thresholds
  • 41. IT-Conductor Monitoring (3) After installation/implementation of Dynamic Tiering, IT-Conductor automatically ‘discovers’ the new essserver service - there is no manual configuration required Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 41
  • 42. IT-Conductor Monitoring (4) The HANA Cockpit is monitored on the server level, just like other LINUX servers Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 42 Alert on the HANA cockpit availability is raised, based on configurable thresholds
  • 43. Summary With system replication active, systems can be upgraded following the ‘near-zero downtime upgrade’, as described in the administration guide. IT-Conductor monitoring tool: - Automatically ‘discovers’ the new service ‘esserver’ after the dynamic tiering installation/implementation - Both primary and secondary databases (SYSTEMDB and tenant DBs) are monitored, including host servers - HANA Cockpit is monitored from the host server Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 43
  • 44. • Any Questions? • Contact Info: Linh Nguyen linh.nguyen@itconductor.com Terry Kempis terry.kempis@itconductor.com Let itconductor.com @itconductor