SAP HANA System Replication Company

SAP HANA System Replication Company

PUBLIC SAP HANA Platform 2.0 SPS 04 Document Version: 1.1 – 2019-10-31 SAP HANA System Replication company. All rights reserved. All rights company. affiliate THE BEST RUN 2019 SAP SE or an SAP SE or an SAP SAP 2019 © Content 1 SAP HANA System Replication..................................................6 2 SAP HANA System Replication: Basic Concepts.....................................8 2.1 Introduction.................................................................9 2.2 Replication Modes for SAP HANA System Replication...................................12 2.3 Operation Modes for SAP HANA System Replication....................................14 2.4 Data Transferred to the Secondary System..........................................16 2.5 Resync Optimization..........................................................19 Data Retention........................................................... 20 Log Retention............................................................20 2.6 Network Recommendations.....................................................27 Distance Between Data Centers............................................... 27 Network Throughput.......................................................28 Data and Log Compression...................................................30 Data and Log Volume Encryption...............................................31 2.7 Secondary System Usage...................................................... 31 3 SAP HANA System Replication: Configuration .....................................34 3.1 General Prerequisites for Configuring SAP HANA System Replication....................... 35 3.2 Configuring SAP HANA System Replication .........................................38 Configure System Replication with the SAP HANA Cockpit............................ 39 Configure SAP HANA System Replication with hdbnsutil..............................51 Configure SAP HANA System Replication with the SAP HANA Studio.....................55 3.3 Initializing the Secondary.......................................................57 Initialize the Secondary with Storage Copy from Primary..............................58 3.4 Full Sync Option for SAP HANA System Replication....................................58 3.5 Add and Remove Hosts in SAP HANA System Replication................................60 3.6 Changing the Operation Mode...................................................61 3.7 Changing the Replication Mode..................................................62 3.8 SAP HANA System Replication Configuration Parameters............................... 62 3.9 SAP HANA System Replication Command Line Reference................................71 3.10 Disabling SAP HANA System Replication............................................74 Disable SAP HANA System Replication with the SAP HANA Cockpit......................74 Disable SAP HANA System Replication with hdbnsutil................................80 Disable SAP HANA System Replication with the SAP HANA Studio.......................81 3.11 SAP HANA System Replication Setup for XS Advanced Runtime...........................81 3.12 SAP HANA System Replication with Tenant Databases..................................83 SAP HANA System Replication 2 PUBLIC Content 4 SAP HANA System Replication: Takeover and Failback...............................85 4.1 Takeover..................................................................86 Perform a Takeover with the SAP HANA Cockpit....................................87 Perform a Takeover with hdbnsutil..............................................91 Perform a Takeover with the SAP HANA Studio.....................................92 Client Connection Recovery After Takeover....................................... 92 Invisible Takeover and Restart.................................................97 Takeover with Handshake....................................................99 4.2 Failback..................................................................100 Perform a Failback with the SAP HANA Cockpit....................................101 Perform a Failback with the SAP HANA Studio.................................... 104 Perform a Failback with hdbnsutil............................................. 105 5 SAP HANA System Replication: Secondary Time Travel..............................107 5.1 Secondary Time Travel........................................................107 5.2 Execute Secondary Time Travel .................................................108 5.3 Execute Secondary Time Travel While Replication Continues.............................109 5.4 Configuration Parameters .....................................................110 5.5 Monitoring Secondary Time Travel................................................112 6 SAP HANA System Replication with Active/Active (Read Enabled).....................113 6.1 Active/Active (Read Enabled) System Replication.....................................114 6.2 Generic Conditions for Active/Active (Read Enabled).................................. 116 6.3 Configuring an Active/Active (Read Enabled) System Replication..........................117 Configuration Parameters...................................................118 Checking the Active/Active (Read Enabled) Configuration............................ 118 6.4 Connection Types........................................................... 119 Client Requirements For A Takeover............................................122 Hint-Based Statement Routing for Active/Active (Read Enabled)....................... 123 6.5 Memory Management........................................................124 6.6 Virtual IP Address Handling.................................................... 125 6.7 Authentication Methods...................................................... 126 6.8 Monitoring Active/Active (Read Enabled) .......................................... 127 7 SAP HANA System Replication Setups..........................................128 7.1 SAP HANA Multitier System Replication ...........................................128 Configuring SAP HANA Multitier System Replication ................................129 Performing a Takeover and a Failback in SAP HANA Multitier System Replication ............139 7.2 SAP HANA Multitarget System Replication..........................................142 Example: Configure a SAP HANA Multitarget System Replication.......................144 Disaster Recovery Scenarios for Multitarget System Replication........................145 8 SAP HANA System Replication: Operation and Maintenance..........................147 SAP HANA System Replication Content PUBLIC 3 8.1 SAP HANA System Replication Details ............................................148 8.2 Alerts....................................................................152 SAP HANA System Replication Alerts...........................................153 Monitoring Secondary Systems...............................................155 Monitoring and Replicating INI File Parameter Changes..............................158 8.3 Checking the SAP HANA System Replication Status...................................159 Checking the Status with landscapeHostConfiguration.py............................160 Checking the Status with systemReplicationStatus.py...............................163 Checking the Status with getTakeoverRecommendation.py...........................165 Example: Checking the Status on the Primary and Secondary Systems...................166 Checking the Status with the HDB Console ...................................... 170 Checking the Status with Predefined SQL Statements...............................172 8.4 Monitoring System Replication..................................................175 Monitoring SAP HANA System Replication with the SAP HANA Cockpit...................175 Monitoring SAP HANA System Replication with hdbnsutil............................ 183 Monitoring SAP HANA System Replication with the SAP HANA Studio................... 185 Monitoring SAP HANA System Replication with SQL query............................186 8.5 System Replication Network Connection...........................................187 Secure Configuration of the Network Connection.................................. 188 Encryption of the Connection.................................................191 Monitoring the Network Connection............................................192 Monitoring the Network Latency..............................................192 8.6 Copy or Move Tenants Within System Replication.....................................194 8.7 Copying a System using System Replication ........................................195 Copy a System using System Replication ........................................196 8.8 Updating SAP HANA Systems with SAP HANA System Replication........................ 196 Update SAP HANA Systems Running in a System Replication Setup.....................197 Use SAP HANA System Replication for Near Zero Downtime Upgrades...................199 9 Troubleshoot System Replication..............................................209 9.1 I/O Related Root Causes and Solutions............................................210 Analyzing I/O Throughput and Latency..........................................212 Savepoint Performance.....................................................214 9.2 Replication Performance Problems...............................................216 9.3 Setup and Initial Configuration Problems...........................................221 9.4 Intermittent Connectivity

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    286 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us