Implementing High Availability and Disaster Recovery Solutions with SAP HANA on IBM Power Systems
Total Page:16
File Type:pdf, Size:1020Kb
Front cover Implementing High Availability and Disaster Recovery Solutions with SAP HANA on IBM Power Systems Dino Quintero Luis Bolinches Rodrigo Ceron Ferreira de Castro Fabio Martins John Wright Redpaper International Technical Support Organization Implementing High Availability and Disaster Recovery Solutions with SAP HANA on IBM Power Systems October 2017 REDP-5443-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (October 2017) This edition applies to: SAP HANA V2.0 SPS01 revision 10 (2.00.010.00.1491294693) SUSE Linux Enterprise Server for SAP Applications V12 SP2 IBM Virtual I/O Server (VIOS): V2.2.4.23 IBM Hardware Management Console (HMC): V8.8.6.0 SP1 + MH01703 IBM Spectrum Scale V4.2.3.1 © Copyright International Business Machines Corporation 2017. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . ix Authors. ix Now you can become a published author, too! . xi Comments welcome. xi Stay connected to IBM Redbooks . xi Chapter 1. Introduction. 1 1.1 About this publication . 2 1.2 The SAP HANA platform. 2 1.3 High availability for HANA . 3 1.3.1 Disaster recovery: SAP HANA Systems Replication . 5 1.3.2 High availability: SAP HANA Host Auto-Failover . 6 1.3.3 High availability: SAP HANA Systems Replication with SUSE Linux High Availability Extension . 8 Chapter 2. Planning your installation . 11 2.1 SAP requirements for HANA on Power Systems implementations. 12 2.1.1 SAP HANA on Power Systems allowed hardware, core, and memory limits and core-to-memory ratios. 12 2.1.2 Supported POWER8 processor configuration. 13 2.1.3 Supported operating systems . 14 2.1.4 Operating system customization. 15 2.1.5 Multiple production LPAR support on a single POWER8 server. 15 2.1.6 Storage and file system requirements. 15 2.2 Preparing your software . 18 2.2.1 Getting your operating system image . 18 2.2.2 Getting the IBM service and productivity tools for Linux on POWER . 18 2.2.3 Getting the HANA on Power Systems installation files . 19 2.3 SAP HANA implementation scenarios . 19 2.3.1 Scale-up scenarios without high availability . 20 2.3.2 Scale-up scenario with SAP HANA Systems Replication . 20 2.3.3 Scale-up scenario with SUSE HA and HANA Systems Replication . 20 2.3.4 Scale-out scenario with Host Auto-failover . 21 2.3.5 Summary of covered scenarios and reading suggestion . 21 Chapter 3. IBM PowerVM and SAP HANA. 23 3.1 Introduction to PowerVM and SAP HANA. 24 3.2 Virtual I/O Server. 24 3.3 Dynamic Placement Optimizer . 27 Chapter 4. SUSE Linux Enterprise Server for SAP Applications V12 SP2 installation and customization . 29 4.1 Introduction . 30 4.2 Creating the LPAR for SAP HANA . 30 4.3 Installing the BOS into the LPAR . 30 4.3.1 Starting the LPAR in SMS mode. 31 © Copyright IBM Corp. 2017. All rights reserved. iii 4.3.2 Installing BOS from the HMC virtual serial terminal . 34 4.3.3 Installing SUSE by using YaST2 and VNC . 42 4.3.4 Installing the service and productivity tools from IBM for Power Systems . 60 4.3.5 Network tuning . 62 4.3.6 Configuring the NTP client . 62 Chapter 5. Storage and file systems setup and customization . 65 5.1 Storage layout . 66 5.1.1 HANA shared area storage layout for scale-up systems . 66 5.1.2 HANA shared area storage layout for scale-out systems . 66 5.1.3 Probing for newly attached disks . 68 5.2 Linux multipath setup . 70 5.2.1 Applying changes to the multipath configuration. 73 5.3 File system creation and setup . 75 5.3.1 File systems for scale-up systems . 75 5.3.2 File systems for scale-out systems . 80 5.4 Additional Linux I/O subsystem tuning . 84 5.4.1 I/O device tuning . 84 5.4.2 I/O scheduler tuning . 84 Chapter 6. System evaluation . 87 6.1 HWCCT overview . 88 6.1.1 General prerequisites . 88 6.1.2 SAP Notes . 88 6.1.3 Current key performance indicators values. 89 6.2 Tool downloads . 89 6.2.1 SAPCAR . 89 6.2.2 HWCCT.SAR . 90 6.2.3 Python scripts . 92 6.2.4 Configuration file templates . 92 6.3 Scale-up evaluation. 93 6.3.1 Landscape test . 94 6.3.2 File system test . 96 6.4 Scale-out evaluation . 104 6.4.1 Landscape test . 104 6.4.2.