SlideShare a Scribd company logo
1 of 26
SAP HANA Distributed System -
System Replication and DR
Diagram courtesy SAP SE
By OZSoft Consulting for ITConductor.com
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 1
Introduction
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 2
This presentation is a collection of notes taken while
configuring the System Replication (SR). It also includes:
• Notes taken while setting up multiple hosts and dynamic
tiering, in relation to system replication.
• Monitoring guides/notes and SAP-provided SQL monitoring
queries
• OZSOFT’s HANA Management Pack for SCOM Replication
Health Monitoring
System Replication is part of HANA’s high availability facility,
and also allows no business downtime when upgrading the
HANA server database.
References
For detailed steps in configuring the System Replication, refer
to the following:
Scale Out:
• http://www.itconductor.com/blog/sap-hana-distributed-
system-practical-guide-to-scale-out-ha-and-monitor-hana
System Replication:
• How to Perform System Replication for SAP HANA
• SAP HANA Administration Guide
Note – always download the latest version of the guide
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 3
Configuration / Setup (1)
• For complete list of prerequisites, refer to SAP HANA
Administration Guide
• A recent database backup should be created prior to starting
the set-up. For MDC, this include both system DB and tenant
database(s)
• Before starting the setup, review the following and decide
on an option to take. Refer to the Administration Guide.
- Synchronization mode options (sync | syncmem | async)
- Operation mode options (delta_datashipping | logreplay)
• Refer to the Administration guide on SR-related
configuration parameters
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 4
Configuration / Setup (2)
SR can be setup by the command line “hdbnsutil” or HANA Studio
Scenario – Dbname=HDB, instance number=00
• ozhanaitc as the primary system
• ozhdbdr1 as the secondary system
Command line used:
1. Enable SR, from primary system ozhanaitc
‘hdbnsutil -sr_enable -name=ozhanaitc’
2. Stop the secondary system using sapcontrol. From ozhdbdr1
‘sapcontrol -nr 00 -function StopSystem HDB’
3. Register the secondary system, from ozhdbdr1
‘hdbnsutil -sr_register -remoteHost=ozhanaitc -remoteInstance=00 -
mode=sync -name=ozhdbdr1’
4. Start the secondary system using sapcontrol. From ozhdbdr1
‘sapcontrol -nr 00 -function StartSystem HDB’
Once ozhdbdr1 is started, the replication process will start.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 5
Additional notes
• When setting the system replication (SR), recommend to use the physical
host name as the logical name/alias
• When using the “hdbnsutil” command to register the secondary system,
the mode syntax is ‘mode=xx’, not ‘replicationMode=xx’
• SR will overwrite the entire contents of the secondary system – this will
include all DB users. The password of the SYSTEM user in the secondary
system will be changed to the one in primary system
• When the SR is active
• The secondary system cannot be accessed on its application
interfaces, e.g. SQL port.
• Communication between primary and secondary system happens on
a set of ports reserved for SR
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 6
System Replication – status (1)
Viewing status of SR from HANA Studio
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 7
Ports
30,001 = systemDB
30040 and 30043 – for tenant DB
System Replication – status (2)
The main source of monitoring system replication is via view
M_SERVICE_REPLICATION. Click the link to get the columns
and description.
Replication STATUS from view M_SERVICE_REPLICATION.
Refer to the Administration Guide for graph/flow on the
status.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 8
Multiple Hosts (1)
• Prerequisite for distributed systems (i.e. multiple hosts) -
there should be matching ’worker’ hosts between the
primary and secondary systems.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 9
Primary system
ozhanaitc – primary host
ozhdbnode2 – standby host
ozhdbnode3 – worker host
Secondary System
ozhdbdr1 – secondary host
ozhdbdr3 – worker host
• Refer to HANA Administration Guide, section ‘Configuring Host Name
Resolution for SAP HANA System Replication’
• (Extract from SAP HANA Admin Guide) – ‘Implied – standby host on the
primary system need not be available on the secondary system.’
Multiple Hosts (2)
• If there is a primary host without a matching secondary host,
the data from the unmatched host will not be available after
a takeover.
• System Replication detects all the nodes of a multiple-host
system
• Up to SPS12, Dynamic Tiering hosts is not supported in the
System Replication.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 10
Multiple Hosts (3) – SR status from OS
If there is not a one-to-one host mapping.
• In the primary host (ozhanaitc), ‘not mapped’ is displayed.
• In the secondary host (ozhdbdr1), all primary hosts are
displayed
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 11
Multiple Hosts (4) – SR Status from HANA Studio
SR status display from HANA Studio
• The status will be green if each/all nodes in the primary
system with data has a matching host in the secondary
system
• The status will be ‘yellow’ if there is a host in the primary
with data that has no mapped host in the secondary system.
Unmapped host will have ‘Secondary_Host=Not mapped’
and ’Replication_Status=Unknown’.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 12
Disabling / Clean-up
There maybe a situation that the SR need to be disabled.
Briefly, required steps below, via HANA Studio or command
line “hdbnsutil”
• Stopping the secondary system
• Unregister the secondary system
• Disable the system replication from the primary system
Some issue encountered during ‘disabling/cleanup’
• In one case, doing the above steps does not properly ‘clean’ the SR entries, and a
‘hdbnsutil -sr_cleanup’ is needed.
• In one case, after trying to re-register the secondary system after a cleanup, the
process went into unending loop, used all the CPU, and kept increasing the log
storage. The action taken was to delete the data and log directories of the
secondary system.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 13
Standard System Replication Alerts
Reference: from SAP portal help System Replication Alerts
ID 78 - connection between systems in system replication closed
• Identifies close connection status between the primary and secondary
system. When this alert is raised, the replication is not happening.
• Alert rating = 4, check of frequency – 5 minutes
ID 79 - Configuration consistency of systems in system replication setup
• Identifies configuration parameter that is not consistent between the
primary and secondary system. It is important that both system have the
same parameter and values in case of takeover.
• Alert rating = 2, check of frequency – 2 minutes
Note that it is not possible to change the configuration parameter of the
secondary system through HANA Studio – need to edit it directly in the OS
side
There is a parameter to exclude checks on some parameter
There is a parameter to automatically synchronize parameters of the
secondary from the primary.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 14
Monitoring from HANA Studio
Overview Status
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 15
Note that the status is green even if some tenants are not active/stopped
The main source of the display is from table M_SERVICE_REPLICATION
Tenant DB that is stopped will not be replicated. Only after it is started and
a backup created that system replication will start
Monitoring – using SQL and SR view
• Public view M_SERVICE_REPLICATION contains all
information about replication services
• SAP-provided SQL queries
1969700 - SQL Statement Collection for SAP HANA – this
contain SQL collection, which include SR-related queries,
below
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 16
Check ID Details
1810 Services with replication error
1811 Services with unknown replication state
1813 Replication connection closed (last day)
1815 Current log shipping delay (s)
1816 Filling level of async shipping buffer (%)
1820 Parameter deviations primary vs. secondary site
1830 Age of oldest replication snapshot (h
Monitoring – SQL (1)
SQL queries extracted from OSS note 1969700
SQL equivalent to Alert 78
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 17
SQL CheckID 1815 – Log shipping delay
Monitoring – SQL (2)
SQL CheckID 1813 – replication connection closed (last 12 hours)
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 18
SQL CheckID 1815 – Log shipping delay
Monitoring – SQL (3)
SQL equivalent to Alert 78
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 19
SQL CheckID 1811 – Services with unknown replication state
Monitoring – SQL (4)
SQL report on severity of log shipping delay
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 20
OZSOFT HANA MP Dashboard - Replication Health (1)
OZSOFT HANA Management Pack for SCOM:
Dashboard, derived from M_SERVICE_REPLICATION
- Replication status
- Log Backlog
- Log Shipped Delta Size (in MB)
- Alerts
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 21
OZSOFT HANA MP Dashboard - Replication Health (2)
Status
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 22
OZSOFT HANA MP Dashboard - Replication Health (3)
In each dashboard, personalization is allowed to control
information displayed
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 23
Additional Documents
OSS notes
• 1999880 - FAQ: SAP HANA System Replication
• 2063657 - HANA System Replication takeover decision
guideline
• 2165547 - FAQ: SAP HANA Database Backup & Recovery in
an SAP HANA System Replication Landscape
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 24
What’s next
Topics for future blogs
- SAP HANA dynamic tiering – to include set-up, extended
storage, tenant database data provisioning, table definition
with extended storage, backup.
Author: Terry Kempis
Editor: Linh Nguyen
ITConductor.com 25
• 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

SAP HANA SPS09 - Backup and Recovery
SAP HANA SPS09 - Backup and RecoverySAP HANA SPS09 - Backup and Recovery
SAP HANA SPS09 - Backup and RecoverySAP Technology
 
Solution Manager 7.2 SAP Monitoring - Part 3 - Managed System Configuration
Solution Manager 7.2 SAP Monitoring - Part 3 - Managed System ConfigurationSolution Manager 7.2 SAP Monitoring - Part 3 - Managed System Configuration
Solution Manager 7.2 SAP Monitoring - Part 3 - Managed System ConfigurationLinh Nguyen
 
SAP BASIS Daily Monitoring T - codes
SAP BASIS Daily Monitoring T - codesSAP BASIS Daily Monitoring T - codes
SAP BASIS Daily Monitoring T - codesJitendra Ahir
 
Sap system-measurement-guide
Sap system-measurement-guideSap system-measurement-guide
Sap system-measurement-guideotchmarz
 
Apache Sentry for Hadoop security
Apache Sentry for Hadoop securityApache Sentry for Hadoop security
Apache Sentry for Hadoop securitybigdatagurus_meetup
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oraclesadegh salehi
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questionsKranthi Kumar
 
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 MonitoringLinh Nguyen
 
Autoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive ModeAutoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive ModeFlink Forward
 
Sap hana studio_overview
Sap hana studio_overviewSap hana studio_overview
Sap hana studio_overviewArun Singhania
 
SAP Single Sign-On 2.0 Overview
SAP Single Sign-On 2.0 OverviewSAP Single Sign-On 2.0 Overview
SAP Single Sign-On 2.0 OverviewSAP Technology
 
SSL Configuration within SAP HANA
SSL Configuration within SAP HANASSL Configuration within SAP HANA
SSL Configuration within SAP HANADebajit Banerjee
 

What's hot (20)

SAP HANA SPS09 - Backup and Recovery
SAP HANA SPS09 - Backup and RecoverySAP HANA SPS09 - Backup and Recovery
SAP HANA SPS09 - Backup and Recovery
 
Solution Manager 7.2 SAP Monitoring - Part 3 - Managed System Configuration
Solution Manager 7.2 SAP Monitoring - Part 3 - Managed System ConfigurationSolution Manager 7.2 SAP Monitoring - Part 3 - Managed System Configuration
Solution Manager 7.2 SAP Monitoring - Part 3 - Managed System Configuration
 
SAP HANA Overview
SAP HANA OverviewSAP HANA Overview
SAP HANA Overview
 
SAP BASIS Daily Monitoring T - codes
SAP BASIS Daily Monitoring T - codesSAP BASIS Daily Monitoring T - codes
SAP BASIS Daily Monitoring T - codes
 
SAP HANA Platform
SAP HANA Platform SAP HANA Platform
SAP HANA Platform
 
Sap system-measurement-guide
Sap system-measurement-guideSap system-measurement-guide
Sap system-measurement-guide
 
SAP HANA Overview
SAP HANA OverviewSAP HANA Overview
SAP HANA Overview
 
Apache Sentry for Hadoop security
Apache Sentry for Hadoop securityApache Sentry for Hadoop security
Apache Sentry for Hadoop security
 
SAP BI 7 security concepts
SAP BI 7 security conceptsSAP BI 7 security concepts
SAP BI 7 security concepts
 
Sap bw4 hana
Sap bw4 hanaSap bw4 hana
Sap bw4 hana
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oracle
 
HANA Modeling
HANA Modeling HANA Modeling
HANA Modeling
 
Ansible 101
Ansible 101Ansible 101
Ansible 101
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questions
 
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
 
Autoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive ModeAutoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive Mode
 
Sap hana studio_overview
Sap hana studio_overviewSap hana studio_overview
Sap hana studio_overview
 
SAP BTP Enablement
SAP BTP EnablementSAP BTP Enablement
SAP BTP Enablement
 
SAP Single Sign-On 2.0 Overview
SAP Single Sign-On 2.0 OverviewSAP Single Sign-On 2.0 Overview
SAP Single Sign-On 2.0 Overview
 
SSL Configuration within SAP HANA
SSL Configuration within SAP HANASSL Configuration within SAP HANA
SSL Configuration within SAP HANA
 

Similar to SAP HANA System Replication - Setup, Operations and HANA Monitoring

Managing and Monitoring HANA 2 active:active with System Replication
Managing and Monitoring HANA 2 active:active with System ReplicationManaging and Monitoring HANA 2 active:active with System Replication
Managing and Monitoring HANA 2 active:active with System ReplicationLinh Nguyen
 
Apache Apex Fault Tolerance and Processing Semantics
Apache Apex Fault Tolerance and Processing SemanticsApache Apex Fault Tolerance and Processing Semantics
Apache Apex Fault Tolerance and Processing SemanticsApache Apex
 
Fault Tolerance and Processing Semantics in Apache Apex
Fault Tolerance and Processing Semantics in Apache ApexFault Tolerance and Processing Semantics in Apache Apex
Fault Tolerance and Processing Semantics in Apache ApexApache Apex Organizer
 
Apache Apex Fault Tolerance and Processing Semantics
Apache Apex Fault Tolerance and Processing SemanticsApache Apex Fault Tolerance and Processing Semantics
Apache Apex Fault Tolerance and Processing SemanticsApache Apex
 
HA and DR Architecture for HANA on Power Deck - 2022-Nov-21.PPTX
HA and DR Architecture for HANA on Power Deck - 2022-Nov-21.PPTXHA and DR Architecture for HANA on Power Deck - 2022-Nov-21.PPTX
HA and DR Architecture for HANA on Power Deck - 2022-Nov-21.PPTXThinL389917
 
Sap basis administrator user guide
Sap basis administrator   user guideSap basis administrator   user guide
Sap basis administrator user guidePoguttuezhiniVP
 
How to shutdown and power up of the netapp cluster mode storage system
How to shutdown and power up of the netapp cluster mode storage systemHow to shutdown and power up of the netapp cluster mode storage system
How to shutdown and power up of the netapp cluster mode storage systemSaroj Sahu
 
SAP HANA Distributed System Scaleout and HA
SAP HANA Distributed System Scaleout and HASAP HANA Distributed System Scaleout and HA
SAP HANA Distributed System Scaleout and HALinh Nguyen
 
Oracle database 12c client quick installation guide 8
Oracle database 12c client quick installation guide 8Oracle database 12c client quick installation guide 8
Oracle database 12c client quick installation guide 8bupbechanhgmail
 
Heart of the SwarmKit: Store, Topology & Object Model
Heart of the SwarmKit: Store, Topology & Object ModelHeart of the SwarmKit: Store, Topology & Object Model
Heart of the SwarmKit: Store, Topology & Object ModelDocker, Inc.
 
February 2017 HUG: Exactly-once end-to-end processing with Apache Apex
February 2017 HUG: Exactly-once end-to-end processing with Apache ApexFebruary 2017 HUG: Exactly-once end-to-end processing with Apache Apex
February 2017 HUG: Exactly-once end-to-end processing with Apache ApexYahoo Developer Network
 
Interview questions
Interview questionsInterview questions
Interview questionsxavier john
 
Training Slides: 153 - Working with the CLI
Training Slides: 153 - Working with the CLITraining Slides: 153 - Working with the CLI
Training Slides: 153 - Working with the CLIContinuent
 
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud ControlMigrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud ControlLeighton Nelson
 
SAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation
SAP HANA 2 SPS02 Upgrade and Dynamic Tiering ImplementationSAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation
SAP HANA 2 SPS02 Upgrade and Dynamic Tiering ImplementationLinh Nguyen
 
Oracle database 12c client quick installation guide 7
Oracle database 12c client quick installation guide 7Oracle database 12c client quick installation guide 7
Oracle database 12c client quick installation guide 7bupbechanhgmail
 
sap basis transaction codes
sap basis transaction codessap basis transaction codes
sap basis transaction codesEOH SAP Services
 
SAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New FeaturesSAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New FeaturesLinh Nguyen
 
12c Database new features
12c Database new features12c Database new features
12c Database new featuresSandeep Redkar
 
Apache Apex: Stream Processing Architecture and Applications
Apache Apex: Stream Processing Architecture and ApplicationsApache Apex: Stream Processing Architecture and Applications
Apache Apex: Stream Processing Architecture and ApplicationsThomas Weise
 

Similar to SAP HANA System Replication - Setup, Operations and HANA Monitoring (20)

Managing and Monitoring HANA 2 active:active with System Replication
Managing and Monitoring HANA 2 active:active with System ReplicationManaging and Monitoring HANA 2 active:active with System Replication
Managing and Monitoring HANA 2 active:active with System Replication
 
Apache Apex Fault Tolerance and Processing Semantics
Apache Apex Fault Tolerance and Processing SemanticsApache Apex Fault Tolerance and Processing Semantics
Apache Apex Fault Tolerance and Processing Semantics
 
Fault Tolerance and Processing Semantics in Apache Apex
Fault Tolerance and Processing Semantics in Apache ApexFault Tolerance and Processing Semantics in Apache Apex
Fault Tolerance and Processing Semantics in Apache Apex
 
Apache Apex Fault Tolerance and Processing Semantics
Apache Apex Fault Tolerance and Processing SemanticsApache Apex Fault Tolerance and Processing Semantics
Apache Apex Fault Tolerance and Processing Semantics
 
HA and DR Architecture for HANA on Power Deck - 2022-Nov-21.PPTX
HA and DR Architecture for HANA on Power Deck - 2022-Nov-21.PPTXHA and DR Architecture for HANA on Power Deck - 2022-Nov-21.PPTX
HA and DR Architecture for HANA on Power Deck - 2022-Nov-21.PPTX
 
Sap basis administrator user guide
Sap basis administrator   user guideSap basis administrator   user guide
Sap basis administrator user guide
 
How to shutdown and power up of the netapp cluster mode storage system
How to shutdown and power up of the netapp cluster mode storage systemHow to shutdown and power up of the netapp cluster mode storage system
How to shutdown and power up of the netapp cluster mode storage system
 
SAP HANA Distributed System Scaleout and HA
SAP HANA Distributed System Scaleout and HASAP HANA Distributed System Scaleout and HA
SAP HANA Distributed System Scaleout and HA
 
Oracle database 12c client quick installation guide 8
Oracle database 12c client quick installation guide 8Oracle database 12c client quick installation guide 8
Oracle database 12c client quick installation guide 8
 
Heart of the SwarmKit: Store, Topology & Object Model
Heart of the SwarmKit: Store, Topology & Object ModelHeart of the SwarmKit: Store, Topology & Object Model
Heart of the SwarmKit: Store, Topology & Object Model
 
February 2017 HUG: Exactly-once end-to-end processing with Apache Apex
February 2017 HUG: Exactly-once end-to-end processing with Apache ApexFebruary 2017 HUG: Exactly-once end-to-end processing with Apache Apex
February 2017 HUG: Exactly-once end-to-end processing with Apache Apex
 
Interview questions
Interview questionsInterview questions
Interview questions
 
Training Slides: 153 - Working with the CLI
Training Slides: 153 - Working with the CLITraining Slides: 153 - Working with the CLI
Training Slides: 153 - Working with the CLI
 
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud ControlMigrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
 
SAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation
SAP HANA 2 SPS02 Upgrade and Dynamic Tiering ImplementationSAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation
SAP HANA 2 SPS02 Upgrade and Dynamic Tiering Implementation
 
Oracle database 12c client quick installation guide 7
Oracle database 12c client quick installation guide 7Oracle database 12c client quick installation guide 7
Oracle database 12c client quick installation guide 7
 
sap basis transaction codes
sap basis transaction codessap basis transaction codes
sap basis transaction codes
 
SAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New FeaturesSAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New Features
 
12c Database new features
12c Database new features12c Database new features
12c Database new features
 
Apache Apex: Stream Processing Architecture and Applications
Apache Apex: Stream Processing Architecture and ApplicationsApache Apex: Stream Processing Architecture and Applications
Apache Apex: Stream Processing Architecture and Applications
 

More from Linh Nguyen

Configuring and Monitoring HANA Extension Node
Configuring and Monitoring HANA Extension NodeConfiguring and Monitoring HANA Extension Node
Configuring and Monitoring HANA Extension NodeLinh Nguyen
 
S/4HANA Installation Quickstart Guide and Monitoring S/4HANA
S/4HANA Installation Quickstart Guide and Monitoring S/4HANAS/4HANA Installation Quickstart Guide and Monitoring S/4HANA
S/4HANA Installation Quickstart Guide and Monitoring S/4HANALinh Nguyen
 
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 MonitoringLinh Nguyen
 
SAP HANA Dynamic Tiering Test-drive
SAP HANA Dynamic Tiering Test-driveSAP HANA Dynamic Tiering Test-drive
SAP HANA Dynamic Tiering Test-driveLinh Nguyen
 
SAP HANA SPS12 Upgrade and Exploring New Features - Part 1
SAP HANA SPS12 Upgrade and Exploring New Features - Part 1SAP HANA SPS12 Upgrade and Exploring New Features - Part 1
SAP HANA SPS12 Upgrade and Exploring New Features - Part 1Linh Nguyen
 
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 SystemLinh Nguyen
 
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 & MigrationLinh Nguyen
 
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 SystemLinh Nguyen
 
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 & AutomationLinh Nguyen
 
Mastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload MonitoringMastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload MonitoringLinh Nguyen
 
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 EnvironmentLinh Nguyen
 
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 ManagementLinh Nguyen
 
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...Linh Nguyen
 
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)Linh Nguyen
 
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 ...Linh Nguyen
 
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 (...Linh Nguyen
 
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...Linh Nguyen
 

More from Linh Nguyen (17)

Configuring and Monitoring HANA Extension Node
Configuring and Monitoring HANA Extension NodeConfiguring and Monitoring HANA Extension Node
Configuring and Monitoring HANA Extension Node
 
S/4HANA Installation Quickstart Guide and Monitoring S/4HANA
S/4HANA Installation Quickstart Guide and Monitoring S/4HANAS/4HANA Installation Quickstart Guide and Monitoring S/4HANA
S/4HANA Installation Quickstart Guide and Monitoring S/4HANA
 
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
 
SAP HANA Dynamic Tiering Test-drive
SAP HANA Dynamic Tiering Test-driveSAP HANA Dynamic Tiering Test-drive
SAP HANA Dynamic Tiering Test-drive
 
SAP HANA SPS12 Upgrade and Exploring New Features - Part 1
SAP HANA SPS12 Upgrade and Exploring New Features - Part 1SAP HANA SPS12 Upgrade and Exploring New Features - Part 1
SAP HANA SPS12 Upgrade and Exploring New Features - Part 1
 
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
 
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 - 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...
 

Recently uploaded

Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Software Coding for software engineering
Software Coding for software engineeringSoftware Coding for software engineering
Software Coding for software engineeringssuserb3a23b
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 

Recently uploaded (20)

Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Software Coding for software engineering
Software Coding for software engineeringSoftware Coding for software engineering
Software Coding for software engineering
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Odoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting ServiceOdoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting Service
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 

SAP HANA System Replication - Setup, Operations and HANA Monitoring

  • 1. SAP HANA Distributed System - System Replication and DR Diagram courtesy SAP SE By OZSoft Consulting for ITConductor.com Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 1
  • 2. Introduction Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 2 This presentation is a collection of notes taken while configuring the System Replication (SR). It also includes: • Notes taken while setting up multiple hosts and dynamic tiering, in relation to system replication. • Monitoring guides/notes and SAP-provided SQL monitoring queries • OZSOFT’s HANA Management Pack for SCOM Replication Health Monitoring System Replication is part of HANA’s high availability facility, and also allows no business downtime when upgrading the HANA server database.
  • 3. References For detailed steps in configuring the System Replication, refer to the following: Scale Out: • http://www.itconductor.com/blog/sap-hana-distributed- system-practical-guide-to-scale-out-ha-and-monitor-hana System Replication: • How to Perform System Replication for SAP HANA • SAP HANA Administration Guide Note – always download the latest version of the guide Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 3
  • 4. Configuration / Setup (1) • For complete list of prerequisites, refer to SAP HANA Administration Guide • A recent database backup should be created prior to starting the set-up. For MDC, this include both system DB and tenant database(s) • Before starting the setup, review the following and decide on an option to take. Refer to the Administration Guide. - Synchronization mode options (sync | syncmem | async) - Operation mode options (delta_datashipping | logreplay) • Refer to the Administration guide on SR-related configuration parameters Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 4
  • 5. Configuration / Setup (2) SR can be setup by the command line “hdbnsutil” or HANA Studio Scenario – Dbname=HDB, instance number=00 • ozhanaitc as the primary system • ozhdbdr1 as the secondary system Command line used: 1. Enable SR, from primary system ozhanaitc ‘hdbnsutil -sr_enable -name=ozhanaitc’ 2. Stop the secondary system using sapcontrol. From ozhdbdr1 ‘sapcontrol -nr 00 -function StopSystem HDB’ 3. Register the secondary system, from ozhdbdr1 ‘hdbnsutil -sr_register -remoteHost=ozhanaitc -remoteInstance=00 - mode=sync -name=ozhdbdr1’ 4. Start the secondary system using sapcontrol. From ozhdbdr1 ‘sapcontrol -nr 00 -function StartSystem HDB’ Once ozhdbdr1 is started, the replication process will start. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 5
  • 6. Additional notes • When setting the system replication (SR), recommend to use the physical host name as the logical name/alias • When using the “hdbnsutil” command to register the secondary system, the mode syntax is ‘mode=xx’, not ‘replicationMode=xx’ • SR will overwrite the entire contents of the secondary system – this will include all DB users. The password of the SYSTEM user in the secondary system will be changed to the one in primary system • When the SR is active • The secondary system cannot be accessed on its application interfaces, e.g. SQL port. • Communication between primary and secondary system happens on a set of ports reserved for SR Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 6
  • 7. System Replication – status (1) Viewing status of SR from HANA Studio Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 7 Ports 30,001 = systemDB 30040 and 30043 – for tenant DB
  • 8. System Replication – status (2) The main source of monitoring system replication is via view M_SERVICE_REPLICATION. Click the link to get the columns and description. Replication STATUS from view M_SERVICE_REPLICATION. Refer to the Administration Guide for graph/flow on the status. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 8
  • 9. Multiple Hosts (1) • Prerequisite for distributed systems (i.e. multiple hosts) - there should be matching ’worker’ hosts between the primary and secondary systems. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 9 Primary system ozhanaitc – primary host ozhdbnode2 – standby host ozhdbnode3 – worker host Secondary System ozhdbdr1 – secondary host ozhdbdr3 – worker host • Refer to HANA Administration Guide, section ‘Configuring Host Name Resolution for SAP HANA System Replication’ • (Extract from SAP HANA Admin Guide) – ‘Implied – standby host on the primary system need not be available on the secondary system.’
  • 10. Multiple Hosts (2) • If there is a primary host without a matching secondary host, the data from the unmatched host will not be available after a takeover. • System Replication detects all the nodes of a multiple-host system • Up to SPS12, Dynamic Tiering hosts is not supported in the System Replication. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 10
  • 11. Multiple Hosts (3) – SR status from OS If there is not a one-to-one host mapping. • In the primary host (ozhanaitc), ‘not mapped’ is displayed. • In the secondary host (ozhdbdr1), all primary hosts are displayed Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 11
  • 12. Multiple Hosts (4) – SR Status from HANA Studio SR status display from HANA Studio • The status will be green if each/all nodes in the primary system with data has a matching host in the secondary system • The status will be ‘yellow’ if there is a host in the primary with data that has no mapped host in the secondary system. Unmapped host will have ‘Secondary_Host=Not mapped’ and ’Replication_Status=Unknown’. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 12
  • 13. Disabling / Clean-up There maybe a situation that the SR need to be disabled. Briefly, required steps below, via HANA Studio or command line “hdbnsutil” • Stopping the secondary system • Unregister the secondary system • Disable the system replication from the primary system Some issue encountered during ‘disabling/cleanup’ • In one case, doing the above steps does not properly ‘clean’ the SR entries, and a ‘hdbnsutil -sr_cleanup’ is needed. • In one case, after trying to re-register the secondary system after a cleanup, the process went into unending loop, used all the CPU, and kept increasing the log storage. The action taken was to delete the data and log directories of the secondary system. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 13
  • 14. Standard System Replication Alerts Reference: from SAP portal help System Replication Alerts ID 78 - connection between systems in system replication closed • Identifies close connection status between the primary and secondary system. When this alert is raised, the replication is not happening. • Alert rating = 4, check of frequency – 5 minutes ID 79 - Configuration consistency of systems in system replication setup • Identifies configuration parameter that is not consistent between the primary and secondary system. It is important that both system have the same parameter and values in case of takeover. • Alert rating = 2, check of frequency – 2 minutes Note that it is not possible to change the configuration parameter of the secondary system through HANA Studio – need to edit it directly in the OS side There is a parameter to exclude checks on some parameter There is a parameter to automatically synchronize parameters of the secondary from the primary. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 14
  • 15. Monitoring from HANA Studio Overview Status Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 15 Note that the status is green even if some tenants are not active/stopped The main source of the display is from table M_SERVICE_REPLICATION Tenant DB that is stopped will not be replicated. Only after it is started and a backup created that system replication will start
  • 16. Monitoring – using SQL and SR view • Public view M_SERVICE_REPLICATION contains all information about replication services • SAP-provided SQL queries 1969700 - SQL Statement Collection for SAP HANA – this contain SQL collection, which include SR-related queries, below Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 16 Check ID Details 1810 Services with replication error 1811 Services with unknown replication state 1813 Replication connection closed (last day) 1815 Current log shipping delay (s) 1816 Filling level of async shipping buffer (%) 1820 Parameter deviations primary vs. secondary site 1830 Age of oldest replication snapshot (h
  • 17. Monitoring – SQL (1) SQL queries extracted from OSS note 1969700 SQL equivalent to Alert 78 Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 17 SQL CheckID 1815 – Log shipping delay
  • 18. Monitoring – SQL (2) SQL CheckID 1813 – replication connection closed (last 12 hours) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 18 SQL CheckID 1815 – Log shipping delay
  • 19. Monitoring – SQL (3) SQL equivalent to Alert 78 Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 19 SQL CheckID 1811 – Services with unknown replication state
  • 20. Monitoring – SQL (4) SQL report on severity of log shipping delay Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 20
  • 21. OZSOFT HANA MP Dashboard - Replication Health (1) OZSOFT HANA Management Pack for SCOM: Dashboard, derived from M_SERVICE_REPLICATION - Replication status - Log Backlog - Log Shipped Delta Size (in MB) - Alerts Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 21
  • 22. OZSOFT HANA MP Dashboard - Replication Health (2) Status Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 22
  • 23. OZSOFT HANA MP Dashboard - Replication Health (3) In each dashboard, personalization is allowed to control information displayed Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 23
  • 24. Additional Documents OSS notes • 1999880 - FAQ: SAP HANA System Replication • 2063657 - HANA System Replication takeover decision guideline • 2165547 - FAQ: SAP HANA Database Backup & Recovery in an SAP HANA System Replication Landscape Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 24
  • 25. What’s next Topics for future blogs - SAP HANA dynamic tiering – to include set-up, extended storage, tenant database data provisioning, table definition with extended storage, backup. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 25
  • 26. • Any Questions? • Contact Info: Linh Nguyen linh.nguyen@itconductor.com Terry Kempis terry.kempis@itconductor.com Let itconductor.com @itconductor