Você está na página 1de 270

Huawei SAP HANA Appliance Single

Node Installation Guide


(CH121&CH242&2288H&2488H&900
8 V5)
Issue 11
Date 2019-11-04

HUAWEI TECHNOLOGIES CO., LTD.


Copyright © Huawei Technologies Co., Ltd. 2019. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior written
consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions

and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.

Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information,
and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.

The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China

Website: https://e.huawei.com

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. i


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) About This Document

About This Document

Overview
This document describes how to install and configure the SAP HANA single-node system on
the CH121 V5, CH242 V5, 2288H V5, 2488H V5, or 9008 V5 server.

By reading this document, you can learn the SAP HANA single-node solution and installation
planning, OS installation and configuration, external storage configuration, and SAP HANA
database installation.

Supported OSs are as follows:

l SUSE Linux Enterprise Server (SLES) 12 SP2/SP3/SP4, 15 for SAP


l Red Hat Enterprise Linux (RHEL) 7.3/7.4/7.6

Supported SAP HANA databases are as follows:

l SAP HANA Database 1.0 SPS12


l SAP HANA Database 2.0 SPS01/SPS02/SPS03

Intended Audience
This document is intended for:

l Technical support engineers


l Maintenance engineers
l Users

Symbol Conventions
The symbols that may be found in this document are defined as follows.

Symbol Description

Indicates an imminently hazardous situation which, if not


avoided, will result in death or serious injury.

Indicates a potentially hazardous situation which, if not


avoided, could result in death or serious injury.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. ii


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) About This Document

Symbol Description

Indicates a potentially hazardous situation which, if not


avoided, may result in minor or moderate injury.

Indicates a potentially hazardous situation which, if not


avoided, could result in equipment damage, data loss,
performance deterioration, or unanticipated results.
NOTICE is used to address practices not related to
personal injury.

Calls attention to important information, best practices


and tips.
NOTE is used to address information not related to
personal injury, equipment damage, and environment
deterioration.

Change History
Changes between document issues are cumulative. The latest document issue contains all the
changes made in earlier issues.

Issue 11 (2019-11-04)
This issue is the eleventh official release:

l Modified 8.3 Configuring the Multipathing Service.


l Modified 9.3 Modifying HANA Database Parameters.

Issue 10 (2019-08-23)
This issue is the tenth official release. Modified 12.2 Problem Handling Process.

Issue 09 (2019-06-13)
This issue is the ninth official release:

l Added the contents of RHEL 7.6.


l Deleted the RHEL for SAP lifecycle model diagram from the 11.2 RHEL for SAP
Lifecycle.
l Deleted the diagrams of the OS and SAP HANA compatibility.

Issue 08 (2019-05-10)
This issue is the eighth official release. Modified 3.5 Software Planning (SLES) and 11 OS
Lifecycle.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. iii


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) About This Document

Issue 07 (2019-03-28)
This issue is the seventh official release:
l Added the content of SLES 15.
l Deleted the content of 8100 V5.
l Added the content of 9008 V5.
l Added the contents of SLES 12 SP4.
l Added the database version HANA2.0 SPS03.

Issue 06 (2018-12-26)
This issue is the sixth official release. Modified 9.3.1 Modifying HANA Database 1.0
Parameters.

Issue 05 (2018-09-25)
This issue is the fifth official release. Added 12 Responsibility Matrix and Problem
Handling Process.

Issue 04 (2018-08-10)
This issue is the fourth official release. Added 10 Registering and Activating the OS.

Issue 03 (2018-07-09)
This issue is the third official release. Modified 9.3.2 Modifying HANA Database 2.0
Parameters.

Issue 02 (2018-05-15)
This issue is the second official release. Added the contents of SLES 12.3 and RHEL 7.4.

Issue 01 (2018-04-03)
This is the first official release.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. iv


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) Contents

Contents

About This Document.....................................................................................................................ii


1 Solution Overview........................................................................................................................ 1
1.1 SAP HANA configuration (CH121 V5).........................................................................................................................1
1.2 SAP HANA configuration (CH242 V5).........................................................................................................................2
1.3 SAP HANA configuration (2288H V5)......................................................................................................................... 2
1.4 SAP HANA configuration (2488H V5)......................................................................................................................... 3
1.5 SAP HANA configuration (9008 V5)............................................................................................................................ 3

2 OS and SAP HANA Compatibility............................................................................................5


3 Installation Planning.................................................................................................................... 6
3.1 Network Planning........................................................................................................................................................... 6
3.2 Partition Planning (SAP HANA Database Installation)................................................................................................. 7
3.3 Partition Planning (SLES Installation)........................................................................................................................... 8
3.4 Partition Planning (RHEL Installation).......................................................................................................................... 8
3.5 Software Planning (SLES)..............................................................................................................................................9
3.6 Software Planning (RHEL).......................................................................................................................................... 13

4 Logging In to the iBMC WebUI................................................................................................18


5 Configuring the BIOS.................................................................................................................22
6 Configuring RAID Arrays......................................................................................................... 33
7 Installing the OS..........................................................................................................................54
7.1 Installing the OS (SLES 12)......................................................................................................................................... 54
7.1.1 Installing SLES 12 SP2/SP3/SP4 for SAP................................................................................................................ 54
7.1.2 Changing a Host Name..............................................................................................................................................79
7.1.3 Configuring IP Addresses..........................................................................................................................................79
7.1.4 Upgrading the OS Online.......................................................................................................................................... 89
7.1.4.1 Using YaST to Upgrade the OS Online.................................................................................................................. 90
7.1.5 Modifying the hosts File............................................................................................................................................97
7.1.6 Installing the Kernel and Other Patch Packages........................................................................................................97
7.1.7 Running the OS Configuration Script..................................................................................................................... 102
7.1.8 Configuring System Parameters.............................................................................................................................. 102
7.1.9 Configuring the tuned Service................................................................................................................................. 104

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. v


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) Contents

7.1.10 Configuring the grub File...................................................................................................................................... 104


7.1.11 Disabling the fstrim.timer and fstrim.service Services..........................................................................................105
7.1.12 Checking the Configurations................................................................................................................................. 106
7.2 Installing the OS (SLES 15)....................................................................................................................................... 106
7.2.1 Installing SLES 15 for SAP.....................................................................................................................................106
7.2.2 Changing a Host Name............................................................................................................................................134
7.2.3 Installing the net-tools-deprecated Tool.................................................................................................................. 134
7.2.4 Configuring IP Addresses........................................................................................................................................137
7.2.5 Modifying the hosts File..........................................................................................................................................147
7.2.6 Installing the Kernel and Other Patch Packages......................................................................................................148
7.2.7 Running the OS Configuration Script..................................................................................................................... 149
7.2.8 Configuring System Parameters.............................................................................................................................. 150
7.2.9 Configuring the tuned Service................................................................................................................................. 150
7.2.10 Configuring the grub File...................................................................................................................................... 150
7.2.11 Disabling the fstrim.timer and fstrim.service Services..........................................................................................151
7.2.12 Checking the Configurations................................................................................................................................. 152
7.3 Installing the OS (RHEL)........................................................................................................................................... 153
7.3.1 Installing RHEL 7.3/7.4/7.6 for SAP...................................................................................................................... 153
7.3.2 Creating PVs, VGs, and LVs................................................................................................................................... 171
7.3.3 Changing a Host Name............................................................................................................................................172
7.3.4 Configuring IP Addresses........................................................................................................................................172
7.3.5 Modifying the hosts File..........................................................................................................................................176
7.3.6 Registering the Linux System and Downloading Patch Packages Online.............................................................. 177
7.3.7 Installing the Kernel and Other Patch Packages......................................................................................................178
7.3.8 Running the OS Configuration Script..................................................................................................................... 180
7.3.9 Configuring the tuned Service................................................................................................................................. 181
7.3.10 Configuring System Parameters............................................................................................................................ 181
7.3.11 Configuring the grub File...................................................................................................................................... 183
7.3.12 Checking the Configurations................................................................................................................................. 183

8 Configuring External Storage Devices.................................................................................. 186


8.1 Preparing for the Configuration..................................................................................................................................186
8.2 Configuring OceanStor 5500 V3................................................................................................................................ 187
8.3 Configuring the Multipathing Service........................................................................................................................ 214

9 Installing the SAP HANA Database......................................................................................219


9.1 Preparing for the Installation...................................................................................................................................... 219
9.2 Installing the Database................................................................................................................................................220
9.3 Modifying HANA Database Parameters.................................................................................................................... 228
9.3.1 Modifying HANA Database 1.0 Parameters........................................................................................................... 228
9.3.2 Modifying HANA Database 2.0 Parameters........................................................................................................... 231
9.4 Installing Multi-instance Databases............................................................................................................................234
9.5 Uninstalling the Database........................................................................................................................................... 234

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. vi


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) Contents

10 Registering and Activating the OS...................................................................................... 236


10.1 Activating OS Subscriptions by Using License Keys.............................................................................................. 236
10.1.1 Activating RHEL Subscriptions............................................................................................................................ 236
10.1.2 Activating SLES Subscriptions............................................................................................................................. 238

11 OS Lifecycle.............................................................................................................................. 242
11.1 SLES for SAP Lifecycle........................................................................................................................................... 242
11.2 RHEL for SAP Lifecycle..........................................................................................................................................244

12 Responsibility Matrix and Problem Handling Process................................................... 245


12.1 Responsibility Matrix............................................................................................................................................... 245
12.2 Problem Handling Process........................................................................................................................................246
12.2.1 Vendor Contact Information.................................................................................................................................. 247
12.2.2 SAP Ticket Submission Process............................................................................................................................ 247
12.2.3 Huawei Ticket Submission Process.......................................................................................................................250
12.2.4 SUSE Ticket Submission Process..........................................................................................................................251

13 Support and Other Resources............................................................................................... 254


13.1 Technical Support..................................................................................................................................................... 254

A Software Version List of Red Hat 7.4 Patch Packages.......................................................256


B Software Version List of SLES 12 SP3 Patch Packages......................................................262

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. vii


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 1 Solution Overview

1 Solution Overview

This section list the SAP HANA configurations, including the CPU quantity, memory
capacity, storage resource type, and storage capacity, for the CH121 V5, CH242 V5, 2288H
V5, 2488H V5, and 9008 V5.
1.1 SAP HANA configuration (CH121 V5)
1.2 SAP HANA configuration (CH242 V5)
1.3 SAP HANA configuration (2288H V5)
1.4 SAP HANA configuration (2488H V5)
1.5 SAP HANA configuration (9008 V5)

1.1 SAP HANA configuration (CH121 V5)

Information such as the OS and certification configuration is continuously changing. The above table are
for reference only. Find the latest information at the SAP HANA certification website (http://
global.sap.com/community/ebook/2014-09-02-hana-hardware/enEN/appliances.html).

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 1


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 1 Solution Overview

1.2 SAP HANA configuration (CH242 V5)

Information such as the OS and certification configuration is continuously changing. The above table are
for reference only. Find the latest information at the SAP HANA certification website (http://
global.sap.com/community/ebook/2014-09-02-hana-hardware/enEN/appliances.html).

1.3 SAP HANA configuration (2288H V5)

Information such as the OS and certification configuration is continuously changing. The above table are
for reference only. Find the latest information at the SAP HANA certification website (http://
global.sap.com/community/ebook/2014-09-02-hana-hardware/enEN/appliances.html).

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 2


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 1 Solution Overview

1.4 SAP HANA configuration (2488H V5)

Information such as the OS and certification configuration is continuously changing. The above table are
for reference only. Find the latest information at the SAP HANA certification website (http://
global.sap.com/community/ebook/2014-09-02-hana-hardware/enEN/appliances.html).

1.5 SAP HANA configuration (9008 V5)

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 3


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 1 Solution Overview

Information such as the OS and certification configuration is continuously changing. The above tables
are for reference only. Find the latest information at the SAP HANA certification website (http://
global.sap.com/community/ebook/2014-09-02-hana-hardware/enEN/appliances.html).

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 4


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 2 OS and SAP HANA Compatibility

2 OS and SAP HANA Compatibility

For details about the OS and SAP HANA compatibility, see the official SAP documents:
https://launchpad.support.sap.com/#/notes/2235581.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 5


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

3 Installation Planning

3.1 Network Planning


3.2 Partition Planning (SAP HANA Database Installation)
3.3 Partition Planning (SLES Installation)
3.4 Partition Planning (RHEL Installation)
3.5 Software Planning (SLES)
3.6 Software Planning (RHEL)

3.1 Network Planning


This document describes the planning of the test network in a laboratory. Customers can make
plans for related IP addresses based on the site requirements.

The default iBMC IP address is the default IP address, without being changed by a customer, of the
network port on the host. You can use the default IP address to log in to the iBMC WebUI and change
the default IP address as required.

Table 3-1 Default IP address


Item IP Address

iBMC 192.168.2.100

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 6


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

Table 3-2 Default user parameters


Type Parameter Description Example

Host information Management Indicates the IP 192.168.2.200


network port IP address of the
address management
network port.

Management Indicates the subnet 255.255.255.0


network port subnet mask for the IP
mask address of the
management
network port.

Management Indicates the 192.168.2.1


network port gateway of a
gateway management
network port.

Host name and Indicates the host Host name:


domain name name and domain hw00001
name. Domain name:
china.com

Service information IP address of the The values are 10.5.2.10


service network port dynamically
allocated by the
Service network port DHCP. You can also 255.255.255.0
subnet mask manually change the
Service network port values as required. 10.5.2.1
gateway

User name and OS administrator - User name: root


password user name and Password:
password Huawei_123

Database user name - User name:


and password SYSTEM
Password:
Huawei_123

iBMC user name - Username:


and password Administrator
Password:
Admin@9000

3.2 Partition Planning (SAP HANA Database Installation)


Table 3-3 describes the partition planning for SAP HANA database installation. Partition
plannings for specific solutions are introduced in 1 Solution Overview.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 7


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

Table 3-3 Partition planning for SAP HANA database installation


Partition File System Partition Size Source
Name Type

/hana/data XFS 3 x RAM LVM (built-in disk or external


storage mapping)

/hana/log XFS 512 GB or LVM (built-in disk or external


above storage mapping)

/hana/shared XFS 1 x RAM LVM (built-in disk or external


storage mapping)

3.3 Partition Planning (SLES Installation)


Two built-in 600 GB SAS HDDs are configured as a RAID 1 array for installing the OS. The
following table lists the partition planning for SLES installation.

Table 3-4 Partition planning for SLES installation


Partition File System Partition Size Source
Name Type

swap swap 20 GB LVM (2 x 600 GB, RAID 1)

/boot/efi FAT 1 GB Local storage (2 x 600 GB, RAID


1)

/usr/sap Ext4 200 GB LVM (2 x 600 GB, RAID 1)

/ Ext4 Remaining LVM (2 x 600 GB, RAID 1)


space

3.4 Partition Planning (RHEL Installation)


Two built-in 600 GB SAS HDDs are configured as a RAID 1 array for installing the OS. The
following table lists the partition planning for RHEL installation.

Table 3-5 Partition planning for RHEL installation


Partition File System Partition Size Source
Name Type

swap swap 20 GB LVM (2 x 600 GB, RAID 1)

/boot/efi EFI System 1 GB Local storage (2 x 600 GB, RAID


Partition 1)

/boot Ext4 1 GB Local storage (2 x 600 GB, RAID


1)

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 8


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

Partition File System Partition Size Source


Name Type

/usr/sap Ext4 200 GB LVM (2 x 600 GB, RAID 1)

/ Ext4 Remaining LVM (2 x 600 GB, RAID 1)


space

3.5 Software Planning (SLES)


Table 3-6 Software planning of SLES 12 SP2
Software (Version) How to obtain Description

SLE-12-SP2-DVD-x86_64- https://www.suse.com/ Customized SAP OS


GM-DVD.iso

kernel- https://www.suse.com/ SUSE Linux kernel package


default-4.4.121-92.101.1.x8
6_64.rpm

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 9


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

Software (Version) How to obtain Description

dracut-044.1-109.26.1.x86_ https://www.suse.com/ GCC 6 patches (for HANA


64.rpm 2.0)
glibc-2.22-62.10.1.x86_64.r
pm
glibc-32bit-2.22-62.10.1.x86
_64.rpm
glibc-
devel-2.22-62.10.1.x86_64.r
pm
glibc-
devel-32bit-2.22-62.10.1.x8
6_64.rpm
glibc-
i18ndata-2.22-62.10.1.noarc
h.rpm
glibc-
info-2.22-62.10.1.noarch.rp
m
glibc-
locale-2.22-62.10.1.x86_64.
rpm
glibc-
locale-32bit-2.22-62.10.1.x8
6_64.rpm
libsystemd0-32bit-228-150.
32.1.x86_64.rpm
libsystemd0-228-150.32.1.x
86_64.rpm
libudev1-32bit-228-150.32.1
.x86_64.rpm
libudev1-228-150.32.1.x86_
64.rpm
nscd-2.22-62.10.1.x86_64.r
pm
systemd-32bit-228-150.32.1
.x86_64.rpm
systemd-228-150.32.1.x86_
64.rpm
systemd-bash-
completion-228-150.32.1.no
arch.rpm
systemd-
sysvinit-228-150.32.1.x86_6
4.rpm

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 10


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

Software (Version) How to obtain Description

udev-228-150.32.1.x86_64.r
pm

IMDB_SERVER20_024_0- https:// HAHA database software


80002031.SAR launchpad.support.sap.com/
SAPCAR_816-80000935.E #/softwarecenter
XE

Table 3-7 Software planning of SLES 12 SP3


Software (Version) How to obtain Description

SLE-12-SP3-DVD-x86_64- https://www.suse.com/ Customized SAP OS


GM-DVD.iso

kernel- https://www.suse.com/ SUSE Linux kernel package


default-4.4.162-94.72.1.x86
_64.rpm

IMDB_SERVER20_024_0- https:// HAHA database software


80002031.SAR launchpad.support.sap.com/
SAPCAR_816-80000935.E #/softwarecenter
XE

Table 3-8 Software planning of SLES 12 SP4


Software (Version) How to obtain Description

SLE-12-SP4-SAP-DVD- https://www.suse.com/ Customized SAP OS


x86_64-GM-DVD1

kernel- https://www.suse.com/ SUSE Linux kernel package


default-4.12.14-95.6.1.x86_
64.rpm

IMDB_SERVER20_036_0- https:// HAHA database software


80002031.SAR launchpad.support.sap.com/
SAPCAR_1110-80000935.E #/softwarecenter
XE

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 11


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

Table 3-9 Software planning of SLES 15

Software (Version) How to obtain Description

SLE-15-Installer-DVD- https://www.suse.com/ Customized SAP OS


x86_64-GM-DVD1.iso
SLE-15-Packages-x86_64-
GM-DVD1.iso

kernel- https://www.suse.com/ SUSE Linux kernel package


default-4.12.14-25.25.1.x86 SAPHanaSR package
_64.rpm
SAPHanaSR-0.152.22-4.3.2
.noarch.rpm
SAPHanaSR-0.152.22-4.3.2
.src.rpm
SAPHanaSR-
doc-0.152.22-4.3.2.noarch.r
pm
libopenssl1_0_0-1.0.2p-3.11
.1.x86_64.rpm

IMDB_SERVER20_036_0- https:// HAHA database software


80002031.SAR launchpad.support.sap.com/
SAPCAR_1110-80000935.E #/softwarecenter
XE

IMDB_SERVER20_020_0-80002031.SAR: SERVER20 indicates HANA 2.0, and SERVER10


indicates HANA 1.0.

Software directories on the pre-installed server are as follows:

OS destination path: /home/softwarepackage/os

Patch destination path: /home/softwarepackage/patch

HANA database destination path: /home/softwarepackage/hanadatabase

You can perform the following operations to find the OS software desired:

Step 1 Enter https://www.suse.com/ in the address box of the browser to go to the SUSE official
website.

Step 2 Click Free Downloads on the right and download the OS as required. The related kernel can
be searched and downloaded in the search box above.

A SUSE subscription account is required for downloading a patch package.

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 12


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

3.6 Software Planning (RHEL)


Table 3-10 Software planning (RHEL 7.3)
Software Name and Source Description
Version

rhel-server-7.3-x86_64- https://access.redhat.com/ RHEL 7.3 OS


dvd.iso downloads/content/69/ver=/
rhel---7/7.5%20Beta/
x86_64/product-software

kernel-3.10.0-693.2.2.el7.x8 https://access.redhat.com/ RHEL kernel patch file


6_64.rpm downloads/content/package-
browser

IMDB_SERVER20_020_0- https:// HAHA database software


80002031.SAR launchpad.support.sap.com/
SAPCAR_816-80000935.E #/softwarecenter/search/
XE IMDB_SERVER

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 13


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

Software Name and Source Description


Version

l compat-sap-c+ https://access.redhat.com/ RHEL 7.3 patch file


+-6-6.3.1-1.el7_3.x86_6 downloads/content/package-
4.rpm browser
l dracut-033-502.el7.x86_
64.rpm
l dracut-config-
generic-033-502.el7.x86
_64.rpm
l dracut-config-
rescue-033-502.el7.x86_
64.rpm
l dracut-
network-033-502.el7.x86
_64.rpm
l glibc-2.17-196.el7.x86_6
4.rpm and glibc-
common-2.17-196.el7.x8
6_64.rpm
l glibc-
devel-2.17-196.el7.x86_
64.rpm
l glibc-
headers-2.17-196.el7.x86
_64.rpm
l kernel-3.10.0-693.2.2.el7
.x86_64.rpm
l kexec-
tools-2.0.14-17.el7.x86_
64.rpm
l linux-
firmware-20170606-56.g
itc990aae.el7.noarch.rpm
l python-linux-
procfs-0.4.9-3.el7.noarch
.rpm
l python-
schedutils-0.4-6.el7.x86_
64.rpm
l tuned-2.8.0-5.el7.noarch.
rpm
l tuned-profiles-sap-
hana-2.8.0-5.el7.noarch.r
pm

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 14


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

Software Name and Source Description


Version

l tuned-
utils-2.8.0-5.el7.noarch.r
pm

Table 3-11 Software planning (RHEL 7.4)


Software Name and Source Description
Version

rhel-server-7.4-x86_64- https://access.redhat.com/ RHEL 7.4 OS


dvd.iso downloads/content/69/ver=/
rhel---7/7.5%20Beta/x86_64/
product-software

See A Software Version https://access.redhat.com/ RHEL 7.4 patch file


List of Red Hat 7.4 Patch downloads/content/package-
Packages. browser

IMDB_SERVER20_020_0 https:// HAHA database


-80002031.SAR launchpad.support.sap.com/#/ software
SAPCAR_816-80000935.E softwarecenter/search/
XE IMDB_SERVER

Table 3-12 Software planning (RHEL 7.6)


Software Name and Source Description
Version

rhel-server-7.6-x86_64- https://access.redhat.com/ RHEL 7.6 OS


dvd.iso downloads/content/69/ver=/
rhel---7/7.6/x86_64/product-
software

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 15


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

Software Name and Source Description


Version

compat-sap-c+ https://access.redhat.com/ RHEL 7.6 patch file


+-6-6.3.1-1.el7_3.x86_64.rp downloads/content/package-
m browser
compat-sap-c+
+-7-7.2.1-2.el7_4.x86_64.rp
m
glibc-
devel-2.17-260.el7.x86_64.r
pm
glibc-
headers-2.17-260.el7.x86_6
4.rpm
tuned-profiles-sap-
hana-2.10.0-6.el7.noarch.rp
m
libatomic-4.8.5-36.el7.x86_
64.rpm
NetworkManager-1.12.0-10.
el7_6.x86_64.rpm
NetworkManager-
libnm-1.12.0-10.el7_6.x86_
64.rpm
NetworkManager-
tui-1.12.0-10.el7_6.x86_64.r
pm
NetworkManager-config-
server-1.12.0-10.el7_6.noarc
h.rpm
NetworkManager-
team-1.12.0-10.el7_6.x86_6
4.rpm

IMDB_SERVER20_034_0- https:// HAHA database software


80002031.SAR launchpad.support.sap.com/
SAPCAR_816-80000935.E #/softwarecenter/search/
XE IMDB_SERVER

To download OS image and OS software, perform the following steps:

Step 1 Enter https://access.redhat.com/downloads/ in the address box of the browser to go to the


Redhat official website.
Step 2 Select an OS and click to go to the download page. Select the corresponding version and
architecture, and browse and download the OS image of the corresponding version.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 16


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 3 Installation Planning

Step 3 To download the corresponding kernel or RPM package, click RPM Package Search on the
right and enter the software package name, for example,
kernel-3.10.0-957.10.1.el7.x86_64.rpm. Do not enter any space or other characters along
with the software package name.
You can also enter a keyword for fuzzy search (for example, kernel and resource-agents).
Select the corresponding version and architecture to browse and download the kernel or RPM
package of the corresponding version.

A Redhat subscription account is required for downloading a patch package.

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 17


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 4 Logging In to the iBMC WebUI

4 Logging In to the iBMC WebUI

This part uses Internet Explorer 11 as an example to describe how to log in to the iBMC
WebUI.

l A maximum of four users can log in to the iBMC WebUI at the same time.
l By default, the system timeout period is 5 minutes. If no operation is performed on the WebUI
within 5 minutes, the user will be automatically logged out of the WebUI. If this happens, you need
to enter the user name and password to log in again.
l The system locks a user account if the user enters incorrect passwords for consecutive five times.
The user account is automatically unlocked 5 minutes later. The system administrator can also
unlock a user account using the command-line interface (CLI).
l For security purposes, change the initial password after the first login and change your password
periodically.

Step 1 Check that the OS and browser versions of the iBMC client (a local PC) are as per
requirements. If the remote control function needs to be used, ensure that the Java Runtime
Environment (JRE) version is as per requirements.
Step 2 Set an IP address for the PC, and ensure that the IP address is on the same network segment as
the iBMC management network port.
Step 3 Connect the PC to the iBMC management network port using a network cable.

Step 4 Enter https://ipaddress/ in the address box of a browser, in which ipaddress is the IP address
of the iBMC management network. The default IP address is 192.168.2.100.
Step 5 If the security alert dialog box shown in Figure 4-1 is displayed, click Continue to this
website (not recommended).

If you do not want this dialog box to be displayed, add iBMC to Exception Site List on Java Control
panel or set the Java security level to a lower level. This operation may reduce user security. Exercise
caution when performing this operation.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 18


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 4 Logging In to the iBMC WebUI

Figure 4-1 Security alert

On the login page that is displayed, enter the default user name and password (the default user
name is Administrator and the default password is Admin@9000).

Figure 4-2 iBMC WebUI login page

Step 6 Select a login mode and log in.


l Log in as a local user.
l Log in as a Lightweight Directory Access Protocol (LDAP) user.

Click Log In.

The Overview page is displayed, showing the user name in the upper right corner.

Step 7 In the main menu, click Remote Console.

On the displayed Remote Console page, click Java Integrated Remote Console (Shared) or
HTML5 Integrated Remote Console (Shared).

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 19


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 4 Logging In to the iBMC WebUI

Step 8 Open the keyboard, video, and mouse (KVM) console.

To use the remote virtual console, you must have a running environment of Java 1.6 U25 or later. You
can download the Java running environment from http://www.java.com.

Click . If the server is not powered on, click Power On. If the server is powered on, click
Forced System Reset.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 20


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 4 Logging In to the iBMC WebUI

Figure 4-3 Java Integrated Remote Console

Figure 4-4 HTML5 Integrated Remote Console

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 21


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 5 Configuring the BIOS

5 Configuring the BIOS

Step 1 Power on the server. When the screen shown in the following figure is displayed, press F11 to
enter the BIOS setup screen.

Step 2 In the displayed dialog box, enter the password and press Enter.

l The default BIOS password is Admin@9000.


l Press F2 to switch between the French keyboard and the Japanese keyboard.
l The server will be locked after three consecutive login failures with incorrect passwords. You can
restart the server to unlock it.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 22


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 5 Configuring the BIOS

Step 3 Select Setup Utility and press Enter to start the BIOS Setup Utility program.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 23


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 5 Configuring the BIOS

Step 4 Choose Advanced > Socket Configuration and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 24


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 5 Configuring the BIOS

Step 5 Select Processor Configuration and press Enter. The configuration screen is displayed.

Step 6 Select Hyper-Threading [ALL], press Enter, and select Enabled. Press Esc to return to the
previous screen.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 25


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 5 Configuring the BIOS

Step 7 Choose Advanced Power Management Configuration and press Enter.

Step 8 Set Power Policy Select to Custom.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 26


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 5 Configuring the BIOS

Step 9 Select CPU P State Control and press Enter.

Step 10 Select EIST(P-State), press Enter, and select Enabled. Select Turbo Mode, press Enter,
and select Disabled. Press Esc to return to the previous screen.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 27


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 5 Configuring the BIOS

Step 11 Select CPU C State Control and press Enter.

Step 12 Select CPU C6 report, press Enter, and select Disabled. Select Enhanced Halt State
(C1E), press Enter, and select Disabled. Press Esc to return to the previous screen.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 28


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 5 Configuring the BIOS

Step 13 Select Package C State Control and press Enter.

Step 14 Select Package C State, press Enter, select C0/C1 state, and press Esc to return to the
previous screen.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 29


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 5 Configuring the BIOS

Step 15 Select Boot > Boot Type, press Enter, select UEFI Boot Type, and press Esc to return to the
previous screen.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 30


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 5 Configuring the BIOS

Step 16 Select Exit > Save Changes & Exit, select Yes, and press Enter to restart the server.
BIOS parameter configuration is complete.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 31


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 5 Configuring the BIOS

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 32


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

6 Configuring RAID Arrays

There are multiple disk configuration schemes for the HANA database. If SAS HDDs are
used, CacheCade must be configured. If SAS SSDs are used, CacheCade is not required. The
RAID configuration methods for other solutions are the same with only differences in the disk
type, capacity, and quantity. This document uses the 9008 V5 using SAS HDDs as an example
to describe how to configure RAID arrays. For details about how to configure other models of
servers, see 1 Solution Overview.
The disk planning for the 9008 V5 is as follows:
1. Two 600 GB SAS HDDs in slots 0 and 1 are configured as RAID 1 for installing the OS.
2. Two 800 GB SSDs are configured as RAID 10 to function as the HANA database
CacheCade.
3. Other disks are configured as RAID 5 or RAID 50 for the HANA database.

Step 1 Power on the server. When the screen shown in the following figure is displayed, press F11 to
enter the BIOS setup screen.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 33


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 2 Enter the BIOS password in the displayed dialog box. The default BIOS password is
Admin@9000.

Step 3 On the BIOS screen, select Device Management and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 34


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 4 On the Device Manager page, select the LSI SAS3108 controller to be operated, and press
Enter.

Step 5 Select Main Menu and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 35


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 6 Select Configuration Management and press Enter.

Step 7 Select Clear Configuration to clear the previously configured RAID settings. For a new
environment, skip Step 8 to Step 14.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 36


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 8 Select Confirm and press Enter. When Disabled changes to Enabled, select Yes.

Step 9 If the operation is successful, press Esc to return to the previous screen.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 37


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 10 Select Manage Foreign Configuration to clear external configuration. If this option is not
displayed, skip Step 11 to Step 14.

Step 11 Select Clear Foreign Configuration and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 38


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 12 Select Confirm and press Enter. When Disabled changes to Enabled, select Yes.

Step 13 If the operation is successful, press Esc to return to the previous screen.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 39


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 14 Select Configuration Management and press Enter.

Step 15 Select Create Virtual Drive and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 40


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 16 Select Select RAID Level and press Enter.

Step 17 Select the RAID level desired (RAID1 in this example) and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 41


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 18 Select Select Drives and press Enter.

Step 19 Select the disks to be added and press Enter. (In this example, select two 600 GB SAS
HDDs.)

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 42


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 20 Select Apply Changes and press Enter.

Step 21 If the operation is successful, press Esc to return to the previous screen.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 43


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 22 Select Strip Size and press Enter.

Step 23 Select 128 KB and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 44


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 24 Select Write Policy and press Enter. In the displayed list, select Write Back and press
Enter.

Step 25 Select Save Configuration and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 45


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 26 Select Confirm and press Enter. When Disabled changes to Enabled, select Yes.

Step 27 If the operation is successful, press Esc to return to the previous screen.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 46


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 28 Repeat Step 15 to Step 27 to create another virtual disk. Set RAID Level to RAID5 and Size
to 9*1.8T. The configuration specifications are as follows.

Step 29 Choose Create CacheCade Virtual Drive and use the remaining two disks to create the SSD
CacheCade virtual disk by repeating Step 15 to Step 27.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 47


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 30 Choose Main Menu > Virtual Drive Management. On the screen displayed, you can see the
newly created virtual disks.

Step 31 Select Virtual Drive 1: RAID5 and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 48


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 32 Select Operation and press Enter.

Step 33 Select Enable SSD Caching.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 49


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 34 Select Go and press Enter.

Step 35 Select Confirm and press Enter. When Disabled changes to Enabled, select Yes.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 50


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 36 If the operation is successful, press Esc to return to the previous screen.

Step 37 Press Esc to return to the Main Menu screen. Virtual disk information is displayed.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 51


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

Step 38 Ensure that the configuration is successful. Press Esc to go back to the home screen and
choose Setup Utility.

Step 39 Press the up or down arrow key to select Exit. Select Save Changes & Exit and press Enter.
On the screen displayed, Select Yes to restart the server.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 52


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 6 Configuring RAID Arrays

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 53


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

7 Installing the OS

7.1 Installing the OS (SLES 12)


7.2 Installing the OS (SLES 15)
7.3 Installing the OS (RHEL)

7.1 Installing the OS (SLES 12)

7.1.1 Installing SLES 12 SP2/SP3/SP4 for SAP


This section uses SLES 12 SP2 for SAP as an example to describe how to install the OS. The
procedure for installing SLES 12 SP3/SP4 for SAP is the same as that for installing the SLES
12 SP2 for SAP.

Step 1 Mount the OS ISO file to the virtual DVD drive. On the KVM screen, click on the
toolbar, select Image File, select an image file to be mounted, and click Connect.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 54


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 2 Restart the server. During the startup, press F11 as prompted. In the displayed dialog box,
enter the password (default password: Admin@9000).

Step 3 Select Boot Manager and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 55


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 4 Select EFI USB Device and press Enter.

Step 5 In the initial installation window, select Installation and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 56


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 6 Select I Agree to the License Terms and click Next.

Step 7 Select Skip Registration, click OK in the displayed dialog box, and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 57


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 8 Select SUSE Linux Enterprise Server for SAP Applications and click Next.

Step 9 Retain the default settings and click Next if you do not install other software.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 58


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 10 Select Expert Partitioner and click Next.

Step 11 Choose Hard Disks > sda and click Add.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 59


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

For initial installation, click Add. For OS reinstallation, click Delete to delete existing
partitions one by one.

Step 12 Select Custom Size, set Size to 1 GiB, and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 60


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 13 Select EFI Boot Partition and click Next.

Step 14 Click Finish.

Step 15 Click Add.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 61


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 16 Select Maximum Size under New Partition Size and click Next.

Step 17 Set Role to Operating System and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 62


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 18 Choose Do not format partition, set File system ID to 0x8E Linux LVM, and click Finish.

Step 19 In the System View area on the left, select Volume Management, click Add, and select
Volume Group.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 63


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 20 Enter a name (for example, vg_os) in Volume Group Name, select /dev/sda2 from Available
Physical Volumes on the left, click Add, and click Finish.

Step 21 In the System View area on the left, select the created vg_os volume group and click Add.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 64


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 22 Enter swap in the Logical Volume text box and click Next.

Step 23 Select Custom Size, set Size to 20 GiB, and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 65


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 24 Set Role to Swap and click Next.

Step 25 Click Finish.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 66


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 26 Click Add.

Step 27 Enter usr_sap in the Logical Volume text box and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 67


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 28 Select Custom Size, set Size to 200.00 GiB, and click Next.

Step 29 Select Operating System and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 68


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 30 Choose Format partition and set File System to Ext4. Choose Mount partition, set Mount
Point to /usr/sap, and click Finish.

Step 31 Click Add.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 69


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 32 Enter root in the Logical Volume text box and click Next.

Step 33 Select Maximum Size and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 70


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 34 Select Operating System and click Next.

Step 35 Choose Format partition and set File System to Ext4. Choose Mount partition, set Mount
Point to /, and click Finish.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 71


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 36 Repeat Step 19 to Step 35 to create /dev/sdb. During partition creation, set Role to Data and
ISV Applications and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 72


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

For details about the size of the /dev/sdb partition, see 1 Solution Overview. The sizes of the
partitions used in this step are as follows:
No. Partition File Mount Point Description
Size System

1 9 TB xfs /hana/data The partition size is three


times of the memory size. If
the memory size is 2 TB, the
partition size is 6 TB.

2 1 TB xfs /hana/log -

3 Remaining xfs /hana/shared Reserved space.


space

Step 37 Click Accept.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 73


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 38 Click Next.

Step 39 Set the time zone and click Next.

Set the time zone based on site requirements.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 74


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 40 Set a password for the root user and click Next.
The password must contain uppercase letters, lowercase letters, digits, and special characters,
for example, Huawei_123.

Step 41 Click Software.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 75


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 42 Select SAP HANA Server Base and click OK.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 76


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 43 In the Firewall and SSH area, click disable to disable the firewall. Click Install.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 77


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 44 In the displayed dialog box, click Install.


The system starts installing the OS. After the installation is complete, the system restarts. Wait
for several minutes.
After the installation is complete, the system automatically restarts and displays a login
screen.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 78


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

----End

7.1.2 Changing a Host Name

If you need to uninstall the existing SAP HANA database, perform operations in 9.5 Uninstalling the
Database and then change the host name. Otherwise, uninstalling the database will fail.

Step 1 Run the vim /etc/hostname command to open the hostname file. Enter i to enter the editing
mode. Change the local host name of the server to hw00001.

Step 2 Press Esc and enter :wq to save the configuration and exit.

Step 3 Run the hostname hw00001 command.

Step 4 Run the following commands for the configuration to take effect:
/etc/rc.d/boot.local stop
/etc/rc.d/boot.local start

Step 5 Exit and use the changed host name hw00001 to log in.

----End

7.1.3 Configuring IP Addresses


Step 1 Open a terminal, enter yast2 and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 79


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 2 Enter Network in the search box and select Network Settings in the search result.

Step 3 Select the network port (eth2 in this example) in the Connection state, and click Edit. For
details about how to confirm the network port, see the following NOTE.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 80


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

You can choose System Info > Network on the iBMC Web page to view the network port status, as
shown in the following figure. Use the MAC address displayed on the iBMC and the MAC address
displayed on the YaST2 to confirm the network port to be configured with an IP address.

Step 4 Set IP Address to 192.168.2.200 and Subnet Mask to 255.255.0.0 according to the plan. Set
the IP address based on site requirements. Click Next and OK in sequence.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 81


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 5 Run the ifconfig eth2 command and press Enter to check whether the IP address is set
successfully. If the command output is similar to the information shown in the following
figure, the IP address is set successfully.

Step 6 Run the rcSuSEfirewall2 stop command to disable the firewall. If the firewall is not disabled
during the OS installation, click disable next to Firewall will be enabled under Firewall and
SSH. If the firewall is not disabled, the network connection using tools such as Xshell may be
abnormal.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 82


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 7 Use the Xshell tool to connect to the OS and check whether the network configuration is
successful.

1. Double-click the Xshell icon (download and install the Xshell software in advance),
enter ssh 192.168.2.200, and press Enter.

2. In the dialog box shown in the preceding figure, choose Accept and Save. In the SSH User
Name dialog box, enter the user name for logging in to the OS, for example, root.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 83


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

3. In the SSH User Authentication dialog box, select Keyboard Interactive.

4. Enter the login password. The password is the one set for the root user during the OS
installation.

5. Click OK. The login is successful.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 84


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 8 Log in to the server as the root user, run yast2, enter Network in the search box, and choose
Network Settings.

Step 8 to Step 16 are performed to configure the bond network port for connecting to the service
network. If you do not need to configure the bond network port, skip these steps.

Step 9 Select a 10GE network port and click Edit.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 85


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 10 Select No Link and IP Setup (Bonding Slaves) and click Next.

Step 11 Repeat Step 8 to Step 10 to configure the second 10GE network port.

Step 12 Add a bond network port and click Add.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 86


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 13 Select Bond from the Device Type drop-down list box and click Next.

Step 14 Select Statically Assigned IP Address, and enter the planned IP address, subnet mask, and
host name.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 87


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 15 Click the Bond Slaves tab, select the two network ports (one from each NIC) to be bonded. In
Bond Driver Options, select mode=2 (or mode=balance-xor), and click Next.

Step 16 The bond0 network port is displayed on the Overview tab page. Repeat the preceding steps to
configure other bond network ports. After the configuration is complete, click OK to save the
settings and make them take effect.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 88


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

----End

7.1.4 Upgrading the OS Online

l This section describes how to activate the Linux OS and how to install a patch package and update
the operating system online. If the customer network cannot connect to the Internet directly or
through the proxy server, skip this section.
l Huawei is responsible for OS installation and patch package installation and upgrade during project
implementation. After Huawei completes project delivery (after the system officially goes live on
the customer site), the customer is responsible for system upgrade, security update, and patch
package installation. The customer needs to add software components and modify the OS
configuration according to SAP notes to ensure system security and stability.

OS and kernel update


If the customer needs to update the OS kernel, the customer must take specific preventive
measures to prevent system startup failures after the kernel is updated. The SAP HANA
database must be shut down during the entire update process.

The general process for updating the OS or kernel is as follows:

Step 1 Stop the SAP HANA database.

Step 2 Use YaST to update the kernel (or download the kernel patch package to manually update the
kernel).
Step 3 Check the GRUB file and the boot sector (menu.lst). If command lines have been configured
in the GRUB file before the kernel update, check the GRUB configuration again after the
kernel update takes effect upon restart.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 89


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 4 Restart the OS.

----End

7.1.4.1 Using YaST to Upgrade the OS Online


The YaST tool can be used to upgrade the OS online. All of the OS components including the
kernel can be upgraded online.

Step 1 Online upgrade requires the Linux system to access the Internet directly or through a proxy
server. To configure the proxy server, set PROXY_ENABLED to yes and configure the host
IP address and port number of the proxy server.
hw00001:~ # cd /etc/sysconfig/
hw00001:/etc/sysconfig # vi proxy
PROXY_ENABLED="yes"
HTTP_PROXY="http://<Proxy_server_IP>:<Proxy_Service_port>"
HTTPS_PROXY="http://<Proxy_server_IP>:<Proxy_service_port>"
FTP_PROXY="http://<Proxy_server_IP>:<Proxy_service_port>"

Step 2 Run the yast command as the root user. Choose Software > Online Update. Then select Yes
and press Enter on the screen displayed.

Step 3 Use the official SUSE website account and password that have been activated to register with
the current Linux server. Then click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 90


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

For details about how to activate the official SUSE website account, see 10.1.2 Activating SLES
Subscriptions.

Step 4 On the Extension and Module Selection screen, select Next and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 91


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 5 On the Available Extensions and Modules screen, select Accept and press Enter.

Step 6 The system automatically downloads the patch packages for update. On the screen shown in
Figure 7-1, select OK and press Enter. On the screen shown in Figure 7-2, select Accept
and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 92


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Figure 7-1 Automatically downloading the patch packages for update

Figure 7-2 Patch package list

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 93


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 7 After certain patch packages are installed, you need to restart the system for the patches to
take effect. Select Continue and press Enter on the confirmation screen. Then select Accept
and press Enter.

Step 8 The system starts downloading and installing the patch packages. When the download is
complete, select Finish and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 94


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 9 On the Release Notes screen, click Close.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 95


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 10 Click OK for the configuration to take effect.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 96


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 11 Exit YaST. The configuration takes effect after the system is restarted.

----End

7.1.5 Modifying the hosts File

For two-node HA or cluster networking, see the corresponding installation guide to modify the hosts
file.

Edit the hosts file as follows to enable the HANA server host name and IP address parsing:

Step 1 Run the vi /etc/hosts command to open the hosts file.


hw00001: # vi /etc/hosts

Step 2 Press i to make the hosts file editable and add the following information to the file.

In the following information, the host names and IP addresses are examples only. Change them based on
the actual situation. The IP addresses must be the service port IP addresses.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.2.10 hw00001 hw00001

Step 3 Press Esc to switch the vi editor to the CLI mode. Press the colon (:) key to switch to the
bottom line mode. Enter wq and press Enter to save the configuration and exit.

----End

7.1.6 Installing the Kernel and Other Patch Packages

If the online upgrade has been performed in the preceding sections, you do not need to upgrade the
kernel and other patch packages separately.
Upgrade the kernel package and required patch packages (see Software Planning (SLES)). This section
uses the kernel and patch packages of SLES12 SP2 as examples to describe the upgrade procedure. For
SLES12 SP3, see Installing OS Patch Packages and Running the OS Configuration Script and skip
Installing the Kernel and Other Patch Packages to Checking the Configurations.

Step 1 Use the XFTP tool to copy the kernel and other gcc patch packages to the server.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 97


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 2 Use the Xshell tool to connect to the server and log in to the server as the root user.
Step 3 Run the cd command to switch the path. For example: cd /home/kernel/ or cd /home/GCC).
Step 4 Run the rpm -ivh kernel-default-4.4.74-92.35.1.x86_64.rpm command to install the kernel
patch package. See the following information:

hw00001:/home/kernel # rpm -ivh kernel-default-4.4.74-92.35.1.x86_64.rpm


Preparing... ################################# [100%]
Updating / installing...
1:kernel-default-4.4.74-92.35.1 ################################# [100%]
Creating initrd: /boot/initrd-4.4.74-92.35-default
dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /
boot/initrd-4.4.74-92.35-default 4.4.74-92.35-default
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: warpclock ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: dm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
dracut: Skipping udev rule: 55-dm.rules
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: lvm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 56-lvm.rules
dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: suse-btrfs ***
dracut: *** Including module: suse-xfs ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 98


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

dracut: Skipping udev rule: 50-firmware.rules


dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: haveged ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including module: suse ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies and firmware ***
dracut: *** Installing kernel module dependencies and firmware done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: rd.lvm.lv=vg_os/swap
rd.lvm.lv=vg_os/root
dracut: resume=/dev/mapper/vg_os-swap
dracut: root=/dev/mapper/vg_os-root rootfstype=ext4
rootflags=rw,relatime,data=ordered
dracut: *** Creating image file '/boot/initrd-4.4.74-92.35-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-4.4.74-92.35-default'
done ***

Step 5 Run the cd/home/GCC command to switch to the directory where other packages are stored,
and run the rpm -Uvh <patch> command to perform the upgrade. See the following
information:

hw00001:/home/GCC # rpm -Uvh dracut-044.1-109.8.3.x86_64.rpm


Preparing... ################################# [100%]
Updating / installing...
1:dracut-044.1-109.8.3 ################################# [ 50%]
Cleaning up / removing...
2:dracut-044-87.1 ################################# [100%]
Creating initrd: /boot/initrd-4.4.21-69-default
dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /
boot/initrd-4.4.21-69-default 4.4.21-69-default
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: warpclock ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: dm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
dracut: Skipping udev rule: 55-dm.rules
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: lvm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 56-lvm.rules
dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: suse-btrfs ***
dracut: *** Including module: suse-xfs ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 99


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

dracut: Skipping udev rule: 50-firmware.rules


dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: Skipping udev rule: 61-persistent-storage-compat.rules
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: haveged ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including module: suse ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies and firmware ***
dracut: *** Installing kernel module dependencies and firmware done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: rd.lvm.lv=vg_os/swap
rd.lvm.lv=vg_os/root
dracut: resume=/dev/mapper/vg_os-swap
dracut: root=/dev/mapper/vg_os-root rootfstype=ext4
rootflags=rw,relatime,data=ordered
dracut: *** Creating image file '/boot/initrd-4.4.21-69-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-4.4.21-69-default' done
***

hw00001:/home/GCC # rpm -Uvh systemd*


error: Failed dependencies:
udev = 228-150.15.2 is needed by systemd-228-150.15.2.x86_64

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 100


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

2288H:/home/GCC # rpm -Uvh systemd* udev-228-150.15.2.x86_64.rpm


Preparing... ################################# [100%]
Updating / installing...
1:systemd-228-150.15.2 ################################# [ 10%]
2:udev-228-150.15.2 ################################# [ 20%]
3:systemd-sysvinit-228-150.15.2 ################################# [ 30%]
4:systemd-bash-completion-228-150.1################################# [ 40%]
5:systemd-32bit-228-150.15.2 ################################# [ 50%]
Cleaning up / removing...
6:systemd-sysvinit-228-117.12 ################################# [ 60%]
7:udev-228-117.12 ################################# [ 70%]
Job for systemd-udevd-control.socket failed. See "systemctl status systemd-udevd-
control.socket" and "journalctl -xe" for details.
Job for systemd-udevd-kernel.socket failed. See "systemctl status systemd-udevd-
kernel.socket" and "journalctl -xe" for details.
8:systemd-228-117.12 ################################# [ 80%]
9:systemd-bash-completion-228-117.1################################# [ 90%]
10:systemd-32bit-228-117.12 ################################# [100%]
Creating initrd: /boot/initrd-4.4.21-69-default
dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /
boot/initrd-4.4.21-69-default 4.4.21-69-default
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: warpclock ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: dm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
dracut: Skipping udev rule: 55-dm.rules
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: lvm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 56-lvm.rules
dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: suse-btrfs ***
dracut: *** Including module: suse-xfs ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: haveged ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including module: suse ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies and firmware ***
dracut: *** Installing kernel module dependencies and firmware done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: rd.lvm.lv=vg_os/swap
rd.lvm.lv=vg_os/root

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 101


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

dracut: resume=/dev/mapper/vg_os-swap
dracut: root=/dev/mapper/vg_os-root rootfstype=ext4
rootflags=rw,relatime,data=ordered
dracut: *** Creating image file '/boot/initrd-4.4.21-69-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-4.4.21-69-default' done
***

Step 6 After the installation is complete, restart the system for patch package installation to take
effect.

----End

7.1.7 Running the OS Configuration Script

1. Skip sections 8, 9, and 10 if the OS configuration script is executed.


2. Download the configuration script according to the installed OS. This section uses SUSE 12 SP3 as
an example.

Step 1 Use a tool, such as XFTP, to deploy OS configuration script suse12sp3_hana_host.sh


(downloaded from OneBox) on the server. You can place the script under the /home directory.
Step 2 Run the chmod +x suse12sp3_hana_host.sh command to grant the execute permission on
the OS configuration script.
Step 3 Run the ./ suse12sp3_hana_host.sh command to complete the OS configuration and restart
the OS for the configuration to take effect.

----End

7.1.8 Configuring System Parameters


Step 1 Log in to the OS as the root user.

Step 2 Run the vi/etc/init.d/boot.local command to open the boot.local file.

Step 3 Press i to enter the editing mode, move the cursor to the end of the file and add the following
content:

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 102


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

cpupower frequency-set -g performance

cpupower set -b 0

echo 0 > /sys/kernel/mm/ksm/run

Step 4 Press Esc, enter :wq, and press Enter to save the settings and exit.

Step 5 Run the vim /usr/lib/tuned/sap-hana/tuned.conf command, press i to enter the editing mode,
change the value of force_latency to 70, and change the value of script, as shown in the
following:

[script]

script = /usr/lib/tuned/sap-hana/script.sh

Step 6 Press Esc, enter :wq, and press Enter to save the settings and exit.

Step 7 Run the mkdir /etc/tuned/sap-hana command to create a directory, and then run the
cp /usr/lib/tuned/sap-hana/tuned.conf /etc/tuned/sap-hana/tuned.conf command to copy
the tuned.conf file.
hw00001:~ # mkdir /etc/tuned/sap-hana
hw00001:~ # cp /usr/lib/tuned/sap-hana/tuned.conf /etc/tuned/sap-hana/tuned.conf

Step 8 Run the mkdir /etc/systemd/logind.conf.d command to create a directory, and run the
vim /etc/systemd/logind.conf.d/sap.conf command to create the sap.conf file.
hw00001:~ # mkdir /etc/systemd/logind.conf.d
hw00001:~ # vim /etc/systemd/logind.conf.d/sap.conf

Step 9 Press i to enter the editing mode and add the content shown as below. Press Esc, enter :wq,
and press Enter to save the settings and exit.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 103


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

[Login]
UserTasksMax=infinity

----End

7.1.9 Configuring the tuned Service

The sap-hana configuration file of the tuned service provided by SLES 12 for SAP includes various
hardware configurations, including power regulator and efficiency mode. The configuration in this file
will overwrite the OS configuration.

Run the following commands to start the tuned service:


# zypper install sapconf
# tuned-adm profile sap-hana
# systemctl start tuned
# systemctl enable tuned
# saptune solution apply HANA

7.1.10 Configuring the grub File

Step 1 Log in to the OS as the root user.

Step 2 Run the vi /etc/default/grub command to open the grub file. Add four parameters between
GRUB_CMDLINE_LINUX_DEFAULT and showopts.
transparent_hugepage=never numa_balancing=disable intel_idle.max_cstate=1
processor.max_cstate=1

Step 3 On the CLI, press Esc, type :wq, and press Enter to save the settings and exit.

Step 4 Run the grub2-mkconfig -o /boot/grub2/grub.cfg command to generate the grub


configuration file.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 104


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Restart the OS for the configuration to take effect.

----End

7.1.11 Disabling the fstrim.timer and fstrim.service Services

This chapter applies only to SLES 12 SP2/SLES 12 SP3/SLES 12 SP4/SLES 15. For other OS versions,
skip this chapter.

Step 1 Stop the fstrim.timer service.


hw00001:~ # systemctl stop fstrim.timer

Step 2 Disable the automatic startup of the fstrim.timer service upon system startup.
hw00001:~ # systemctl disable fstrim.timer

Step 3 Stop the fstrim.service service.


hw00001:~ # systemctl stop fstrim.service

Step 4 Disable the automatic startup of the fstrim.service service upon system startup.
hw00001:~ # systemctl disable fstrim.service

Step 5 Run the following command to check the status of the fstrim.timer service, and ensure that
the Active is inactive (dead).
hw00001:~ # systemctl status fstrim.timer

Step 6 Run the following command to check the status of the fstrim.service service, and ensure that
the Active is inactive (dead).
hw00001:~ # systemctl status fstrim.service

Step 7 Run the following command to check the automatic startup of the fstrim.timer service upon
system startup, and ensure that the Loaded is disabled.
hw00001:~ # systemctl list-unit-files | grep fstrim.timer

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 105


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 8 Run the following command to check the automatic startup of the fstrim.service service upon
system startup, and ensure that the Loaded is static.
hw00001:~ # systemctl list-unit-files | grep fstrim.service

----End

7.1.12 Checking the Configurations


After the restart, check whether the parameter settings take effect.

Step 1 Run the cat /sys/kernel/mm/transparent_hugepage/enabled command to check whether the


transparent huge page is disabled.
In the displayed information, never indicates that the transparent huge page has been
disabled.
HW00001:~ # cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]

Step 2 Run the cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor command to check the


CPU working mode. performance indicates the high-performance mode.
HW00001:~ # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance

Step 3 Run the cat /proc/cpuinfo |grep MHz command to check that the CPU working frequency is
normal.
hw00001:~ # cat /proc/cpuinfo |grep MHz

----End

7.2 Installing the OS (SLES 15)

7.2.1 Installing SLES 15 for SAP

Step 1 Mount the OS ISO file to the virtual DVD drive. On the KVM screen, click on the
toolbar, select Image File, select the SLE-15-Installer-DVD-x86_64-GM-DVD1.iso image
file to be mounted, and click Connect.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 106


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 2 Restart the server. During the startup, press F11 as prompted. In the displayed dialog box,
enter the password (default password: Admin@9000).

Step 3 Select Boot Manager and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 107


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 4 Select EFI USB Device and press Enter.

Step 5 In the initial installation window, select Installation and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 108


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 6 Select SUSE Linux Enterprise Server for Sap Applications 15 and click Next.

Step 7 Select I Agree to the License Terms and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 109


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 8 Select Skip Registration, click OK in the displayed dialog box, and click Next.

Step 9 Select I would like to Install an additional Add On Product, and select DVD.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 110


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 10 Eject CD-ROM drive SLE-15-Installer-DVD-x86_64-GM-DVD1.iso and insert CD-ROM


drive SLE-15-Packages-x86_64-GM-DVD1.iso. Then click Next.

Step 11 Click Continue and Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 111


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 12 Select modules based on site requirements and click Next. Available modules include:
l Basesystem-Module 15-0
l Desktop-Applications-Module 15-0
l Development-Tools-Module 15-0
l Legacy-Module 15-0
l SAP-Applications-Module 15-0
l SLE-15-SAP 15-0
l SLEHA15 15-0
l Server-Applications-Module 15-0

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 112


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 13 Retain the default settings and click Next.

Step 14 Select SLES for sap Application and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 113


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 15 Deselect Launch SAP product installation wizard right after operating system is
installed and click Next.

Step 16 Select Start with Current Proposal from the Expert Partitioner drop-down list box and
press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 114


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 17 Choose Hard Disks > sda and click Add.

For initial installation, click Add. For OS reinstallation, click Delete to delete existing
partitions one by one.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 115


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 18 Select Custom Size, set Size to 1 GiB, and click Next.

Step 19 Select EFI Boot Partition and click Next.

Step 20 Click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 116


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 21 Click Add.

Step 22 Select Maximum Size under New Partition Size and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 117


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 23 Set Role to Operating System and click Next.

Step 24 Choose Do not format partition, set File system ID to Linux LVM, and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 118


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 25 In the System View area on the left, select Volume Management, click Add, and select
Volume Group.

Step 26 Enter a name (for example, vg_os) in Volume Group Name, select /dev/sda2 from Available
Devices on the left, click Add, and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 119


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 27 In the System View area on the left, select the created vg_os volume group and click Add.

Step 28 Enter swap in the Logical Volume text box and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 120


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 29 Select Custom Size, set Size to 20 GiB, and click Next.

Step 30 Set Role to Swap and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 121


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 31 Click Finish.

Step 32 Click Add.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 122


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 33 Enter usr_sap in the Logical Volume text box and click Next.

Step 34 Select Custom Size, set Size to 200.00 GiB, and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 123


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 35 Select Operating System and click Next.

Step 36 Choose Format partition and set File System to Ext4. Choose Mount partition, set Mount
Point to /usr/sap, and click Finish.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 124


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 37 Click Add.

Step 38 Enter root in the Logical Volume text box and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 125


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 39 Select Maximum Size and click Next.

Step 40 Select Operating System and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 126


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 41 Choose Format partition and set File System to Ext4. Choose Mount partition, set Mount
Point to /, and click Finish.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 127


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 42 Repeat Step 19 to Step 35 to create /dev/sdb. During partition creation, set Role to Data and
ISV Applications and click Next.

For details about the size of the /dev/sdb partition, see 1 Solution Overview. The sizes of the
partitions used in this step are as follows:

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 128


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

No. Partition File Mount Point Description


Size System

1 1.7 TB xfs /hana/data The partition size is three


times of the memory size. If
the memory size is 2 TB, the
partition size is 6 TB.

2 512 GB xfs /hana/log -

3 Remaining xfs /hana/shared Reserved space.


space

Step 43 Click Accept.

Step 44 Click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 129


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 45 Set the time zone and click Next.

Set the time zone based on site requirements.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 130


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 46 Set a password for the root user and click Next.

The password must contain uppercase letters, lowercase letters, digits, and special characters,
for example, Huawei_123.

Step 47 Click Software.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 131


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 48 Select SAP HANA Server Base and click OK.

Step 49 In the Firewall and SSH area, click disable to disable the firewall. Click Install.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 132


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 50 Eject SLE-15-Packages-x86_64-GM-DVD1.iso and insert SLE-15-Installer-DVD-x86_64-


GM-DVD1.iso as prompted.

Step 51 Click Retry and wait for the installation to complete.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 133


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

----End

7.2.2 Changing a Host Name

If you need to uninstall the existing SAP HANA database, perform operations in 9.5 Uninstalling the
Database and then change the host name. Otherwise, uninstalling the database will fail.

Step 1 Run the vim /etc/hostname command to open the hostname file. Enter i to enter the editing
mode. Change the local host name of the server to hw00001.
Step 2 Press Esc and type :wq and press Enter to save the configuration and exit.

Step 3 Run the hostname hw00001 command.

Step 4 Exit and use the changed host name hw00001 to log in.

----End

7.2.3 Installing the net-tools-deprecated Tool


By default, the OS does not have the ifconfig network tool. Perform the following steps to
install the net-tools-deprecated tool to make commands available.

Step 1 Click Activites in the upper left corner and enter enterminal in the search box.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 134


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 2 Open a terminal interface, type yast2, and press Enter.

Step 3 Insert CD-ROM drive SLE-15-Packages-x86_64-GM-DVD1.iso and select Software


Management on the yast2 interface.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 135


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 4 On the page that is displayed, select the first four items in the left pane. Then enter ifconfig in
the search box and click Search. In the right pane, the search results are displayed, select the
net-tools-deprecated installation package and click Accept to complete the installation.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 136


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

----End

7.2.4 Configuring IP Addresses


Step 1 Open a terminal, enter yast2 and press Enter.

Step 2 Enter Network in the search box and select Network Settings in the search result.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 137


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 3 Select the network port (eth2 in this example) in the Connection state, and click Edit. For
details about how to confirm the network port, see the following NOTE.

You can choose System Info > Network on the iBMC Web page to view the network port status, as
shown in the following figure. Use the MAC address displayed on the iBMC and the MAC address
displayed on the YaST2 to confirm the network port to be configured with an IP address.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 138


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 4 Set IP Address to 192.168.2.200 and Subnet Mask to 255.255.0.0 according to the plan. Set
the IP address based on site requirements. Click Next and OK in sequence.

Step 5 Run the ifconfig eth2 command and press Enter to check whether the IP address is set
successfully. If the command output is similar to the information shown in the following
figure, the IP address is set successfully.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 139


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 6 Use the Xshell tool to connect to the OS and check whether the network configuration is
successful.

1. Double-click the Xshell icon (download and install the Xshell software in advance),
enter ssh 192.168.2.200, and press Enter.

2. In the dialog box shown in the preceding figure, choose Accept and Save. In the SSH User
Name dialog box, enter the user name for logging in to the OS, for example, root.

3. In the SSH User Authentication dialog box, select Keyboard Interactive.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 140


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

4. Enter the login password. The password is the one set for the root user during the OS
installation.

5. Click OK. The login is successful.

Step 7 Log in to the server as the root user, run yast2, enter Network in the search box, and choose
Network Settings.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 141


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

l Step 8 to Step 16 are performed to configure the bond network port for connecting to the service
network. If you do not need to configure the bond network port, skip these steps.

Step 8 Select a 10GE network port and click Edit.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 142


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 9 Select No Link and IP Setup (Bonding Slaves) and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 143


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 10 Repeat Step 8 to Step 10 to configure the second 10GE network port.

Step 11 Add a bond network port and click Add.

Step 12 Select Bond from the Device Type drop-down list box and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 144


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 13 Select Statically Assigned IP Address, and enter the planned IP address, subnet mask, and
host name.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 145


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 14 Click the Bond Slaves tab, select the two network ports (one from each NIC) to be bonded. In
Bond Driver Options, select mode=2 (or mode=balance-xor), and click Next.

Step 15 The bond0 network port is displayed on the Overview tab page. Repeat the preceding steps to
configure other bond network ports. After the configuration is complete, click OK to save the
settings and make them take effect.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 146


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

----End

7.2.5 Modifying the hosts File

For two-node HA or cluster networking, see the corresponding installation guide to modify the hosts
file.

Edit the hosts file as follows to enable the HANA server host name and IP address parsing:

Step 1 Run the vi /etc/hosts command to open the hosts file.


hw00001: # vi /etc/hosts

Step 2 Press i to make the hosts file editable and add the following information to the file.

In the following information, the host names and IP addresses are examples only. Change them based on
the actual situation. The IP addresses must be the service port IP addresses.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.2.10 hw00001 hw00001

Step 3 Press Esc to switch the vi editor to the CLI mode. Press the colon (:) key to switch to the
bottom line mode. Enter wq and press Enter to save the configuration and exit.

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 147


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

7.2.6 Installing the Kernel and Other Patch Packages

Upgrade the kernel package and required patch packages (see Software Planning (SLES)).

Step 1 Use the XFTP tool to copy the kernel and other patch packages to the server.

Step 2 Use the Xshell tool to connect to the server and log in to the server as the root user.

Step 3 Run the cd command to switch the path. For example: cd /home/ospatch.

Step 4 Run the kernel-default-4.12.14-25.25.1.x86_64.rpm command to install the kernel patch


package. See the following information:
hw00001:/home/ospatch # rpm -ivh kernel-default-4.12.14-25.25.1.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:kernel-default-4.12.14-25.25.1 ################################# [100%]
Creating initrd: /boot/initrd-4.12.14-25.25-default
dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /
boot/initrd-4.12.14-25.25-default 4.12.14-25.25-default
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid'
could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid'
could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: warpclock ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: Could not find FONT_MAP none!
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: dm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
dracut: Skipping udev rule: 55-dm.rules
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: lvm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 56-lvm.rules
dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: suse-xfs ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: dracut-systemd ***

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 148


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

dracut: *** Including module: haveged ***


dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including module: suse ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies and firmware ***
dracut: *** Installing kernel module dependencies and firmware done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing GenuineIntel.bin ****
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: rd.lvm.lv=vg_os/lv_swap
rd.lvm.lv=vg_os/lv_root
dracut: resume=/dev/mapper/vg_os-lv_swap
dracut: root=/dev/mapper/vg_os-lv_root rootfstype=ext4
rootflags=rw,relatime,data=ordered
dracut: *** Creating image file '/boot/initrd-4.12.14-25.25-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-4.12.14-25.25-default'
done ***

Step 5 Run the rpm -Uvh <patch> command to perform the upgrade. See the following
information:
hw00001:/home/ospatch # rpm -Uvh SAPHanaSR*
Preparing... ################################# [100%]
Updating / installing...
1:SAPHanaSR-doc-0.152.22-4.3.2 ################################# [ 50%]
2:SAPHanaSR-0.152.22-4.3.2 ################################# [100%]
Updating / installing...
1:SAPHanaSR-0.152.22-4.3.2 ################################# [100%]

Step 6 After the installation is complete, restart the system for patch package installation to take
effect.

----End

7.2.7 Running the OS Configuration Script

1. Skip sections 8, 9, and 10 if the OS configuration script is executed.


2. Download the configuration script according to the installed OS.

Step 1 Use a tool, such as XFTP, to deploy OS configuration script suse12_hana_host.sh


(downloaded from OneBox) on the server. You can place the script under the /home directory.

Step 2 Run the chmod +x suse15_hana_host.sh command to grant the execute permission on the
OS configuration script.

Step 3 Run the ./ suse15_hana_host.sh command to complete the OS configuration and restart the
OS for the configuration to take effect.

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 149


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

7.2.8 Configuring System Parameters


Step 1 Log in to the OS as the root user.

Step 2 Run the vi/etc/init.d/boot.local command to open the boot.local file.

Step 3 Press i to enter the editing mode, move the cursor to the end of the file and add the following
content:

cpupower frequency-set -g performance

cpupower set -b 0

echo 0 > /sys/kernel/mm/ksm/run

Step 4 Press Esc, enter :wq, and press Enter to save the settings and exit.

----End

7.2.9 Configuring the tuned Service

The sap-hana configuration file of the tuned service provided by SLES 15 for SAP includes various
hardware configurations, including power regulator and efficiency mode. The configuration in this file
will overwrite the OS configuration.

Run the following commands to start the tuned service:

# systemctl start tuned

# systemctl enable tuned

# saptune solution apply HANA

# saptune daemon start

7.2.10 Configuring the grub File

Step 1 Log in to the OS as the root user.

Step 2 Run the vi /etc/default/grub command to open the grub file. Add four parameters between
GRUB_CMDLINE_LINUX_DEFAULT and showopts.

transparent_hugepage=never numa_balancing=disable intel_idle.max_cstate=1


processor.max_cstate=1

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 150


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 3 On the CLI, press Esc, type :wq, and press Enter to save the settings and exit.
Step 4 Run the grub2-mkconfig -o /boot/grub2/grub.cfg command to generate the grub
configuration file.

Restart the OS for the configuration to take effect.


----End

7.2.11 Disabling the fstrim.timer and fstrim.service Services

This chapter applies only to SLES 12 SP2/SLES 12 SP3/SLES 12 SP4/SLES 15. For other OS versions,
skip this chapter.

Step 1 Stop the fstrim.timer service.


hw00001:~ # systemctl stop fstrim.timer

Step 2 Disable the automatic startup of the fstrim.timer service upon system startup.
hw00001:~ # systemctl disable fstrim.timer

Step 3 Stop the fstrim.service service.


hw00001:~ # systemctl stop fstrim.service

Step 4 Disable the automatic startup of the fstrim.service service upon system startup.
hw00001:~ # systemctl disable fstrim.service

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 151


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 5 Run the following command to check the status of the fstrim.timer service, and ensure that
the Active is inactive (dead).
hw00001:~ # systemctl status fstrim.timer

Step 6 Run the following command to check the status of the fstrim.service service, and ensure that
the Active is inactive (dead).
hw00001:~ # systemctl status fstrim.service

Step 7 Run the following command to check the automatic startup of the fstrim.timer service upon
system startup, and ensure that the Loaded is disabled.
hw00001:~ # systemctl list-unit-files | grep fstrim.timer

Step 8 Run the following command to check the automatic startup of the fstrim.service service upon
system startup, and ensure that the Loaded is static.
hw00001:~ # systemctl list-unit-files | grep fstrim.service

----End

7.2.12 Checking the Configurations


After the restart, check whether the parameter settings take effect.
Step 1 Run the cat /sys/kernel/mm/transparent_hugepage/enabled command to check whether the
transparent huge page is disabled.
In the displayed information, never indicates that the transparent huge page has been
disabled.
HW00001:~ # cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]

Step 2 Run the cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor command to check the


CPU working mode. performance indicates the high-performance mode.
HW00001:~ # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance

Step 3 Run the cat /proc/cmdline command to check whether parameter


transparent_hugepage=never numa_balancing=disable intel_idle.max_cstate=1
processor.max_cstate=1 is added successfully.
HW00001:~ # cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.12.14-25.25-default root=/dev/mapper/vg_os-lv_root

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 152


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

numa_balancing=disable nohz=off transparent_hugepage=never


intel_idle.max_cstate=1 processor.max_cstate=1 resume=/dev/vg_os/lv_swap
splash=silent quiet showopts crashkernel=221M,high crashkernel=72M,low

Step 4 Run the cat /proc/cpuinfo |grep MHz command to check that the CPU working frequency is
normal.
hw00001:~ # cat /proc/cpuinfo |grep MHz

Step 5 Run the uname -r command to check whether the kernel version is the upgrade target
version.
HW00001:~ # uname -r
4.12.14-25.25-default

----End

7.3 Installing the OS (RHEL)

7.3.1 Installing RHEL 7.3/7.4/7.6 for SAP


This section uses RHEL 7.3 for SAP as an example to describe how to install the OS. The
procedure for installing RHEL 7.4/7.6 for SAP is the same as that for installing RHEL 7.3 for
SAP.

Step 1 Mount the OS ISO file to the virtual DVD drive. On the KVM screen, click on the
toolbar, select Image File, select an image file to be mounted, and click Connect.

Step 2 Restart the server. During the startup, press F11 as prompted. In the displayed dialog box,
enter the password (default password: Admin@9000).

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 153


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 3 Select Boot Manager and press Enter.

Step 4 Select EFI USB Device and press Enter.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 154


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 5 On the initial installation screen, select Install Red Hat Enterprise Linux 7.3 and press
Enter.

Step 6 Set the language to English (United States) and click Continue.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 155


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 7 Click DATE & TIME.

Step 8 Set the date and time based on site requirements, for example, Shanghai. Click Done.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 156


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 9 Click SOFTWARE SELECTION.

Step 10 Perform the following settings and click Done to save the configuration:
1. In the Base Environment pane, select Infrastructure Server.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 157


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

2. In the Add-Ons for Selected Environment pane, select the following options:
– Large Systems Performance
– Network File System Client
– Performance Tools
– Compatibility Libraries

Step 11 Click INSTALLTION DESTINATION.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 158


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 12 In the Local Standard Disks pane, select sda. In the Other Storage Options pane, select I
will configure partitioning. Click Done in the upper left corner.

Step 13 Create the /boot/ partition.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 159


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

If other partitions exist on the disk, perform the following steps to delete the partitions and then create
the /boot/ partition:
1. Select an existing partition and click –.

2. Select the option for deleting all the partitions.

1. In the partitioning scheme area, select Standard Partition from the drop-down list
box, and click +.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 160


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

2. In the Add A NEW MOUNT POINT dialog box, set Mount Point to /boot and
Desired Capacity to 1 GiB, and click Add mount point.

3. Select the created /boot partition, set Mount Point to /boot, Desired Capacity to 1024
MiB, Device Type to Standard Partition, and File System to ext4. Click Update
Settings to update the configuration.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 161


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 14 Create the /boot/efi partition.


1. Click + in the lower left corner. In the Add A NEW MOUNT POINT dialog box, set
Mount Point to /boot/efi and Desired Capacity to 1 GiB, and click Add mount point.

2. Select the created /boot/efi partition, set Mount Point to /boot/efi, Desired Capacity to
1024 MiB, Device Type to Standard Partition, and File System to EFI System
Partition.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 162


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 15 Create the swap partition.


1. Click + in the lower left corner. In the Add A NEW MOUNT POINT dialog box, set
Mount Point to swap and Desired Capacity to 20 GiB, and click Add mount point.

2. Select the created swap partition, set Desired Capacity to 20 GiB, Device Type to
LVM, and File System to swap, and Select Create a new volume group in the Volume
Group area.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 163


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

3. In the CONFIGURE VOLUME GROUP dialog box, set Name to vg_os, select LSI
MR9361-8i, and click Save.

4. Check the configuration of the swap partition and click Update Settings.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 164


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 16 Create the /usr/sap partition.


1. Click +. In the Add A NEW MOUNT POINT dialog box, set Mount Point to /usr/sap,
and Desired Capacity to 200 GiB, and click Add mount point.

2. Select the /usr/sap partition. Set Device Type to LVM, Volume Group to vg_os, and
File System to ext4. Click Update Settings.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 165


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 17 Create the / partition.


1. Click +. In the Add A NEW MOUNT POINT dialog box, set Mount Point to /, leave
Desired Capacity to be blank, and click Add mount point.

2. Select the created / partition. Set Desired Capacity to the remaining size of sda, Device
Type to LVM, Volume Group to vg_os, and File System to ext4. Click Update
Settings.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 166


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

3. After the configuration is updated, click Done.

Step 18 In the SUMMARY OF CHANGES dialog box, click Accept Changes.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 167


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 19 On the INSTALLATION SUMMARY page that is displayed, click NETWORK & HOST
NAME.

Step 20 In the Host name text box in the lower left corner, enter the host name, for example,
hw00001. Click Apply.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 168


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

The configured host name is displayed in the lower right corner. Click Done in the upper left
corner to complete the configuration.

Step 21 On the INSTALLATION SUMMARY page that is displayed, click Begin Installation to
start the installation.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 169


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 22 Click ROOT PASSWORD and set the root user password. Click Done.

Step 23 After the installation is complete, click Reboot.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 170


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

----End

7.3.2 Creating PVs, VGs, and LVs

Perform the operations described in this section when the Red Hat operating system is installed and the
log, data, and shared volumes use the local disk scheme.

Step 1 Run the pvcreate /dev/sdb command to create a PV.

Step 2 Run the vgcreate vg_hana /dev/sdb command to create a VG volume.

Step 3 Run the following commands to create data, shared, and log LVs: For details about volume
sizes, see 1 Solution Overview. In this example, the log LV is 1 TB, the data LV is 4.5 TB,
and the shared LV is 3 TB.

#lvcreate -L 1T -n lv_log vg_hana

#lvcreate -L 4.5T -n lv_data vg_hana

#lvcreate -L 3T -n lv_shared vg_hana

Step 4 Run the following commands to format the created LVs:

#mkfs.xfs /dev/mapper/vg_hana-lv_data

#mkfs.xfs /dev/mapper/vg_hana-lv_log

#mkfs.xfs /dev/mapper/vg_hana-lv_shared

Step 5 Run the mkdir -p /hana/{log,data,shared} command to create a folder.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 171


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 6 Run the following commands to mount the LVs to the new folder:
# mount -o noatime,nodiratime /dev/mapper/vg_hana-lv_log /hana/log
# mount -o noatime,nodiratime /dev/mapper/vg_hana-lv_data /hana/data
# mount -o noatime,nodiratime /dev/mapper/vg_hana-lv_shared /hana/shared

Step 7 Run the vim /etc/fstab command, press i to enter the editing mode, and add the following
information: Press Esc, type :wq, and press Enter to save the settings and exit.

If an SSD disk is used as the log volume, you do not need to mount the log volume. Set this parameter
based on the site requirements. The configuration described in this section is for reference only.

----End

7.3.3 Changing a Host Name

If you need to uninstall the existing SAP HANA database, perform operations in 9.5 Uninstalling the
Database and then change the host name. Otherwise, uninstalling the database will fail.

Step 1 Run the vim /etc/hostname command to open the hostname file. Enter i to enter the editing
mode. Change the local host name of the server to hw00001.
Step 2 Press Esc and type :wq and press Enter to save the configuration and exit.

Step 3 Run the hostname hw00001 command.

Step 4 Run the logout command to exit the system. After the login, the host name is hw00001.

----End

7.3.4 Configuring IP Addresses


Step 1 Log in to the server as the root user.

Step 2 Run the vi /etc/sysconfig/network-scripts/ifcfg-eno1 command to open the configuration file


of the eno1 network port (use the actual network port based on site requirements).

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 172


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 3 Log in to the iBMC and check the MAC address of the network port in the Connection state.
Run the ifconfig command in the system to find the network port corresponding to the MAC
address.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 173


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 4 Set BOOTPROTO to static, ONBOOT to yes, the IP address to 192.168.2.200, and the
subnet mask to 255.255.255.0.

Step 5 Run the service network restart command for the network configuration to take effect.
[root@hw00001 network-scripts]# service network restart
Restarting network (via systemctl): [ OK ]

Step 6 Run the systemctl stop firewalld and systemctl disable firewalld commands to disable the
firewall so that errors do not occur in subsequent connections through tools such as Xshell.
[root@hw00001 home]# systemctl stop firewalld
[root@hw00001 home]# systemctl disable firewalld

Step 7 Log in to the server using Xshell.


1. Click the Xshell tool. (If Xshell has not been installed, download and install it from the
Internet.)
2. Run the ssh 192.168.2.200 command to log in to the server as the root user and press
Enter.
3. Enter the password set for the root user during the OS installation, and click OK.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 174


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

4. If the following information is displayed, the OS of the server whose IP address is


192.168.2.200 is successfully logged in:

Step 8 Log in to the server as the root user.

l Steps 7 to 11 are performed to configure the bond network port connected to the service network. If
you do not need to configure the bond network port, skip these steps.

Step 9 Create bond0.


[root@hw00001 ~]# nmcli con add type bond ifname bond0 mode balance-xor
Connection 'bond-bond0' (d0d5d0ef-067a-4cdc-87b6-60336b9fcded) successfully added.

Step 10 Run the following commands to configure the IP address of bond0:


[root@hw00001 network-scripts]# nmcli connection modify bond-bond0 ipv4.addresses
10.5.2.10/24
[root@hw00001 network-scripts]# nmcli connection modify bond-bond0 ipv4.method
manual

Step 11 Add slave ports.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 175


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

[root@hw00001 network-scripts]# nmcli con add type bond-slave ifname enp4s0f1


master bond-bond0
Connection 'bond-slave-enp4s0f1' (1be67cf4-db38-4ce9-9890-96e79aa4e1af)
successfully adde
[root@hw00001 network-scripts]# nmcli con add type bond-slave ifname enp4s0f2
master bond-bond0
Connection 'bond-slave-enp4s0f2' (55874086-3afe-46e7-9d02-06534ed46fd3)
successfully added.

Step 12 Check the configuration information. If the following information is displayed, the
configuration is successful:
[root@hw00001 network-scripts]# nmcli connection show
NAME?????????????????????? UUID????????????????????????????????? TYPE???????????
DEVICE
bond-bond0???????????????? d0d5d0ef-067a-4cdc-87b6-60336b9fcded? bond???????????
bond0
enp4s0f0?????????????????? 42aa6733-4226-458c-bc27-017b1a07d712? 802-3-ethernet?
enp4s0f0
bond-slave-ifcfg-enp4s0f1? 1be67cf4-db38-4ce9-9890-96e79aa4e1af? 802-3-ethernet?
--
bond-slave-ifcfg-enp4s0f2? 55874086-3afe-46e7-9d02-06534ed46fd3? 802-3-ethernet?
--

----End

7.3.5 Modifying the hosts File

For two-node HA or cluster networking, see the corresponding installation guide to modify the hosts
file.

Edit the hosts file as follows to enable the HANA server host name and IP address parsing:

Step 1 Run the vi /etc/hosts command to open the hosts file.


hw00001: # vi /etc/hosts

Step 2 Press i to make the hosts file editable and add the following information to the file.

In the following information, the host names and IP addresses are examples only. Change them based on
the actual situation. The IP addresses must be the service port IP addresses.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.2.10 hw00001 hw00001

Step 3 Press Esc to switch the vi editor to the CLI mode. Press the colon (:) key to switch to the
bottom line mode. Enter wq and press Enter to save the configuration and exit.

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 176


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

7.3.6 Registering the Linux System and Downloading Patch


Packages Online

This section describes how to activate the Linux OS and how to install a patch package and update the
operating system online. If the customer network cannot connect to the Internet directly or through the
proxy server, skip this section.
OS upgrade and maintenance
Huawei is responsible for OS installation and patch package installation and upgrade during project
implementation. After Huawei completes project delivery (after the system officially goes live on the
customer site), the customer is responsible for system upgrade, security update, and patch package
installation. The customer needs to add software components and modify the OS configuration
according to SAP notes to ensure system security and stability.

OS and kernel update


If the customer needs to update the OS kernel, the customer must take specific preventive
measures to prevent system startup failures after the kernel is updated. The SAP HANA
database must be shut down during the entire update process.

The following links are the official installation requirements:


https://access.redhat.com/articles/1187363
https://wiki.scn.sap.com/wiki/display/ATopics/Technical+Resources+for+SAP+HANA
+on+Red+Hat

Step 1 The customer registers an account with the Red Hat portal and activates the account.

For details about how to activate the official Red Hat website account, see section 1.2 "Registering and
Activating OS Subscriptions" in the Huawei SAP HANA Appliance Single Node and Two Node HA
Maintenance Guide.

Step 2 Run the subscription-manager register --auto-attach+ command to activate the Linux
operating system. During the activation, use the user name and password of the Red Hat
portal.
#subscription-manager register --auto-attach+
Username: <<username>>
Password: <<password>>

Step 3 Run the yum install yum-utils command to install yum repository components.
# yum install yum-utils

Step 4 Run the following command to open yum repositories:


# subscription-manager repos --enable="rhel-sap-hana-for-rhel-7-server-rpms" --
enable="rhel-7-server-extras-rpms" --enable="rhel-7-server-optional-rpms" --
enable="rhel-ha-for-rhel-7-server-rpms" --enable="rhel-7-server-rpms" --
enable="rhel-7-server-rt-rpms"

Step 5 Check the existing yum repositories.


#yum repolist

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 177


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 6 Run the subscription-manager release –set=7.3 command to set the updated version
number.
#subscription-manager release –set=7.3

Step 7 Update the patch package online.


#yum -y update

Step 8 Run the yum install yum-utils command to install the yum components.
#yum install yum-utils

Step 9 Run the yum -y groupinstall base command to install the basic package.
#yum -y groupinstall base

Step 10 Run the following command to install components required by SAP and Red Hat:
#yum install –y kernel cairo expect krb5-workstation krb5-libs libcanberra-gtk2
libaio libicu libpng12 libssh2 libtool-ltdl ntp ntpdate numactl openssl
PackageKit-gtk3-module rsyslog sudo tcsh xorg-x11-xauth xulrunner gtk2 graphviz
iptraf-ng lm_sensors nfs-utils gcc glibc glibc-devel kernel-devel libstdc++-devel
redhat-rpm-config rpm-build zlib-devel compat-sap-c++-6 compat-sap-c++-5
pacemaker corosync pcs tuned-profiles-sap-hana yum-utils fence-agents-all
resource-agents-sap-hana resource-agents

----End

7.3.7 Installing the Kernel and Other Patch Packages

If the online upgrade has been performed in the preceding sections, you do not need to upgrade the
kernel and other patch packages separately.
Upgrade the kernel package and required patch packages (see 3.6 Software Planning (RHEL)). This
section uses the kernel and patch packages of RHEL 7.3 as examples to describe the upgrade procedure.
For RHEL 7.4, see 7.1.7 Running the OS Configuration Script.

Step 1 Download the following patch packages from the Red Hat official website:
l compat-sap-c++-6-6.3.1-1.el7_3.x86_64.rpm
l dracut-033-502.el7.x86_64.rpm
l dracut-config-generic-033-502.el7.x86_64.rpm
l dracut-config-rescue-033-502.el7.x86_64.rpm
l dracut-network-033-502.el7.x86_64.rpm
l glibc-2.17-196.el7.x86_64.rpm
l glibc-common-2.17-196.el7.x86_64.rpm
l glibc-devel-2.17-196.el7.x86_64.rpm
l glibc-headers-2.17-196.el7.x86_64.rpm
l kernel-3.10.0-693.2.2.el7.x86_64.rpm
l kexec-tools-2.0.14-17.el7.x86_64.rpm
l linux-firmware-20170606-56.gitc990aae.el7.noarch.rpm
l python-linux-procfs-0.4.9-3.el7.noarch.rpm
l python-schedutils-0.4-6.el7.x86_64.rpm
l tuned-2.8.0-5.el7.noarch.rpm
l tuned-profiles-sap-hana-2.8.0-5.el7.noarch.rpm

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 178


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

l tuned-utils-2.8.0-5.el7.noarch.rpm
Step 2 Use the XFTP tool to copy the kernel and other patch packages to the server.

Step 3 Enter the path of the file to be uploaded. Run the rpm -Uvh <patches> command to upgrade
the patch package.

Figure 7-3 glibc*

Figure 7-4 kexec*

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 179


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Figure 7-5 python*

Figure 7-6 linux-firmware*

Figure 7-7 dracut*

Figure 7-8 compat-sap-c++-6*

Step 4 Run the rpm -ivh <kernel> command to upgrade the kernel.

Figure 7-9 kernel*

----End

7.3.8 Running the OS Configuration Script

1. Skip sections 9, 10, and 11 if the OS configuration script is executed.


2. Download the configuration script according to the installed OS.

Step 1 Use a tool, such as XFTP, to deploy OS configuration script


redhat7.6_prepare_hana_host.sh (downloaded from OneBox) on the server. You can place
the script under the /home directory.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 180


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 2 Run the chmod +x redhat7.6_prepare_hana_host.sh command to grant the execute


permission on the OS configuration script.
Step 3 Run the ./ redhat7.6_prepare_hana_host.sh command to complete the OS configuration and
restart the OS for the configuration to take effect.

----End

7.3.9 Configuring the tuned Service

The tuned service configuration file sap-hana provided by Red Hat Enterprise Linux 7 for SAP HANA
includes many of the following settings and some additional settings. Therefore, the tuned file must be
activated on all the systems running SAP HANA.

Step 1 Run the rpm -qa | grep tuned-profiles-sap-hana command to check whether the tuned
service is installed on the OS. If the tuned service is not installed, run the yum install tuned-
profiles-sap-hana command to install it.
[root@hw00001 ~]# rpm -qa | grep tuned-profiles-sap-hana
tuned-profiles-sap-hana-2.8.0-5.el7_4.2.noarch
[root@hw00001 ~]#

Step 2 Enable the tuned service and automatically configure the sap-hana file.
# systemctl start tuned
# systemctl enable tuned
# tuned-adm profile sap-hana

----End

7.3.10 Configuring System Parameters


Step 1 Log in to the OS as the root user.

Step 2 Run the vim /usr/lib/tuned/sap-hana/tuned.conf command and press i to enter the editing
mode. Ensure that the value of force_latency is set to 70.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 181


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 3 Press Esc, type :wq, and press Enter to save the settings and exit.

Step 4 Run the mkdir /etc/tuned/sap-hana command to create a directory, and then run the
cp /usr/lib/tuned/sap-hana/tuned /etc/tuned/sap-hana/tuned.conf command to copy the
tuned.conf file.
hw00001:~ # mkdir /etc/tuned/sap-hana
hw00001:~ # cp /usr/lib/tuned/sap-hana/tuned.conf /etc/tuned/sap-hana/tuned.conf

Step 5 Run the vim /etc/sysctl.d/sap_hana.conf command, press i to enter the editing mode, and add
kernel.numa_balancing = 0 to the file. If the file already contains kernel.numa_balancing
= 0, skip this step.

Step 6 Press Esc, type :wq, and press Enter to save the settings and exit.

Step 7 Run the sysctl -p /etc/sysctl.d/sap_hana.conf command.


hw00001:~ # sysctl -p /etc/sysctl.d/sap_hana.conf
kernel.numa_balancing = 0

Step 8 Run the systemctl stop numad and systemctl disable numad commands to disable the
numad service.

Step 9 Run the echo never > /sys/kernel/mm/transparent_hugepage/enabled command to disable


the transparent huge page during running.

Step 10 Run the echo 0 > /sys/kernel/mm/ksm/run command to stop the KSM immediately.

Step 11 Run the vim /etc/init.d/boot.local command to enter the editing mode of the boot.local file or
create the file if it does not exist. Add the following statements to the file, save the changes
and exit:

cpupower set -b 0

echo 0 > /sys/kernel/mm/ksm/run

Step 12 Run the chmod +x /etc/init.d/boot.local command to grant the execute permission on the
boot.local file.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 182


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

Step 13 Run the vim /etc/sysconfig/selinux command, press i to enter the editing mode, and change
the value of SELINUX to disabled. Change the value of SELINUX to disabled in /etc/
selinux/config in the same way.

Step 14 Press Esc, type :wq, and press Enter to save the settings and exit.

----End

7.3.11 Configuring the grub File


Step 1 Log in to the OS as the root user.
Step 2 Run the vi /etc/default/grub command to open the grub file. Add the following parameters
between GRUB_CMDLINE_LINUX and rhgb:
transparent_hugepage=never intel_idle.max_cstate=1 processor.max_cstate=1

Step 3 On the CLI, press Esc, enter :wq, and press Enter to save the settings and exit.
Step 4 Run the grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg command to generate the grub
configuration file.

Restart the OS for the configuration to take effect.

----End

7.3.12 Checking the Configurations


After the restart, check whether the settings take effect.

Step 1 Run the cat /sys/kernel/mm/transparent_hugepage/enabled command to check whether the


transparent huge page is disabled.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 183


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

In the displayed information, never indicates that the transparent huge page has been
disabled.
HW00001:~ # cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]

Step 2 Run the cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor command to check the


CPU working mode. performance indicates the high-performance mode.
HW00001:~ # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance

Step 3 Run the cat /proc/cmdline command to check whether parameter


transparent_hugepage=never intel_idle.max_cstate=1 processor.max_cstate=1 is added
successfully.
HW00001:~ # cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.10.0-957.10.1.el7.x86_64 root=/dev/mapper/vg--os-root ro
crashkernel=auto rd.lvm.lv=vg-os/root rd.lvm.lv=vg-os/swap rhgb
transparent_hugepage=never intel_idle.max_cstate=1 processor.max_cstate=1 quiet

Step 4 Run the cat /proc/cpuinfo |grep MHz command to check that the CPU working frequency is
normal.
hw00001:~ # cat /proc/cpuinfo |grep MHz

Step 5 Run the cat /etc/rc.d/boot.local command to check whether the cpupower frequency-set -g
performance is configured successfully.
hw00001:~ # cat /etc/rc.d/boot.local
cpupower frequency-set -g performance

Step 6 Run the sysctl -p /etc/sysctl.d/sap_hana.conf command to check whether the


kernel.numa_balancing = 0 is configured successfully.
hw00001:~ # sysctl -p /etc/sysctl.d/sap_hana.conf
kernel.numa_balancing = 0

Step 7 Run the cat /etc/init.d/boot.local command to check whether the cpupower set -b 0 and echo
0 > /sys/kernel/mm/ksm/run are configured successfully.
hw00001:~ # cat /etc/init.d/boot.local
cpupower set -b 0
echo 0 > /sys/kernel/mm/ksm/run

Step 8 Run the cat /etc/selinux/config and cat /etc/sysconfig/selinux commands to check whether
the SELINUX=disabled is configured successfully.
hw00001:~ # cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are
protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted

hw00001:~ # cat /etc/sysconfig/selinux


# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three values:

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 184


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 7 Installing the OS

# targeted - Targeted processes are protected,


# minimum - Modification of targeted policy. Only selected processes are
protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted

Step 9 Run the uname -r command to check whether the kernel version is the upgrade target
version.
HW00001:~ # uname -r
3.10.0-957.10.1.el7.x86_64

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 185


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

8 Configuring External Storage Devices

Storage devices are classified into built-in hard disks and external storage devices. The
multipathing service must be configured when external storage devices are used. You need to
configure external storage devices only when a server (such as CH121 V5 and CH242 V5)
does not have local storage.
8.1 Preparing for the Configuration
8.2 Configuring OceanStor 5500 V3
8.3 Configuring the Multipathing Service

8.1 Preparing for the Configuration


Step 1 Log in to the OS as the root user.

Step 2 Run the fdisk -l /dev/sd* command to check the status of sda and sdb.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 186


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

----End

8.2 Configuring OceanStor 5500 V3

This section uses the external storage of CH242 V5 (30x1.2T SAS HDD RAID5 from OceanStor 5500
V3) as an example to describe how to configure external storage.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 187


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 1 Enter https://ipaddress:8088 in the address box of your browser, in which ipaddress is the IP
address of the management network port on the storage system controller. Change ipaddress
to the actual IP address.
Step 2 Enter a user name and password to log in to OceanStor 5500 V3. (The default user name is
admin and the default password is Admin@storage.)

Step 3 In the navigation tree on the right, choose Provisioning. The resource configuration page is
displayed.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 188


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 4 Before the configuration, the storage resources allocated are 0. Click Create Disk Domain to
create a disk domain.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 189


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 5 In the displayed dialog box, enter the disk domain name and click Manually select and select
a disk.

Step 6 In the left pane of the Select Disk dialog box that is displayed, select thirty 1.2 TB SAS disks

(the actual available capacity of each 1.2 TB SAS disk is less than 1.2 TB), and click to
add them to Selected Disks on the right. The number of selected disks is displayed in the
lower part. After confirming that the information is correct, click OK.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 190


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 7 In the Create Disk Domain dialog box, check information about the selected disks, including
disk type, quantity, and hot spare policy (default value: High). After confirming that the
information is correct, click OK.

Step 8 In the displayed dialog box, click OK to create and initialize a disk domain.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 191


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 9 To view disk domain initiation status, choose Huawei.Storage > Provisioning > Disk
Domain. Select the created disk domain and click Properties. View the formatting progress
in the Format area of the dialog box that is displayed.

Step 10 After the initialization is complete, choose Huawei.Storage > Provisioning and click Create
Storage Pool to create a log storage pool.

Step 11 In the displayed dialog box, enter the storage pool name, set Disk Domain to the name of the
created disk domain, and set RAID Policy to RAID 5 and 13D+1P. (The capacity of the three

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 192


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

volumes is 25 TB. The size of the created storage pools must be greater than 25 TB. The 13D
+1P option meets this requirement.) In Capacity, set the capacity unit to GB, and enter 1050.
After confirming that the information is correct, click OK.

In this example, create three storage pools, namely, 1 TB log storage pool, 18 TB data storage pool, and
6 TB shared storage pool based on the plan. Ensure that the actual capacity of each created storage pool
is a little larger than the planned capacity so that the capacity of LVs to be created on the OS side can
meet the capacity requirements.

Step 12 Click Close. The log storage pool is created.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 193


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 13 Repeat the preceding steps to create the data and shared storage pools.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 194


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 195


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 14 Choose Huawei.Storage > Provisioning and click Create LUN.

Step 15 In the Create LUN dialog box that is displayed, enter a name, for example, LUN_log. Set
Owning Storage Pool to the name of the created log storage pool. In Capacity, select Use all
of the available capacity of the owing storage pool, and click Advanced. The advanced
settings are displayed.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 196


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 16 On the Properties tab page, set the parameters as shown in the following figure. After the
configuration is complete, click OK.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 197


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 17 Return to the Create LUN dialog box and click OK.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 198


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 18 Click Close. The log LUN is created.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 199


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 19 Repeat the preceding steps to create a data LUN. The advanced configuration of the data LUN
is as follows:

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 200


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 20 Repeat the preceding steps to create a shared LUN. The advanced configuration of the shared
LUN is as follows:

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 201


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 21 Choose Huawei.Storage > Provisioning and click Create LUN Group to create a LUN
group.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 202


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 22 On the Create LUN Group page that is displayed, enter a LUN group name. Select the three

new LUNs and click to add the LUNs to the right pane. After confirming that all the
LUN information is correct, click OK.

Step 23 Click Close. The log LUN group is created.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 203


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 24 Choose Huawei.Storage > Provisioning and click Create Host.

Step 25 In the displayed dialog box, enter a host name, set OS to Linux, and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 204


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 26 Select FC from the Initiator Type drop-down list box, select four online FC links, click

, and click Next. (To ensure that the FC link status is online, check that the server
connected to the storage is powered on.)

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 205


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 206


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 27 Check that the four FC links are normal and click Finish.

Step 28 In the Danger dialog box, select I have read and… and click Next.

Select I have read and… and click OK. The host is created.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 207


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Click Close.

Step 29 Choose Huawei.Storage > Provisioning > Host, select the created host. On the Initiator tab
page, select an FC link and click Modify. In the displayed dialog box, select Enable ALUA
and click OK. In the Success dialog box that is displayed, click OK.
Repeat the preceding steps to make the same settings for the other FC links.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 208


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 30 Choose Huawei.Storage > Provisioning and click Create Host Group.

Step 31 In the Create Host Group dialog box that is displayed, enter a host group name, select the

created host, click to add it to the right pane, and click OK.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 209


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 32 Click Close. The host group is created.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 210


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 33 Choose Huawei.Storage > Provisioning and click Create Mapping View to create a
mapping.

Step 34 In the Create Mapping View dialog box, enter a mapping view name and click ... in LUN
Group. In the displayed dialog box, select the created LUN group and click OK.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 211


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 35 Repeat the preceding steps to add Host Group. On the Create Mapping View page, click
OK. In the Danger dialog box that is displayed, select I have read and … and click OK.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 212


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

Step 36 Click Close. The mapping is created.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 213


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

----End

8.3 Configuring the Multipathing Service


Step 1 Run the systemctl enable multipathd.service and systemctl list-unit-files
multipathd.service commands to set the multipathing service to automatically start upon
system startup.
HW00001:~ # systemctl enable multipathd.service
HW00001:~ # systemctl list-unit-files multipathd.service
UNIT FILE STATE
multipathd.service enabled
1 unit files listed.

Step 2 Create the multipath.conf file in /etc, and add the following information to the end of the
file:

You need to manually create the multipath.conf file because it is not automatically generated after the
SAP HAHA installation.
HW00001:~ # vi /etc/multipath.conf
devices {
device {
vendor "HUAWEI"
product "XSG1"
path_grouping_policy group_by_prio
failback immediate
path_selector "round-robin 0"
path_checker tur
prio alua
fast_io_fail_tmo 5
detect_prio no
dev_loss_tmo 30
retain_attached_hw_handler "no"
hardware_handler 0

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 214


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

}
}

Step 3 Run the systemctl restart multipathd.service command to restart the multipathing service.
HW00001:~ # systemctl restart multipathd.service

Step 4 Run the rescan-scsi-bus.sh command to scan devices.


HW00001:~ #rescan-scsi-bus.sh
Scanning SCSI subsystem for new devices
Scanning host 0 for? SCSI target IDs? 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 0 0 0 0 ...
NEW: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE? Model: ST300MM0006 Rev: B001
Type: Direct-Access ANSI SCSI revision: 06
Scanning for device 0 0 1 0 ...
NEW: Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: SEAGATE? Model: ST300MM0006 Rev: B001
Type: Direct-Access ANSI SCSI revision: 06
Scanning for device 0 1 0 0 ...
OLD: Host: scsi0 Channel: 01 Id: 00 Lun: 00
Vendor: LSI Model: Logical Volume Rev: 3000
Type: Direct-Access ANSI SCSI revision: 06
Scanning host 1 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning host 2 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning host 3 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
...

Step 5 Run the multipath commands to load the LUNs.


HW00001:~ # multipath -F
HW00001:~ # multipath -v2
HW00001:~ # multipath -ll

If an error message similar to the figure below is displayed after you run the multipath command,
comment out the getuid_callout line in the multipath.conf file.

Step 6 Run the ll commands to check LUN WWIDs:


HW00001:~ # ll /dev/mapper
HW00001:~ # ll /dev/disk/by-id/

Step 7 Add the WWIDs to the multipath.conf file, and add the WWID of the disk where the
operating system is installed to the blacklist of multipath.conf.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 215


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

To check the local WWNs of the LUNs on the storage side, choose Huawei.Storage > Provisioning >
LUN and check LUN properties. The WWIDs to be added to the multipath.conf file are those next to
scsi in /dev/disk/by-id/.
The following is an example for viewing the WWIDs of local disks:

After the ll /dev/disk/by-id/ command is run, the following information is displayed: Search for disks
with partitions. The preceding figure shows that only the sda disk has partitions. Therefore, sda is a
local disk. Add the WWID of sda to the blacklist. The preceding figure is for reference only. Configure
the WWID based on the site requirements.

HW00001:~ # vi /etc/multipath.conf
blacklist {
wwid 36100008858def07421c2040b1a79a556
}
multipaths {
multipath {
wwid 3648fd8e100e4035d0b6f7d3b00000000
alias hana_log
}
multipath {
wwid 3648fd8e100e4035d0b70065600000002
alias hana_data
}
multipath {
wwid 3648fd8e100e4035d0b7053ce00000004
alias hana_shared
}
}

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 216


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

devices {
device {
vendor "HUAWEI"
product "XSG1"
path_grouping_policy group_by_prio
failback immediate
path_selector "round-robin 0"
path_checker tur
prio alua
fast_io_fail_tmo 5
detect_prio no
dev_loss_tmo 30
retain_attached_hw_handler "no"
hardware_handler 0
}
}

Step 8 Run the service multipathd reload command to reload the multipathing service. In /dev/
mapper, the WWIDs are replaced with the corresponding aliases.
HW00001:~ # service multipathd reload
HW00001:/dev/mapper # ll
total 0
crw------- 1 root root 10, 236 Dec 27 11:03 control
lrwxrwxrwx 1 root root 7 Dec 27 11:57 hana_data -> ../dm-8
lrwxrwxrwx 1 root root 7 Dec 27 11:57 hana_log -> ../dm-6
lrwxrwxrwx 1 root root 7 Dec 27 11:57 hana_shared -> ../dm-7
lrwxrwxrwx 1 root root 7 Dec 27 11:03 vg_os-root -> ../dm-0
lrwxrwxrwx 1 root root 7 Dec 27 11:03 vg_os-swap -> ../dm-1
lrwxrwxrwx 1 root root 7 Dec 27 11:03 vg_os-usr_sap -> ../dm-5

Step 9 Run the following commands to create the PVs corresponding to the LUNs:
HW00001:/dev/mapper # pvcreate /dev/mapper/hana_data
Physical volume "/dev/mapper/hana_data" successfully created
HW00001:/dev/mapper # pvcreate /dev/mapper/hana_log
Physical volume "/dev/mapper/hana_log" successfully created
HW00001:/dev/mapper # pvcreate /dev/mapper/hana_shared
Physical volume "/dev/mapper/hana_shared" successfully created

Step 10 Run the pvs command to view the created PVs.


HW00001:/dev/mapper # pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/hana_data lvm2 --- 4.51t 4.51t
/dev/mapper/hana_log lvm2 --- 1.03t 1.03t
/dev/mapper/hana_shared lvm2 --- 1.66t 1.66t
/dev/sda2 vg_os lvm2 a-- 836.25g 8.00m

Step 11 Run the following commands to create the VGs corresponding to the LUNs:
HW00001:/dev/mapper # vgcreate hana_log /dev/mapper/hana_log
Volume group "hana_log" successfully created
HW00001:/dev/mapper # vgcreate hana_data /dev/mapper/hana_data
Volume group "hana_data" successfully created
HW00001:/dev/mapper # vgcreate hana_shared /dev/mapper/hana_shared
Volume group "hana_shared" successfully created

Step 12 Run the vgs command to view the created VGs.


HW00001:/dev/mapper # vgs
VG #PV #LV #SN Attr VSize VFree
hana_data 1 0 0 wz--n- 4.51t 4.51t
hana_log 1 0 0 wz--n- 1.03t 1.03t
hana_shared 1 0 0 wz--n- 1.66t 1.66t
vg_os 1 3 0 wz--n- 836.25g 8.00m

Step 13 Run the following commands to create the LVs corresponding to the LUNs. For the size of
each LV, see the configuration requirements.
HW00001:/dev/mapper # lvcreate -L 1T -n lv_log hana_log
Logical volume "lv_log" created.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 217


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 8 Configuring External Storage Devices

HW00001:/dev/mapper # lvcreate -L 4.5T -n lv_data hana_data


Logical volume "lv_data" created.
HW00001:/dev/mapper # lvcreate -L 1.5T -n lv_shared hana_shared
Logical volume "lv_shared" created.

Step 14 Run the lvs command to view the created LVs.


HW00001:/dev/mapper # lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy
%Sync Convert
lv_data hana_data -wi-a-----
4.50t
lv_log hana_log -wi-a-----
1.00t
lv_shared hana_shared -wi-a-----
1.50t
root vg_os -wi-ao----
586.24g
swap vg_os -wi-ao----
50.00g
usr_sap vg_os -wi-ao---- 200.00g

Step 15 Format the LVs.


mkfs.xfs /dev/mapper/hana_data-lv_data
mkfs.xfs /dev/mapper/hana_log-lv_log
mkfs.xfs /dev/mapper/hana_shared-lv_shared
Step 16 Run the mkdir command to create mounting directories.
mkdir -p /hana/{data,log,shared}
Step 17 Run the mount commands to mount the LVs to the corresponding directories.
HW00001:/dev/mapper # mount -o noatime,nodiratime /dev/mapper/hana_log-lv_log /
hana/log/
HW00001:/dev/mapper # mount -o noatime,nodiratime /dev/mapper/hana_shared-
lv_shared /hana/shared/
HW00001:/dev/mapper # mount -o noatime,nodiratime /dev/mapper/hana_data-lv_data /
hana/data/

Step 18 Add the storage mounting directories to the /etc/fstab file so that the path can be
automatically mounted after the restart. The path varies according to the actual situation.
HW00001:~ # vim /etc/fstab

/dev/vg_os/swap swap swap defaults 0 0


/dev/vg_os/root / ext4 acl,user_xattr 1 1
UUID=FAF7-B526 /boot/efi vfat umask=0002,utf8=true 0 0
/dev/vg_os/usr_sap /usr/sap ext4 acl,user_xattr 1 2
/dev/mapper/hana_log-lv_log /hana/log xfs defaults 1 2
/dev/mapper/hana_data-lv_data /hana/data xfs defaults 1 2
/dev/mapper/hana_shared-lv_shared /hana/shared xfs defaults 1 2

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 218


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

9 Installing the SAP HANA Database

9.1 Preparing for the Installation


9.2 Installing the Database
9.3 Modifying HANA Database Parameters
9.4 Installing Multi-instance Databases
9.5 Uninstalling the Database

9.1 Preparing for the Installation


Step 1 Log in to the BMC WebUI and check that no hardware alarm exists.
Step 2 Download the latest SAP HANA database software (for example,
IMDB_SERVER20_020_0-80002031.SAR) and SAP compression and decompression tool
(for example, SAPCAR_816-80000935.EXE) from the SAP official website.
Step 3 Double-click WinSCP (free software, available at http://winscp.net/download/
winscp515.zip). Enter the server IP address, user name (root), and password (specified
during the OS installation) to log in to the server. Then copy the SAP HANA database
software and SAP compression and decompression tool to the server.

If the downloaded database file has already been decompressed on the local host, directly upload it to
the server.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 219


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

Step 4 Confirm the configuration information.


Parameter Description

HANA System ID The HANA system ID is a string of three characters, including


letters and digits. The first character must be a letter. An
example ID is S00.

Instance Number A HANA instance number, for example, 00, is used to identify
a HANA system from others in a server.

Database Mode l single_container: single-tenant mode


l multiple_containers: multi-tenant mode
NOTE
This option is unavailable during the installation of database 2.0. The
multi-tenant mode is used by default.

System Usage 1. Production: production environment


2. test: test environment
3. development: development environment
4. custom: customized database

System Password Database password.

Restrict maximum If multiple database instances are to be installed on a server,


memory you need to specify the maximum memory size for each
instance (the memory size can also be changed in the
configuration file after the instances are installed). For
example, you can restrict the maximum memory size to 256
GB.

----End

9.2 Installing the Database


Step 1 Log in to the server as the root user, and open the terminal CLI.

Step 2 Run the cd command to switch to the directory where the SAP HANA database software is
saved. The directory where the SAP HANA database software is saved is cd /hana/shared/
hana2.0 in this section.

Step 3 Run the chmod +x * command to add the execution permission.


hw00001:/hana/shared/hana2.0 # chmod +x *

Step 4 Run the ./SAPCAR_816-80000935.EXE -manifest SIGNATURE.SMF -xvf


IMDB_SERVER20_020_0-80002031.SAR command to decompress the database files
(SAPCAR and IMDB_SERVER are installed based on the site requirements). The
SAP_HANA_DATABASE and SIGNATURE.SMF folders are generated.
hw00001:/hana/shared/hana2.0 # ./SAPCAR_816-80000935.EXE -manifest SIGNATURE.SMF -
xvf IMDB_SERVER20_020_0-80002031.SAR

Step 5 Run the cp SIGNATURE.SMF SAP_HANA_DATABASE/ command to copy the


SIGNATURE.SMF file to SAP_HANA_DATABASE.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 220


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

Step 6 Install the SAP HANA database.


1. Run the cd SAP_HANA_DATABASE command to go to the
SAP_HANA_DATABASE directory, run the chmod +x -R * command to grant the
execute permission, and run the ./hdblcm command.
2. Configure database information.

– Installation path: Retain the default path /hana/shared.


– SAP HANA System ID: Enter SystemID, for example, S00 (SID defined according to
customer requirements).
– Enter the HANA data and log storage directories. Use the default paths /hana/data/ and /
hana/log/.
– Set User (SYSTEM) Password of the database, press Enter, enter the password again, and
press Enter. The password must contain uppercase letters, lowercase letters, digits, and special
characters.
– Change the value of Restrict maximum memory allocation? to n.
– Change the value of Restart instance after machine reboot? to n.
Information displayed on the SAP_HANA_DATABASE1.0 database configuration page:
[root@hw00001 05012GAN]# ./hdblcm

SAP HANA Lifecycle Management - SAP HANA 1.00.122.11.1499758750


***************************************************************

Scanning Software Locations...


Detected components:
SAP HANA Database (1.00.122.11.1499758750) in /home/05012GAN/server

Choose installation

Index | System | Database Properties


------------------------------------------------
1 | Install new system |
| |
2 | Extract components |
3 | Exit (do nothing) |

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 221


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

Enter selected system index [3]: 1 //Select 1 to install a new system.

Enter Installation Path [/hana/shared]: //Enter the installation path. In


this example, use the default value.
Enter Local Host Name [hw00001]: //Enter the host name. In this example, use
the default value.
Do you want to add additional hosts to the system? (y/n): n //Specify whether
to add other host names. In this example, enter n because this example
involves only one node.
Enter SAP HANA System ID: S01 //Enter the database system ID. In this
example, enter S01.
Enter Instance Number [00]: //Enter the database instance number. In this
example, set this parameter to 00.

Index | Database Mode | Description

------------------------------------------------------------------------------
-----------------
1 | single_container | The system contains one database
2 | multiple_containers | The system contains one system database and
1..n tenant databases

Select Database Mode / Enter Index [1]: //In this example, set this parameter
to a single tenant.

Index | System Usage | Description

------------------------------------------------------------------------------
-
1 | production | System is used in a production environment
2 | test | System is used for testing, not production
3 | development | System is used for development, not production
4 | custom | System usage is neither production, test nor
development

Select System Usage / Enter Index [4]: 1 //Enter the database usage. In this
example, the system is used as the production environment and therefore enter
1.
Enter Location of Data Volumes [/hana/data/S01]: //Enter the HANA data save
path. In this example, use the default value.
Enter Location of Log Volumes [/hana/log/S01]: //Enter the HANA log save
path. In this example, use the default value.
Restrict maximum memory allocation? [n]: n //Specify whether to limit the
HANA memory size. In this example, a single instance is used. Enter n.
Enter Certificate Host Name For Host 'hw00001' [hw00001]: //Use the default
value.
Enter System Administrator (s01adm) Password: //Enter the password of the
database administrator <sid>adm.
Confirm System Administrator ((s01adm) Password: //Confirm the password of
the database administrator <sid>adm.
Enter System Administrator Home Directory [/usr/sap/S01/home]: //Use the
default value.
Enter System Administrator Login Shell [/bin/sh]: //Use the default value.
Enter System Administrator User ID [1001]: //Use the default value.
Enter ID of User Group (sapsys) [79]: //Use the default value.
Enter Database User (SYSTEM) Password: //Enter the password of the database
user SYSTEM. This password can be the same as that of the <sid>adm
administrator.
Confirm Database User (SYSTEM) Password: //Confirm the password of the
database user SYSTEM. This password can be the same as that of the <sid>adm
administrator.
Restart system after machine reboot? [n]: //Use the default value.

Summary before execution:


=========================

SAP HANA Components Installation


Installation Parameters

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 222


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

Remote Execution: ssh


Installation Path: /hana/shared
Local Host Name: hw00001
SAP HANA System ID: S01
Instance Number: 00
Database Mode: single_container
System Usage: production
Location of Data Volumes: /hana/data/S01
Location of Log Volumes: /hana/log/S01
Certificate Host Names: hw00001 -> hw00001
System Administrator Home Directory: /usr/sap/S01/home
System Administrator Login Shell: /bin/sh
System Administrator User ID: 1001
ID of User Group (sapsys): 79
Software Components
SAP HANA Database
Install version 1.00.122.11.1499758750
Location: /home/05012GAN/server

Do you want to continue? (y/n): y //Confirm the information and continue the
installation.
Installing components...
Installing SAP HANA Database...
? Preparing package 'Saphostagent Setup'...
? Preparing package 'Python Support'...
? Preparing package 'Python Runtime'...
? Preparing package 'Product Manifest'...
? Preparing package 'Binaries'...
? Preparing package 'Data Quality'...
? Preparing package 'Krb5 Runtime'...
? Preparing package 'Installer'...
? Preparing package 'Ini Files'...
? Preparing package 'HWCCT'...
? Preparing package 'Emergency Support Package'...
? Preparing package 'EPM'...
? Preparing package 'Documentation'...
? Preparing package 'Delivery Units'...
? Preparing package 'DAT Languages'...
? Preparing package 'DAT Configfiles'...
? Creating System...
? Extracting software...
? Installing package 'Saphostagent Setup'...
? Installing package 'Python Support'...
? Installing package 'Python Runtime'...
? Installing package 'Product Manifest'...
? Installing package 'Binaries'...
? Installing package 'Data Quality'...
? Installing package 'Krb5 Runtime'...
? Installing package 'Installer'...
? Installing package 'Ini Files'...
? Installing package 'HWCCT'...
? Installing package 'Emergency Support Package'...
? Installing package 'EPM'...
? Installing package 'Documentation'...
? Installing package 'Delivery Units'...
? Installing package 'DAT Languages'...
? Installing package 'DAT Configfiles'...
? Creating instance...
? Starting SAP HANA Database system...
? Starting 1 process on host 'hw00001' (worker):
????? Starting on 'hw00001': hdbdaemon
? Starting 7 processes on host 'hw00001' (worker):
????? Starting on 'hw00001': hdbcompileserver, hdbdaemon, hdbindexserver,
hdbnameserver, hdbpreprocessor, hdbwebdispatcher, hdbxsengine
????? Starting on 'hw00001': hdbcompileserver, hdbdaemon, hdbindexserver,
hdbpreprocessor, hdbwebdispatcher, hdbxsengine
????? Starting on 'hw00001': hdbdaemon, hdbindexserver, hdbwebdispatcher,
hdbxsengine
????? Starting on 'hw00001': hdbdaemon, hdbwebdispatcher, hdbxsengine

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 223


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

????? Starting on 'hw00001': hdbdaemon, hdbwebdispatcher


??? All server processes started on host 'hw00001' (worker).
? Importing delivery units...
? Importing delivery unit HCO_INA_SERVICE
? Importing delivery unit HANA_DT_BASE
? Importing delivery unit HANA_IDE_CORE
? Importing delivery unit HANA_TA_CONFIG
? Importing delivery unit HANA_UI_INTEGRATION_SVC
? Importing delivery unit HANA_UI_INTEGRATION_CONTENT
? Importing delivery unit HANA_XS_BASE
? Importing delivery unit HANA_XS_DBUTILS
? Importing delivery unit HANA_XS_EDITOR
? Importing delivery unit HANA_XS_IDE
? Importing delivery unit HANA_XS_LM
? Importing delivery unit HDC_ADMIN
? Importing delivery unit HDC_BACKUP
? Importing delivery unit HDC_IDE_CORE
? Importing delivery unit HDC_SEC_CP
? Importing delivery unit HDC_XS_BASE
? Importing delivery unit HDC_XS_LM
? Importing delivery unit SAPUI5_1
? Importing delivery unit SAP_WATT
? Importing delivery unit HANA_BACKUP
? Importing delivery unit HANA_HDBLCM
? Importing delivery unit HANA_SEC_BASE
? Importing delivery unit HANA_SEC_CP
? Importing delivery unit HANA_ADMIN
? Importing delivery unit HANA_WKLD_ANLZ
Installing Resident hdblcm...
Updating SAP HANA Instance Integration on Local Host...
? Deploying SAP Host Agent configurations...
Creating Component List...
SAP HANA system installed
You can send feedback to SAP with this form: https://hw00001:1129/lmsl/
HDBLCM/S02/feedback/feedback.html
Log file written to '/var/tmp/hdb_S02_hdblcm_install_2018-03-07_17.45.36/
hdblcm.log' on host 'hw00001'.
Information displayed on the SAP_HANA_DATABASE2.0 database configuration page:
hw00001:/hana/shared/hana2.0/SAP_HANA_DATABASE # ./hdblcm
SAP HANA Lifecycle Management - SAP HANA Database 2.00.020.00.1500920972
************************************************************************
Scanning software locations...
Detected components:
SAP HANA Database (2.00.020.00.1500920972) in /hana/shared/hana2.0/
SAP_HANA_DATABASE/server

Choose an action

Index | Action | Description


-----------------------------------------------
1 | install | Install new system
2 | extract_components | Extract components
3 | Exit (do nothing) |

Enter selected action index [3]: 1 //Select 1 to install a new system.


Enter Installation Path [/hana/shared]: //Enter the installation path. In
this example, use the default value.
Enter Local Host Name [hw00001]: //Enter the host name. In this example, use
the default value.
Do you want to add hosts to the system? (y/n): n //Specify whether to add
other host names. In this example, enter n because this example involves only
one node.
Enter SAP HANA System ID: S00 //Enter the database system ID. In this
example, enter S00.
Enter Instance Number [00]: //Enter the database instance number. In this
example, set this parameter to 00.
Enter Local Host Worker Group [default]: // Enter the local work group. In
this example, retain the default value.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 224


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

Index | System Usage | Description

------------------------------------------------------------------------------
-
1 | production | System is used in a production environment
2 | test | System is used for testing, not production
3 | development | System is used for development, not production
4 | custom | System usage is neither production, test nor
development

Select System Usage / Enter Index [4]: 1 //Enter the database usage. In this
example, the system is used as the production environment and therefore enter
1.
Enter Location of Data Volumes [/hana/data/S00]: //Enter the HANA data save
path. In this example, use the default value.
Enter Location of Log Volumes [/hana/log/S00]: //Enter the HANA log save
path. In this example, use the default value.
Restrict maximum memory allocation? [n]: n //Specify whether to limit the
HANA memory size. In this example, a single instance is used. Enter n.
Enter Certificate Host Name For Host 'hw00001' [hw00001]: //Use the default
value.
Enter System Administrator (s00adm) Password: //Enter the password of the
database administrator <sid>adm.
Confirm System Administrator ((s00adm) Password: //Confirm the password of
the database administrator <sid>adm.
Enter System Administrator Home Directory [/usr/sap/S00/home]: //Use the
default value.
Enter System Administrator Login Shell [/bin/sh]: //Use the default value.
Enter System Administrator User ID [1001]: //Use the default value.
Enter ID of User Group (sapsys) [79]: //Use the default value.
Enter System User (SYSTEM) Password: //Enter the password of the database
user SYSTEM. This password can be the same as that of the <sid>adm
administrator.
Confirm System User (SYSTEM) Password: //Confirm the password of the database
user SYSTEM. This password can be the same as that of the <sid>adm
administrator.
Restart system after machine reboot? [n]: //Use the default value.

Summary before execution:


=========================

SAP HANA Database System Installation


Installation Parameters
Remote Execution: ssh
Database Isolation: low
Installation Path: /hana/shared
Local Host Name: hw00001
SAP HANA System ID: S00
Instance Number: 00
Local Host Worker Group: default
System Usage: production
Location of Data Volumes: /hana/data/S00
Location of Log Volumes: /hana/log/S00
Certificate Host Names: hw00001 -> hw00001
System Administrator Home Directory: /usr/sap/S00/home
System Administrator Login Shell: /bin/sh
System Administrator User ID: 1001
ID of User Group (sapsys): 79
Software Components
SAP HANA Database
Install version 2.00.020.00.1500920972
Location: /hana/shared/hana2.0/SAP_HANA_DATABASE/server

Do you want to continue? (y/n): y //Confirm the information and continue the
installation.

Installing components...
Installing SAP HANA Database...
Preparing package 'Saphostagent Setup'...

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 225


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

Preparing package 'Python Support'...


Preparing package 'Python Runtime'...
Preparing package 'Product Manifest'...
Preparing package 'Binaries'...
Preparing package 'Data Quality'...
Preparing package 'Krb5 Runtime'...
Preparing package 'Installer'...
Preparing package 'Ini Files'...
Preparing package 'HWCCT'...
Preparing package 'Documentation'...
Preparing package 'Delivery Units'...
Preparing package 'Offline Cockpit'...
Preparing package 'DAT Languages (EN, DE)'...
Preparing package 'DAT Languages (other)'...
Preparing package 'DAT Configfiles (EN, DE)'...
Preparing package 'DAT Configfiles (other)'...
Creating System...
Extracting software...
Installing package 'Saphostagent Setup'...
Installing package 'Python Support'...
Installing package 'Python Runtime'...
Installing package 'Product Manifest'...
Installing package 'Binaries'...
Installing package 'Data Quality'...
Installing package 'Krb5 Runtime'...
Installing package 'Installer'...
Installing package 'Ini Files'...
Installing package 'HWCCT'...
Installing package 'Documentation'...
Installing package 'Delivery Units'...
Installing package 'Offline Cockpit'...
Installing package 'DAT Languages (EN, DE)'...
Installing package 'DAT Languages (other)'...
Installing package 'DAT Configfiles (EN, DE)'...
Installing package 'DAT Configfiles (other)'...
Creating instance...
Starting SAP HANA Database system...
Starting 4 processes on host 'hw00001' (worker):
Starting on 'HW00001': hdbcompileserver, hdbdaemon, hdbnameserver,
hdbpreprocessor
Starting 7 processes on host 'hw00001' (worker):
Starting on 'HW00001': hdbcompileserver, hdbdaemon, hdbindexserver,
hdbnameserver, hdbpreprocessor, hdbwebdispatcher, hdbxsengine
Starting on 'HW00001': hdbcompileserver, hdbdaemon, hdbindexserver,
hdbpreprocessor, hdbwebdispatcher, hdbxsengine
Starting on 'HW00001': hdbdaemon, hdbindexserver, hdbwebdispatcher,
hdbxsengine
Starting on 'HW00001': hdbdaemon, hdbwebdispatcher, hdbxsengine
Starting on 'HW00001': hdbdaemon, hdbwebdispatcher
All server processes started on host 'hw00001' (worker).
Importing delivery units...
Importing delivery unit HCO_INA_SERVICE
Importing delivery unit HANA_DT_BASE
Importing delivery unit HANA_IDE_CORE
Importing delivery unit HANA_TA_CONFIG
Importing delivery unit HANA_UI_INTEGRATION_SVC
Importing delivery unit HANA_UI_INTEGRATION_CONTENT
Importing delivery unit HANA_XS_BASE
Importing delivery unit HANA_XS_DBUTILS
Importing delivery unit HANA_XS_EDITOR
Importing delivery unit HANA_XS_IDE
Importing delivery unit HANA_XS_LM
Importing delivery unit HDC_ADMIN
Importing delivery unit HDC_BACKUP
Importing delivery unit HDC_IDE_CORE
Importing delivery unit HDC_SEC_CP
Importing delivery unit HDC_SYS_ADMIN
Importing delivery unit HDC_XS_BASE
Importing delivery unit HDC_XS_LM

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 226


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

Importing delivery unit SAPUI5_1


Importing delivery unit SAP_WATT
Importing delivery unit HANA_SEC_CP
Importing delivery unit HANA_BACKUP
Importing delivery unit HANA_HDBLCM
Importing delivery unit HANA_SEC_BASE
Importing delivery unit HANA_SYS_ADMIN
Importing delivery unit HANA_ADMIN
Importing delivery unit HANA_WKLD_ANLZ
Installing Resident hdblcm...
Updating SAP HANA Database Instance Integration on Local Host...
Deploying SAP Host Agent configurations...
Creating Component List...
SAP HANA Database System installed
You can send feedback to SAP with this form: https://hw00001:1129/lmsl/
HDBLCM/S00/feedback/feedback.html
Log file written to '/var/tmp/hdb_S00_hdblcm_install_2017-09-23_00.02.44/
hdblcm.log' on host 'HW00001'.

If the database installation fails, uninstall the database that fails to be installed (see section 9.5
Uninstalling the Database) before the next installation.

Step 7 Check whether the database is successfully installed.


1. Run the su - s00adm command to switch to the database system administrator. S00adm
is the database system administrator specified during the database installation. The
administrator name format is <sid>adm. For example, if the SID is S00, the
administrator is S00adm.
2. Run the HDB -version command to query the database version information. If version
information is displayed, the database is successfully installed.
3. Run the exit command to return to the OS user mode.
Run the following commands to query the version:
hw00001:/hana/shared/hana2.0/SAP_HANA_DATABASE # su - s00adm
s00adm@HW00001:/usr/sap/S00/HDB00> HDB -version
HDB version info:
version: 2.00.020.00.1500920972
branch: fa/hana2sp02
git hash: 7f63b0aa11dca2ea54d450aa302319302c2eeaca
git merge time: 2017-07-24 20:29:32
weekstone: 0000.00.0
compile date: 2017-07-24 20:35:12
compile host: ld4551
compile type: rel

4. Run the ps -le |grep hdb command to check whether the database main process is
running properly.
s00adm@hw00001:/usr/sap/S00/HDB00> ps -le |grep hdb
0 S 1001 439505 439497 0 80 0 - 79296 - ? 00:00:00
hdb.sapS00_HDB0
0 S 1001 439521 439505 66 80 0 - 9889652 - ? 00:05:25 hdbnameserver
0 S 1001 439704 439505 2 80 0 - 2915642 - ? 00:00:13
hdbcompileserve
0 S 1001 439706 439505 99 80 0 - 14534411 - ? 00:54:56
hdbpreprocessor
0 S 1001 439746 439505 81 80 0 - 11347338 - ? 00:06:15 hdbindexserver
0 S 1001 439748 439505 3 80 0 - 5819535 - ? 00:00:15 hdbxsengine
0 S 1001 440986 439505 2 80 0 - 2757016 - ? 00:00:10
hdbwebdispatche

5. Run the following commands to start and stop the database service:
hw00001:/hana/shared/hana2.0/SAP_HANA_DATABASE # su - s00adm
s00adm@HW00001:/usr/sap/S00/HDB00> HDB start //Start the SAP HANA database.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 227


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

s00adm@HW00001:/usr/sap/S00/HDB00>HDB stop //Stop the SAP HANA database. You


need to run this command to stop the SAP HANA database before you shut down the
OS.

----End

9.3 Modifying HANA Database Parameters

9.3.1 Modifying HANA Database 1.0 Parameters


After installing the database, modify the HANA database 1.0 parameters based on the
following:
CH121 V5:
Parameters for DATA volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
Parameters for LOG volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
CH242 V5:
Parameters for DATA volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
Parameters for LOG volume:
async_write_submit_active=on

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 228


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32

2288H V5:
Parameters for DATA volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
Parameters for LOG volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
2488H V5:
Parameters for DATA volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
Parameters for LOG volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 229


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

max_submit_batch_size=128
min_submit_batch_size=32

9008 V5:
parameters for DATA volume:
async_write_submit_active:on
async_read_submit:on
async_write_submit_blocks:all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
parameters for LOG volume:
async_write_submit_active:on
async_read_submit:on
async_write_submit_blocks:all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
Log in using <sid>adm in PuTTY and run the following commands to modify HANA
database 1.0 parameters.
[root@hw00001 HDB00]# su - s00adm
Last login: Wed Mar? 7 15:30:00 CST 2018 on pts/0
s00adm@hw00001:/usr/sap/S00/HDB00> HDB start
StartService
Impromptu CCC initialization by 'rscpCInit'.
See SAP note 1266393.
OK
OK
Starting instance using: /usr/sap/S00/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr 00
-function StartWait 2700 2
07.03.2018 16:35:15
Start
OK
07.03.2018 16:35:25
StartWait
OK
s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset
fileio[DATA].async_write_submit_active=on
s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset
fileio[DATA].async_write_submit_blocks=all
s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset
fileio[DATA].async_read_submit=on
hdbparam --paramset fileio[DATA].max_parallel_io_requests=256

s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset


fileio[DATA].max_parallel_io_requests=256
s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset
fileio[DATA].max_submit_batch_size=128
s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 230


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

fileio[DATA].min_submit_batch_size=32

s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset


fileio[Log].async_write_submit_active=on
s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset
fileio[Log].async_write_submit_blocks=all
s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset
fileio[Log].async_read_submit=on

s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset


fileio[Log].max_parallel_io_requests=256
s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset
fileio[Log].max_submit_batch_size=128
s00adm@hw00001:/usr/sap/S00/HDB00> hdbparam --paramset
fileio[Log].min_submit_batch_size=32

9.3.2 Modifying HANA Database 2.0 Parameters


After installing the database, modify HANA database 2.0 parameters based on the following:
CH121 V5:
Parameters for DATA volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
Parameters for LOG volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
CH242 V5:
Parameters for DATA volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 231


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

Parameters for LOG volume:


async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
2288H V5:
Parameters for DATA volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
Parameters for LOG volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
2488H V5:
Parameters for DATA volume:
async_write_submit_active=on
async_read_submit=on
async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32
Parameters for LOG volume:
async_write_submit_active=on
async_read_submit=on

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 232


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

async_write_submit_blocks=all
max_parallel_io_requests=256
max_submit_batch_size=128
min_submit_batch_size=32

9008 V5:
parameters for DATA volume:
async_write_submit_active:on
async_read_submit:on
async_write_submit_blocks:all
max_parallel_io_requests = 256
max_submit_batch_size= 128
min_submit_batch_size= 32
parameters for LOG volume:
async_write_submit_active:on
async_read_submit:on
async_write_submit_blocks:all
max_parallel_io_requests = 256
max_submit_batch_size= 128
min_submit_batch_size= 32
Log in using <sid>adm in PuTTY and run the following commands to modify HANA
database 2.0 parameters:
[root@hw00001 HDB00]# su - s00adm
Last login: Wed Mar? 7 15:30:00 CST 2018 on pts/0
s00adm@hw00001:/usr/sap/S00/HDB00> HDB start
StartService
Impromptu CCC initialization by 'rscpCInit'.
See SAP note 1266393.
OK
OK
Starting instance using: /usr/sap/S00/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr 00
-function StartWait 2700 2
07.03.2018 16:35:15
Start
OK
07.03.2018 16:35:25
StartWait
OK
s00adm@hw00001:/usr/sap/S00/HDB00> hdbsql -n localhost:30015 -u SYSTEM -p
HUAWEI12#$ //In the multi-tenant scenario, the port number is 30013.
Welcome to the SAP HANA Database interactive terminal.

Type: \h for help with commands


\q to quit
hdbsql S00=> ALTER SYSTEM ALTER
CONFIGURATION('global.ini','SYSTEM')SET('fileio','max_parallel_io_requests[LOG]')=
'256' WITH RECONFIGURE

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 233


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

0 rows affected (overall time 5343 usec; server time 2955 usec)

hdbsql S00=> ALTER SYSTEM ALTER


CONFIGURATION('global.ini','SYSTEM')SET('fileio','max_submit_batch_size[LOG]')='12
8' WITH RECONFIGURE
0 rows affected (overall time 5305 usec; server time 2979 usec)

hdbsql S00=> ALTER SYSTEM ALTER


CONFIGURATION('global.ini','SYSTEM')SET('fileio','min_submit_batch_size[LOG]')='32
' WITH RECONFIGURE
0 rows affected (overall time 5448 usec; server time 3127 usec)

hdbsql S00=> ALTER SYSTEM ALTER


CONFIGURATION('global.ini','SYSTEM')SET('fileio','max_parallel_io_requests[DATA]'
)='256' WITH RECONFIGURE
0 rows affected (overall time 5779 usec; server time 3005 usec)

hdbsql S00=> ALTER SYSTEM ALTER


CONFIGURATION('global.ini','SYSTEM')SET('fileio','max_submit_batch_size[DATA]')='1
28' WITH RECONFIGURE
0 rows affected (overall time 6314 usec; server time 2934 usec)

hdbsql S00=> ALTER SYSTEM ALTER


CONFIGURATION('global.ini','SYSTEM')SET('fileio','min_submit_batch_size[DATA]')='3
2' WITH RECONFIGURE
0 rows affected (overall time 5382 usec; server time 3138 usec)

9.4 Installing Multi-instance Databases


For details about multi-instance database installation, see 9.2 Installing the Database. Note
that different instances use different SIDs. The instance number of a multi-instance database
to be installed must be at least two plus that of the installed database. For example, if the
instance number of the installed database is 00, the instance number of a multi-instance
database to be installed may be 03, 04, 05, or the like.

9.5 Uninstalling the Database


Step 1 Go to the HANA database directory /hana/shared/S00/global/hdb/install/bin (S00 is the
database SID and must be changed as required) or the HDB database installation source
directory.
Step 2 Run the ./hdbuninst command to uninstall the database.
hw00001:~ # cd /hana/shared/S00/global/hdb/install/bin/
hw00001:/hana/shared/S00/global/hdb/install/bin # ./hdbuninst
SAP HANA Lifecycle Management - Uninstallation 1.00.122.05.1481577062
*********************************************************************

Do you want to uninstall the following installation?

S00 /hana/shared/S00 HDB_ALONE


HDB00
version: 1.00.122.05.1481577062
host: hw00001 (Database Worker (worker))

All data volumes and all log volumes will be removed!


Data and log backup files in directory '/hana/shared/S00' and its subdirectories
will be removed as well.

Confirm (y/n): y //Enter y to confirm the uninstallation.


Uninstalling SAP HANA Database...
Removing SAP HANA Database instance...
Uninstalling package DAT Configfiles...

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 234


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 9 Installing the SAP HANA Database

Uninstalling package DAT Languages...


Uninstalling package Delivery Units...
Uninstalling package Documentation...
Uninstalling package EPM...
Uninstalling package Emergency Support Package...
Uninstalling package HWCCT...
Uninstalling package Ini Files...
Uninstalling package Installer...
Uninstalling package Krb5 Runtime...
Uninstalling package Data Quality...
Uninstalling package Binaries...
Uninstalling package Product Manifest...
Uninstalling package Python Runtime...
Uninstalling package Python Support...
Uninstalling package Saphostagent Setup...
Uninstallation done.
Log file written to '/var/tmp/hdb_S00_uninstall_2017-03-30_11.51.13/
hdbuninst.log' on host 'hw00001'.

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 235


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 10 Registering and Activating the OS

10 Registering and Activating the OS

The Huawei SAP HANA solution offers two types of Linux OS, SLES and RHEL, for you to
select. For both types, Huawei engineers download the OS license (key) at the customer site
and provide the license for the customer so that the customer can use it to activate the OS
subscription. The warranty period of the OS subscription starts when the OS subscription is
activated.

To activate the subscription service by using the OS license, perform the following steps:

1. Frontline service engineers (from GTS or TAC/GTAC) download the OS license from
the ESDP platform and email the OS license to the customer.
2. The customer registers an SLES/RHEL account (free of charge).
3. The customer uses the OS license to activate the OS subscription. (The SLES warranty
period starts when the OS subscription is activated. The RHEL warranty period starts
upon OS subscription.)
4. The OS warranty period can be one, three, or five years, depending on the order terms.

In this document, activating an OS is to activate the user account subscription on the SLES or
RHEL website.

10.1 Activating OS Subscriptions by Using License Keys

10.1 Activating OS Subscriptions by Using License Keys

10.1.1 Activating RHEL Subscriptions


The customer will receive a 16-digit subscription ID from Huawei (the subscription ID is
contained in the license file). The customer needs to manually activate the subscription on the
Subscription Activation page on the Red Hat website. Log in to https://redhat.com/activate
with your Red Hat login account to activate your subscription. If you do not have a login
account, register one. The registration is free of charge. The procedure for activating your
subscription is as follows:

Step 1 Enter your subscription number on the page shown in the following figure.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 236


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 10 Registering and Activating the OS

Step 2 Specify new subscription or renewal.


For new subscription, check that the subscription information is correct, select Start a new
subscription, and click CONTINUE. For renewal, select the product to be renewed and click
CONTINUE.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 237


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 10 Registering and Activating the OS

Step 3 Read the terms and conditions, and click AGREE. The new subscription or subscription
renewal is complete, and you will receive an email indicating that your subscription has been
activated.

Note: If you do not have a Red Hat login account, visit https://rhn.redhat.com and click
Register to create a login account.

----End

10.1.2 Activating SLES Subscriptions


Step 1 Visit the SUSE Customer Center: https://scc.suse.com/login.

If you do not have a SUSE account, you must create one (free of charge) when logging in to
the SUSE Customer Center for the first time.

Step 2 Click Create an account.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 238


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 10 Registering and Activating the OS

Step 3 Configure the account information and click Create Login at the bottom of the page.

Step 4 Verify your email address to further manage your account (for example, restore your
password).
Step 5 Use the registered username to log in and accept the policy clauses.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 239


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 10 Registering and Activating the OS

Step 6 Use the subscription code to activate the subscription on the SUSE Customer Center.

Step 7 On the dashboard, switch to Management tools, and click Manually activate subscription.

Step 8 Click Activate a single Subscription or Activate multiple Subscriptions.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 240


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 10 Registering and Activating the OS

Step 9 Enter the registration code (key) to register.

Step 10 After the registration is successful, check the subscription information on the subscription
page.

For details, visit the following website: https://scc.suse.com/docs/userguide

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 241


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 11 OS Lifecycle

11 OS Lifecycle

11.1 SLES for SAP Lifecycle


11.2 RHEL for SAP Lifecycle

11.1 SLES for SAP Lifecycle


SLES for SAP 11 Lifecycle

Figure 11-1 SLES for SAP 11 Lifecycle Model

13-year lifecycle

l 10 years general support


l 3 years extended support
l ~18mon overlay between SPs (ESPOS)
l Up to 4.5 years service pack support

Long Term Service Pack Support (LTSS)

l Up to 2 years for each SP, including GA version


l Up to 3 years for the major version

SLES for SAP 11 Lifecycle Explained

l For the major version:

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 242


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 11 OS Lifecycle

A total of 13-year support period is provided, 10 years of general & ESPOS support, and
3 years of LTSS.
l For each of the SPs:
– Generally the SPs are released in a around 12-month cadence. When the new SP is
released, the last SP will be continue supported for about 18 months, provide
enough time for the customer to test and migrate to the new SP.
– Each SP, except the last one, has around 18 months of general support and 12
months of Extended SP Overlay Support (ESPOS) period. After that, 2 years of
LTSS support can be provide by SUSE if the customer purchases the LTSS support
in addition to their subscription.
– The last SP will receive longer general & ESPOS support than previous SPs, till the
end of the 10th year since the release of the major version.

For detail information about the SLES for SAP lifecycle, visit:
https://scc.suse.com/docs/userguide

SLES for SAP 12 and 15 Lifecycle

Figure 11-2 SLES for SAP 12 and 15 Lifecycle Model

13-year lifecycle

l 10 years general support


l 3 years extended support
l ~3.5-year overlay between SPs
l Up to 4.5 years service pack support

Long Term Service Pack Support (LTSS)

l 3 years for the last SP

SLES for SAP Lifecycle Explained

l For the major version:


A total of 13-year support period is provided, 10 years of general & ESPOS support, and
3 years of LTSS.
l For each of the SPs:

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 243


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 11 OS Lifecycle

– Generally the SPs are released in a around 12-month cadence. When the new SP is
released, the last SP will be continue supported for about 3.5 years, provide enough
time for the customer to test and migrate to the new SP.
– Each SP, except the last one, has around 18 months of general support and 42
months of Extended SP Overlay Support (ESPOS) period. The ESPOS included in
SLES for SAP subscription now.
– The last SP will receive longer general support than previous SPs, till the end of the
10th year since the release of the major version. There will be a 3-year LTSS
support for the last SP.
– Release plan of SP5 & 6, including whether there will be such SP and when, are
subject to change according to the actual situation around the time of SP3/4.

For detail information about the SLES for SAP lifecycle, visit:
https://scc.suse.com/docs/userguide

11.2 RHEL for SAP Lifecycle


Update Services for SAP Solutions (E4S)
l Red Hat Enterprise Linux for SAP Solutions inherit the policy from EUS and should
apply to Red Hat Enterprise Linux 7.2 and higher.
l Offered as part of RHEL for SAP Solutions bundle only.
– Not offered as separate Add-On.
l Support for 4 years from GA (with the exception of RHEL 7.5).
l Extension of EUS support (Critical Impact Security fixes and selected Urgent Priority
Bug fixes).
l Included in both Premium and Standard subscriptions.
l Support both X86_64 server and Power LE.
l Provided on specific releases only with one new release added annually.
– RHEL 7.2 (through November 30, 2019) - x86 only
– RHEL 7.3 (through November 30, 2020) - x86 and Power LE (no HA)
– RHEL 7.4 (through August 31, 2021) - x86 and Power LE, with HA on both
– RHEL 7.6 (through October 31, 2022)

For detail information about the RHEL for SAP lifecycle, visit:
https://access.redhat.com/support/policy/updates/errata/

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 244


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 12 Responsibility Matrix and Problem Handling Process

12 Responsibility Matrix and Problem


Handling Process

12.1 Responsibility Matrix


12.2 Problem Handling Process

12.1 Responsibility Matrix


SAP defines a clear responsibility matrix for SAP HANA projects.

Table 12-1 Tasks and Responsibilities


Phase Task Responsible

Provisioning/Setup

Installation of Hardware Hardware Partner

Installation of Operating CSP


System

Installation of SAP HANA CSP


Platform

Adding additional SAP Customer


HANA database instances
(MCOS)

Data Source Connectivity Customer

Installation of SMD Agent Customer

Maintenance

Patching of Firmware Customer (*)

Patching of Operating Customer (*)


System

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 245


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 12 Responsibility Matrix and Problem Handling Process

Phase Task Responsible

Patching of SAP HANA Customer


platform components

Patching of peripheral Customer


components

Upgrade of Operating Customer (*)


System

Update of SAP HANA Customer


platform components

Operations

General administration of Customer


SAP HANA database

Backup and Recovery Customer

Bare Metal Recovery Customer

SAP HANA System Customer


Monitoring

SAP HANA Database Customer


Monitoring

Installation of third party Customer


software components

Support

Issue Handling Process SAP, Customer (*), (**)

12.2 Problem Handling Process


SAP is responsible for problem demarcation. If a non-hardware problem occurs, you can
directly send a trouble ticket to SAP. SAP determines which party is responsible for the
problem based on the problem type.
l If a SLES OS problem occurs, SAP will forward the problem to the SUSE.
l If an SAP HANA problem occurs, SAP will handle the problem occurs.
l If the problem is an evident hardware or RHEL OS problem, you can submit a trouble
ticket through the Huawei 400 hotline. The Huawei R&D maintenance will handle the
problem.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 246


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 12 Responsibility Matrix and Problem Handling Process

Figure 12-1 Problem handling process

12.2.1 Vendor Contact Information


SAP
Mainland China: 400-620-2008
Support website: https://support.sap.com

Huawei
Mainland China: 400-822-9999 (enterprise); 400-830-2118 (carrier)
Support website: https://support.huawei.com

SUSE
Mainland China: 400-810-6500
Support website: https://scc.suse.com/

Red Hat
Mainland China: 800 810 2100; 400 890 2100
Support website: https://access.redhat.com

12.2.2 SAP Ticket Submission Process


Step 1 Enter support.sap.com/message in the address box of the browser to access the SAP support
website.
Step 2 On the home page, click the icon in the upper right corner to log in to the SAP. Enter the
subscription account and password to log in to the website.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 247


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 12 Responsibility Matrix and Problem Handling Process

Step 3 Click Report an incident. The page for generating a trouble ticket is displayed.

Step 4 Enter any character string in Enter search term and press Enter. Click Contact SAP
Support at the lower right corner.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 248


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 12 Responsibility Matrix and Problem Handling Process

Step 5 Select a product, for example, SAP ERP, and click Search.

Step 6 Go to the problem description page, fill in the trouble ticket details, and click Submit at the
lower right corner.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 249


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 12 Responsibility Matrix and Problem Handling Process

l Language: English is preferred.


l Priority: Set this parameter based on the impact on customer services. If an incident has
affected customer services, set the parameter to High or Very high. For a root cause
analysis incident, set the parameter to Medium.
l Subject: Briefly describe the symptom, such as database do not respond or system hung.
l Component: If the incident is related to the operating system, select BC-OP-LNX. After
filling in the details, click Submit at the lower right corner.
l Description: Describe the symptom in detail.

----End

12.2.3 Huawei Ticket Submission Process


If the fault persists after taking the above measures, contact Huawei technical support as
follows:

l Contact the Huawei service hotline. For details about the contact information, visit http://
e.huawei.com/en/service-hotline.
For enterprise users in China, contact Huawei in either of the following ways:
– Hotline: 400-822-9999
– Customer service email: support_e@huawei.com
Enterprise customers: Global Service Hotline
For carrier users in China, contact us in the following ways:
– Hotline: 400-830-2118
– Email: support@huawei.com
Enterprise customers: Global Service Hotline
l Contact the technical support personnel of your local Huawei office.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 250


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 12 Responsibility Matrix and Problem Handling Process

12.2.4 SUSE Ticket Submission Process


Step 1 Use the activated SUSE account to log in to the scc.suse.com. For details about how to
activate the subscription, see the Huawei SAP HANA Appliance Single Node and Two
Node HA Maintenance Guide. After the login, click Support in the MYTOOLS area on the
left of the main page, as shown in Figure 12-2.

Figure 12-2 SUSE support

Step 2 On the Support Tickets page, click Open a new ticket, as shown in Figure 12-3.

Figure 12-3 Open a new ticket

Step 3 On the New Support Ticket page, fill in the ticket and submit it.
1. Set Account, Entitlement, and Product, and click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 251


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 12 Responsibility Matrix and Problem Handling Process

Figure 12-4 New Support Ticket - PRODUCT

2. Set Ticket Title and click Next.

Figure 12-5 New Support Ticket - TICKET TITLE

3. Select Platform and Severity, describe the problem in the Description text box, and
click Next.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 252


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 12 Responsibility Matrix and Problem Handling Process

Figure 12-6 New Support Ticket - DESCRIPTION

4. Select a contact method and click Create Support Ticket to create the ticket.

Figure 12-7 New Support Ticket - CONTACT

----End

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 253


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 13 Support and Other Resources

13 Support and Other Resources

13.1 Technical Support

13.1 Technical Support


Huawei's timely and efficient response is available from:

l Local branch offices


l Secondary technical support system
l Telephone support
l Remote support
l Onsite support

Technical Support Website


Technical documents are available on the technical support website: http://e.huawei.com/

Self-Service Platform and Community


Learn more about servers and communicate with experts at:

l Huawei Server Information Self-Service Platform for specific server product


documentation.
l Huawei server intelligent Q&A system for quick learning about products.
l Huawei Enterprise Support Community (Server) for learning and discussion.

News
For notices about product life cycles, warnings, and updates, visit Product Bulletins.

Cases
Learn about server applications at Knowledge Base.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 254


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) 13 Support and Other Resources

Huawei Technical Support


If a fault persists after taking the above measures, contact technical support at your local
Huawei office. If a local Huawei office is not available, contact Huawei technical support as
follows:
l Enterprise customers:
Send emails to support_e@huawei.com or visit Global Service Hotline.
l Carriers
Send emails to support@huawei.com or visit Global TAC Information.

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 255


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) A Software Version List of Red Hat 7.4 Patch Packages

A Software Version List of Red Hat 7.4


Patch Packages

audit-2.8.1-3.el7.x86_64.rpm
audit-libs-2.8.1-3.el7.x86_64.rpm
audit-libs-python-2.8.1-3.el7.x86_64.rpm
autogen-libopts-5.18-5.el7.x86_64.rpm
checkpolicy-2.5-6.el7.x86_64.rpm
clufter-bin-0.77.0-2.el7.x86_64.rpm
clufter-common-0.77.0-2.el7.noarch.rpm
compat-sap-c++-5-5.3.1-10.el7_3.x86_64.rpm
compat-sap-c++-6-6.3.1-1.el7_3.x86_64.rpm
corosync-2.4.3-2.el7_5.1.x86_64.rpm
corosynclib-2.4.3-2.el7_5.1.x86_64.rpm
cpp-4.8.5-28.el7_5.1.x86_64.rpm
dbus-1.10.24-7.el7.x86_64.rpm
dbus-libs-1.10.24-7.el7.x86_64.rpm
dwz-0.11-3.el7.x86_64.rpm
expect-5.45-14.el7_1.x86_64.rpm
fence-agents-all-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-amt-ws-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-apc-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-apc-snmp-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-bladecenter-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-brocade-4.0.11-86.el7_5.2.x86_64.rpm

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 256


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) A Software Version List of Red Hat 7.4 Patch Packages

fence-agents-cisco-mds-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-cisco-ucs-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-common-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-compute-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-drac5-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-eaton-snmp-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-emerson-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-eps-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-heuristics-ping-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-hpblade-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-ibmblade-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-ifmib-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-ilo2-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-ilo-moonshot-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-ilo-mp-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-ilo-ssh-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-intelmodular-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-ipdu-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-ipmilan-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-kdump-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-mpath-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-rhevm-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-rsa-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-rsb-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-sbd-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-scsi-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-vmware-rest-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-vmware-soap-4.0.11-86.el7_5.2.x86_64.rpm
fence-agents-wti-4.0.11-86.el7_5.2.x86_64.rpm
fence-virt-0.3.2-13.el7.x86_64.rpm
flac-libs-1.3.0-5.el7_1.x86_64.rpm
gcc-4.8.5-28.el7_5.1.x86_64.rpm
gd-2.0.35-26.el7.x86_64.rpm

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 257


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) A Software Version List of Red Hat 7.4 Patch Packages

ghostscript-9.07-28.el7_4.2.x86_64.rpm
ghostscript-fonts-5.50-32.el7.noarch.rpm
glibc-2.17-222.el7.x86_64.rpm
glibc-common-2.17-222.el7.x86_64.rpm
glibc-devel-2.17-222.el7.x86_64.rpm
glibc-headers-2.17-222.el7.x86_64.rpm
gnutls-dane-3.3.26-9.el7.x86_64.rpm
gnutls-utils-3.3.26-9.el7.x86_64.rpm
graphviz-2.30.1-21.el7.x86_64.rpm
gsm-1.0.13-11.el7.x86_64.rpm
gstreamer1-1.10.4-2.el7.x86_64.rpm
ipmitool-1.8.18-7.el7.x86_64.rpm
iptraf-ng-1.1.4-6.el7.x86_64.rpm
kernel-3.10.0-862.2.3.el7.x86_64.rpm
kernel-devel-3.10.0-862.2.3.el7.x86_64.rpm
kmod-kvdo-6.1.0.168-16.el7_5.x86_64.rpm
krb5-libs-1.15.1-19.el7.x86_64.rpm
krb5-workstation-1.15.1-19.el7.x86_64.rpm
libasyncns-0.8-7.el7.x86_64.rpm
libcanberra-0.30-5.el7.x86_64.rpm
libcanberra-gtk2-0.30-5.el7.x86_64.rpm
libcanberra-gtk3-0.30-5.el7.x86_64.rpm
liberation-fonts-common-1.07.2-16.el7.noarch.rpm
liberation-sans-fonts-1.07.2-16.el7.noarch.rpm
libfontenc-1.1.3-3.el7.x86_64.rpm
libgcc-4.8.5-28.el7_5.1.x86_64.rpm
libgomp-4.8.5-28.el7_5.1.x86_64.rpm
libICE-1.0.9-9.el7.x86_64.rpm
libicu-50.1.2-15.el7.x86_64.rpm
libkadm5-1.15.1-19.el7.x86_64.rpm
libmpc-1.0.1-3.el7.x86_64.rpm
libqb-1.0.1-6.el7.x86_64.rpm
libselinux-2.5-12.el7.x86_64.rpm

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 258


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) A Software Version List of Red Hat 7.4 Patch Packages

libselinux-python-2.5-12.el7.x86_64.rpm
libselinux-utils-2.5-12.el7.x86_64.rpm
libsemanage-2.5-11.el7.x86_64.rpm
libsemanage-python-2.5-11.el7.x86_64.rpm
libsepol-2.5-8.1.el7.x86_64.rpm
libSM-1.2.2-2.el7.x86_64.rpm
libsndfile-1.0.25-10.el7.x86_64.rpm
libstdc++-4.8.5-28.el7_5.1.x86_64.rpm
libstdc++-devel-4.8.5-28.el7_5.1.x86_64.rpm
libvpx-1.3.0-5.el7_0.x86_64.rpm
libwsman1-2.6.3-3.git4391e5c.el7.x86_64.rpm
libXaw-1.0.13-4.el7.x86_64.rpm
libXfont-1.5.2-1.el7.x86_64.rpm
libXmu-1.1.2-2.el7.x86_64.rpm
libXpm-3.5.12-1.el7.x86_64.rpm
libXt-1.1.5-3.el7.x86_64.rpm
libyaml-0.1.4-11.el7_0.x86_64.rpm
linux-firmware-20180220-62.git6d51311.el7.noarch.rpm
lm_sensors-3.4.0-4.20160601gitf9185e5.el7.x86_64.rpm
mozilla-filesystem-1.9-11.el7.x86_64.rpm
mpfr-3.1.1-4.el7.x86_64.rpm
net-snmp-libs-5.7.2-33.el7_5.2.x86_64.rpm
net-snmp-utils-5.7.2-33.el7_5.2.x86_64.rpm
nfs-utils-1.3.0-0.54.el7.x86_64.rpm
ntp-4.2.6p5-28.el7.x86_64.rpm
ntpdate-4.2.6p5-28.el7.x86_64.rpm
numactl-2.0.9-7.el7.x86_64.rpm
OpenIPMI-modalias-2.0.23-2.el7.x86_64.rpm
openssl-1.0.2k-12.el7.x86_64.rpm
openssl-libs-1.0.2k-12.el7.x86_64.rpm
openwsman-python-2.6.3-3.git4391e5c.el7.x86_64.rpm
overpass-fonts-2.1-1.el7.noarch.rpm
pacemaker-1.1.18-11.el7_5.2.x86_64.rpm

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 259


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) A Software Version List of Red Hat 7.4 Patch Packages

pacemaker-cli-1.1.18-11.el7_5.2.x86_64.rpm
pacemaker-cluster-libs-1.1.18-11.el7_5.2.x86_64.rpm
pacemaker-libs-1.1.18-11.el7_5.2.x86_64.rpm
PackageKit-glib-1.1.5-2.el7_5.x86_64.rpm
PackageKit-gtk3-module-1.1.5-2.el7_5.x86_64.rpm
patch-2.7.1-10.el7_5.x86_64.rpm
pcs-0.9.162-5.el7_5.1.x86_64.rpm
perl-srpm-macros-1-8.el7.noarch.rpm
perl-Thread-Queue-3.02-2.el7.noarch.rpm
perl-TimeDate-2.30-2.el7.noarch.rpm
pexpect-2.3-11.el7.noarch.rpm
policycoreutils-2.5-22.el7.x86_64.rpm
policycoreutils-python-2.5-22.el7.x86_64.rpm
poppler-data-0.4.6-3.el7.noarch.rpm
pulseaudio-libs-10.0-5.el7.x86_64.rpm
python-clufter-0.77.0-2.el7.noarch.rpm
python-inotify-0.9.4-4.el7.noarch.rpm
python-IPy-0.75-6.el7.noarch.rpm
python-suds-0.4.1-5.el7.noarch.rpm
PyYAML-3.10-11.el7.x86_64.rpm
redhat-rpm-config-9.1.0-80.el7.noarch.rpm
resource-agents-3.9.5-124.el7.x86_64.rpm
resource-agents-sap-hana-3.9.5-124.el7.x86_64.rpm
rpm-4.11.3-32.el7.x86_64.rpm
rpm-build-4.11.3-32.el7.x86_64.rpm
rpm-build-libs-4.11.3-32.el7.x86_64.rpm
rpm-libs-4.11.3-32.el7.x86_64.rpm
rpm-python-4.11.3-32.el7.x86_64.rpm
rsyslog-8.24.0-16.el7_5.4.x86_64.rpm
ruby-2.0.0.648-33.el7_4.x86_64.rpm
rubygem-bigdecimal-1.2.0-33.el7_4.x86_64.rpm
rubygem-io-console-0.4.2-33.el7_4.x86_64.rpm
rubygem-json-1.7.7-33.el7_4.x86_64.rpm

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 260


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) A Software Version List of Red Hat 7.4 Patch Packages

rubygem-psych-2.0.0-33.el7_4.x86_64.rpm
rubygem-rdoc-4.0.0-33.el7_4.noarch.rpm
rubygems-2.0.14.1-33.el7_4.noarch.rpm
ruby-irb-2.0.0.648-33.el7_4.noarch.rpm
ruby-libs-2.0.0.648-33.el7_4.x86_64.rpm
setools-libs-3.3.8-2.el7.x86_64.rpm
sg3_utils-1.37-12.el7.x86_64.rpm
sound-theme-freedesktop-0.8-3.el7.noarch.rpm
startup-notification-0.12-8.el7.x86_64.rpm
subscription-manager-1.20.11-1.el7_5.x86_64.rpm
subscription-manager-plugin-container-1.20.11-1.el7_5.x86_64.rpm
subscription-manager-rhsm-1.20.11-1.el7_5.x86_64.rpm
subscription-manager-rhsm-certificates-1.20.11-1.el7_5.x86_64.rpm
sudo-1.8.19p2-13.el7.x86_64.rpm
tcl-8.5.13-8.el7.x86_64.rpm
telnet-0.17-64.el7.x86_64.rpm
tuned-2.9.0-1.el7.noarch.rpm
tuned-profiles-sap-hana-2.9.0-1.el7.noarch.rpm
unbound-libs-1.6.6-1.el7.x86_64.rpm
urw-fonts-2.4-16.el7.noarch.rpm
vdo-6.1.0.168-18.x86_64.rpm
xcb-util-0.4.0-2.el7.x86_64.rpm
xorg-x11-font-utils-7.5-20.el7.x86_64.rpm
xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm
xulrunner-31.6.0-2.el7_1.x86_64.rpm
yum-utils-1.1.31-45.el7.noarch.rpm
zlib-devel-1.2.7-17.el7.x86_64.rpm

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 261


Huawei SAP HANA Appliance Single Node Installation
Guide (CH121&CH242&2288H&2488H&9008 V5) B Software Version List of SLES 12 SP3 Patch Packages

B Software Version List of SLES 12 SP3


Patch Packages

kernel-default-4.4.162-94.72.1.x86_64.rpm

Issue 11 (2019-11-04) Copyright © Huawei Technologies Co., Ltd. 262

Você também pode gostar