SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Downloaden Sie, um offline zu lesen
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 1
SAP HANA on Red Hat Enterprise Linux
=================================================================================================
By
Debajit Banerjee
April, 2015
=================================================================================================
Table of Contents
SAP HANA on Red Hat Enterprise Linux...............................................................2
I. Overview…………………………………………………………………………………………………………2
II. Pre-requisite for SAP HANA Installation on RHEL….………………………………………..4
III. Preparation of RHEL OS…………………………………..….…………………………………………4
A) Kernel Update…………………………………..….………………………………………………6
B) Configurations…………………………………..….……………………………………………..6
C) Optional Configurations…………..…………..….…………………………………………16
D) Creation of File System and Mount-points.…………………………………………18
E) Deployment as per SAP Note 2013638…….…………………………………………19
IV. Installation of SAP HANA….…………………………………………………………………………24
A) File System Validation Before Installation………………………………………..….24
B) Preparation of SAP HANA Software for Installation..………………………..…25
C) SAP HANA Installation…………………………….………………………………………..…26
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 2
SAP HANA on Red Hat Enterprise Linux
Most of you know that SLES or SUSE Linux Enterprise Server was the only supported OS for SAP HANA few years back.
But for quite some time, Red Hat Enterprise Linux for SAP HANA 6.5 is certified minimum version available for
productive usage, which is based on Intel Ivy Bridge EX (Xeon E7 v2) CPU architecture.
I was working with SLES since Nov'2009 and installed SAP HANA 1.0 built 5 for the first time. Due to other commitments,
I was not looked into RHEL part till Dec'2014. Remotely, from Bangalore, I was working hands-on with RHEL colleagues
on their Lab through their OPEN program and that's why collected some basic knowledge on this.
In this document, I will primarily discuss the Pre-Requisite and Installation of SAP HANA on RHEL. RHEL installation steps
are not covered here. Basic RHEL and SAP HANA knowledge is good to have to understand this customized guide.
Note : The Screenshots used in this document by me from 2-3 different HANA System built as I forget to collect the same
sometimes; so please don’t confuse with the hostnames !!
I. Overview
As on Dec.'2014, the following configurations have been certified for SAP HANA Appliance running on Red Hat Enterprise
Linux for SAP HANA:
 HANA Version
 HANA 1.0 SPS 08 and 09
 CPU Architecture
 Intel Ivy Bridge-EX, i.e., Xeon E7 v2
SAP HANA 1.0 SPS08 is the minimum version of SAP HANA certified on Red Hat Enterprise Linux. Red Hat Enterprise
Linux for SAP HANA is required for SAP HANA installation. There is no custom Linux kernel available for running SAP
HANA. The library compatsapc++.so is a must for SAP HANA. The additional GCC runtime environment needed for SAP
HANA on Red Hat Enterprise Linux 6.5 as SAP uses a more recent compiler for its more recent feature set.
Red Hat Enterprise Linux for SAP Business Applications subscription should be used for running SAP Business
Applications.
Single Node, Scale Out, SoH-Suite on HANA - all HANA configurations are certified on Red Hat Enterprise Linux for SAP
HANA.
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 3
Red Hat does not ship custom-built kernels for SAP HANA or any products, Red Hat Enterprise Linux Server Base Channel
is identical to a regular Red Hat Enterprise Linux channel which contains the same Linux kernel. Any additional packages
will be shipped via a child channel or an Add-On.
Red Hat Enterprise Linux for SAP HANA contains the following channels (as of Dec. 2014) :
 Red Hat Enterprise Linux Server Base Channel 6.5 - Repository name : rhel-x86_64-server-6
 Red Hat Enterprise Linux for SAP HANA Child Channel - Repository name : rhel-x86_64-server-sap-hana-6
This Child Channel contains additional packages as follows –
 Scalable File System Add-On (XFS)
 compat-sap-c++.so package
 Tuned profiles “sap-hana”(for bare-metal) and
 Tuned profiles “sap-hana-vmware”(for virtual)
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 4
II. Pre-requisite for SAP HANA Installation on RHEL
Pre-requisite for SAP HANA Installation on RHEL :
One needs the following accounts with proper authorizations to access required software & important information
 SAP S-User account
- Using S-User account, one can download SAP HANA.
- SAP Service Marketplace account required to download SAP Software, access SAP Notes and generate
license keys.
- Website : http://support.sap.com
 Red Hat Customer Portal account
- This account required for downloading Red Hat software, access support articles.
- This account is also known as Red Hat Network Classic1 or RHN account.
- Website : http://access.redhat.com
The basic requirement for SAP HANA Installation on RHEL 6.5 OS :
 Minimum memory – 24GB of RAM
 File System structure : Mount points and their corresponding size as follows –
- / (root) 10GB
- /hana/shared/<SAP_SID> 1 x RAM size 24GB
- /hana/data 1 x RAM size 24GB
- /hana/log 0.5 x RAM size 12GB
- /usr/sap 50GB
- /install Inst. Temp files 128GB
RHEL Installation
Note : When a Red Hat Enterprise Linux for SAP HANA subscription is purchased, the entitlement appears in the
Red Hat Network Classic1 account used for the purchase. Red Hat Subscription Management is a local service which
tracks installed products and subscriptions on a local system to help manage subscription assignments.
- Install RHEL OS in manual method which is interactive in nature. One can install from DVD or .iso image.
- Select the “Minimal” installation option.
- Set the hostname for the server.
- Configure the basic network and check the connectivity.
- If the host is already registered, then verify the subscription.
# yum repolist
repo id repo name status
rhel-x86_64-server-sap-hana-6 RHEL 6.5 SAP HANA 2
The Red Hat Enterprise Linux for SAP HANA channel and its repo should be visible to the current system like above.
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 5
But if the registration and subscription not completed, one has to follow the below steps.
- Register the current host to the Red Hat Customer Portal or local Red Hat Satellite Server.
# subscription-manager register --username=RHN_USERNAME --password=RHN_PASSWORD
 Subscribe to the “Red Hat Enterprise Linux for SAP HANA” channel using Red Hat Subscription Management.
 List all the available pools that the system is eligible to subscribe to
# subscription-manager list –available
 Identify the pool that contains “Red Hat Enterprise Linux for SAP Hana”, and then use its Pool ID to
subscribe
# subscription-manager subscribe --pool POOL_ID
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 6
III. Preparation of RHEL OS
Preparation of RHEL Operating System :
Apart from required Kernel Update, Configurations, etc., there are some important RHEL OS settings required and for
that, one has to follow “SAP Note 2013638 – SAP HANA DB : Recommended OS Settings for RHEL 6.5”.
A)Kernel Update
Kernel Update
As of now, SAP HANA is certified for RHEL 6.5 only.
B)Configurations
Configurations
a. NTP Configuration
- Network Time Protocol (NTP) server enablement helps to keep the time & date synchronized on
all SAP HANA Servers.
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 7
b. Firewall Disablement
- Firewall configuration is disabled by default. One have to configure iptables for firewall usage with
SAP HANA.
c. Installation of dependent packages
- Software Group : base Use the command : # yum -y groupinstall base
- Software Packages : gtk2 libicu xulrunner ntp sudo tcsh libssh2 expect cairo graphviz iptraf krb5-
workstation krb5-libs.i686 nfs-utils lm_sensors rsyslog openssl098e openssl xorg-x11-xauth
PackageKit-gtk-module libcanberra-gtk2 libtool-ltdl
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 8
- Use this command : # yum -y install gtk2 libicu xulrunner ntp sudo tcsh
libssh2 expect cairo graphviz iptraf krb5-workstation krb5-libs.i686
nfs-utils lm_sensors rsyslog openssl098e openssl xorg-x11-xauth
PackageKit-gtk-module libcanberra-gtk2 libtool-ltdl
- Optional Package : numactl; it is highly required for TDI activities (HWCCT tool).
d. Installation of SAP JVM for SAP HANA Studio
- Download it from SAP Service Marketplace and install as it is used by SAP HANA Studio.
- As an alternative, IcedTea can be installed for testing purpose.
- Here, I am providing the IcedTea screenshots as SAP JVM screenshots are easily available.
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 9
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 10
e. Installation of Tuned Profile
- RHEL for SAP HANA provides two Tuned Profiles
- For bare-metal installation : sap-hana
- For VMware Hypervisor installation : sap-hana-vmware
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 11
For Virtual HANA Installation
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 12
In case of Physical HANA Installation
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 13
f. Update of Kernel Parameters
Following parameters must be set /etc/sysctl.conf file.
- net.ipv4.tcp_slow_start_after_idle=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.ip_local_port_range=40000 61000
- net.ipv4.neigh.default.gc_thresh1=256
- net.ipv4.neigh.default.gc_thresh2=1024
- net.ipv4.neigh.default.gc_thresh3=4096
- net.ipv6.neigh.default.gc_thresh1=256
- net.ipv6.neigh.default.gc_thresh2=1024
- net.ipv6.neigh.default.gc_thresh3=4096
- kernel.shmmni=65536
- kernel.msgmni=32768
- kernel.sem=1250 256000 100 8192
- kernel.sysrq=1
- vm.swappiness=60
- vm.max_map_count=2000000
- vm.memory_failure_early_kill=1
- fs.file-max=20000000
- fs.aio-max-nr=458752
- It is always better set these parameter after SAP HANA is installed as the HANA installer adds
some of these parameters.
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 14
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 15
g. Creation of Symbolic links
- Due to compatibility reasons, the follow symbolic links are required for creation
- # ln -s /usr/lib64/libssl.so.0.9.8e /usr/lib64/libssl.so.0.9.8
- # ln -s /usr/lib64/libssl.so.1.0.1e /usr/lib64/libssl.so.1.0.1
- # ln -s /usr/lib64/libcrypto.so.0.9.8e /usr/lib64/libcrypto.so.0.9.8
- # ln -s /usr/lib64/libcrypto.so.1.0.1e /usr/lib64/libcrypto.so.1.0.1
h. Disablement of crash and core file handling at OS level
- kdump, abrt service should be disabled.
- SAP HANA has its own dump mechanism.
- One can disable core dumps for all user. To activate it, limits.conf will be as follows:
# cat /etc/security/limits.conf
* soft core 0
* hard core 0
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 16
i. Installation of unrar
- There is need of installation of unrar utility to unpack the SAP HANA archive.
C) Optional Configurations
Optional Configurations
a. Lock Kernel Version
i. As of Dec’2014, SAP HANA is currently certified for RHEL 6.5 only. For that reason, lock the
kernel, kernel-firmware, kernel headers to the latest available kernel of the 2.6.32-431 series.
ii. It is better to lock the nss-softokn-freebl and nss-softokn packages to the latest version
compatible with RHEL 6.5.
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 17
Use these commands for lock activities:
# echo kernel-2.6.32-431.el6.* >> /etc/yum/pluginconf.d/versionlock.list
# echo kernel-firmware-2.6.32-431.el6.* >> /etc/yum/pluginconf.d/versionlock.list
# echo kernel-headers-2.6.32-431.el6.* >> /etc/yum/pluginconf.d/versionlock.list
# echo nss-softokn-freebl-3.14.3-12.el6.* >> /etc/yum/pluginconf.d/versionlock.list
# echo nss-softokn-3.14.3-12.el6.* >> /etc/yum/pluginconf.d/versionlock.list
b. Hardware with IvyTown Sockets
i. SAP HANA depends upon specific hardware. For hardware with 8 IvyTown sockets and larger,
the maximum no of processes for the sapsys group is not sufficient. This causes the installation
of SAP HANA to fail.
ii. For the above, please create the /etc/security/limits.d/99-sapsys.conf file with below content
@sapsys soft nproc unlimited
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 18
c. Installation of NIPING
i. One can download nipping program from SAP Service Marketplace.
ii. One can install NIPING in the following way:
#./SAPCAR -xvf ./NIPING.SAR
# cp niping /bin
# chmod 755 /bin/niping
D)Creation of File System and Mount-points
SAP HANA installation can be done on ext3, but XFS is the preferred one. So before SAP HANA installation
on any host, one has to perform the following activities as described in earlier chapter “Pre-requisite for SAP
HANA Installation on RHEL”.
 Install XFS
 Create Disk Partitions
 Create LVM Logical Volumes
 Create XFS File Systems
 Create Mount Points
 Mount File Systems
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 19
E) Deployment as per SAP Note 2013638
As per SAP Note 2013638, we have perform the following activities on host.
1) Disablement of Transparent HugePages (THP)
2) Configuration of C-States for lower latency
3) OpenSSL Upgrade
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 20
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 21
4) Installation of GCC 4.7 Runtime Environment
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 22
5) Disablement of SELinux
SELinux will be disabled after a reboot.
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 23
6) Validation the version of nss-softokn-freebl : nss-softokn-freebl-3.14.3-12
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 24
IV. Installation of SAP HANA
A)File System Validation Before Installation
The mountpoints /hana/data, /hana/log and /hana/shared are mostly important apart from /usr/sap.
The /install has been used for keeping the software and unzip the same for installation. Please ignore
the other mountpoints.
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 25
B)Preparation of SAP HANA Software for Installation
We already downloaded the software and then uncar the same by using SAPCAR utility.
It automatically creates the below folder structures while uncar.
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 26
C) SAP HANA Installation
We will start the SAP HANA installation now. We will use hdblcm (HANA Database Life Cycle Management) Tool.
This installation is interactive one – where we have chosen 3 components to be installed – SAP HANA Server, SAP HANA
Client and SAP HANA Studio.
We have provided SAP HANA SID as “RHA”. This installation is for testing purpose, we will choose “Test” as System usage
and that too in single container database mode.
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 27
So, now all the input has been completed. It will provide a Summary for checking before starting the actual installation
process.
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 28
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 29
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 30
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 31
So, SAP HANA System “RHA” installation is completed.
One can configure in Linux or in Windows SAP HANA Studio for managing it, using following details –
 Hostname with Instance Number, Short Description
 SYSTEM account password
SAP HANA on RHEL
http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 32
From this SAP HANA Studio screenshot, one can summarize as follows :
- SAP HANA Standalone System “RHA” [SAP HANA 1.0 SPS 09 Rev. 91] is up and running.
- It is running on VMware; one can get details of RHEL OS Kernel also.
**** END OF DOCUMENT ****

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

SAP HANA Overview
SAP HANA OverviewSAP HANA Overview
SAP HANA Overview
 
SAP S/4HANA: Everything you need to know for a successul implementation
SAP S/4HANA: Everything you need to know for a successul implementationSAP S/4HANA: Everything you need to know for a successul implementation
SAP S/4HANA: Everything you need to know for a successul implementation
 
Principles of SAP HANA Sizing - on premise and cloud-1.pdf
Principles of SAP HANA Sizing - on premise and cloud-1.pdfPrinciples of SAP HANA Sizing - on premise and cloud-1.pdf
Principles of SAP HANA Sizing - on premise and cloud-1.pdf
 
SAP Cloud Platform - Integration, Extensibility & Services
SAP Cloud Platform - Integration, Extensibility & ServicesSAP Cloud Platform - Integration, Extensibility & Services
SAP Cloud Platform - Integration, Extensibility & Services
 
Sizing sap s 4 hana using the quick sizer tool
Sizing sap s 4 hana using the quick sizer toolSizing sap s 4 hana using the quick sizer tool
Sizing sap s 4 hana using the quick sizer tool
 
What's New in SAP HANA View Modeling
What's New in SAP HANA View ModelingWhat's New in SAP HANA View Modeling
What's New in SAP HANA View Modeling
 
SAP BW/4HANA - The Intelligent Enterprise Data Warehouse
SAP BW/4HANA - The Intelligent Enterprise Data WarehouseSAP BW/4HANA - The Intelligent Enterprise Data Warehouse
SAP BW/4HANA - The Intelligent Enterprise Data Warehouse
 
SAP on Azure Web Dispatcher High Availability
SAP on Azure Web Dispatcher High AvailabilitySAP on Azure Web Dispatcher High Availability
SAP on Azure Web Dispatcher High Availability
 
Sap lama presentation
Sap lama presentationSap lama presentation
Sap lama presentation
 
Automate user creation using sap gui scripting
Automate user creation using sap gui scriptingAutomate user creation using sap gui scripting
Automate user creation using sap gui scripting
 
SAP HANA Overview
SAP HANA OverviewSAP HANA Overview
SAP HANA Overview
 
Sap abap tutorials
Sap abap tutorialsSap abap tutorials
Sap abap tutorials
 
Mastering SAP Monitoring - SAP HANA Monitoring, Management & Automation
Mastering SAP Monitoring - SAP HANA Monitoring, Management & AutomationMastering SAP Monitoring - SAP HANA Monitoring, Management & Automation
Mastering SAP Monitoring - SAP HANA Monitoring, Management & Automation
 
SAP Fiori ppt
SAP Fiori pptSAP Fiori ppt
SAP Fiori ppt
 
L1_RISE_with_SAP_NNN_V3.4.pptx
L1_RISE_with_SAP_NNN_V3.4.pptxL1_RISE_with_SAP_NNN_V3.4.pptx
L1_RISE_with_SAP_NNN_V3.4.pptx
 
Mastering SAP Monitoring - SAP SLT & RFC Connection Monitoring
Mastering SAP Monitoring - SAP SLT & RFC Connection MonitoringMastering SAP Monitoring - SAP SLT & RFC Connection Monitoring
Mastering SAP Monitoring - SAP SLT & RFC Connection Monitoring
 
SAP HANA Interview questions
SAP HANA Interview questionsSAP HANA Interview questions
SAP HANA Interview questions
 
Sap abap
Sap abapSap abap
Sap abap
 
Sap activate overview
Sap activate overviewSap activate overview
Sap activate overview
 
Migrating database content from sql server to sap hana
Migrating database content from sql server to sap hanaMigrating database content from sql server to sap hana
Migrating database content from sql server to sap hana
 

Andere mochten auch

Sybase job interview_preparation_guide
Sybase job interview_preparation_guideSybase job interview_preparation_guide
Sybase job interview_preparation_guide
NV Suresh Kumar
 
2 worksheet healthy habits
2 worksheet healthy habits2 worksheet healthy habits
2 worksheet healthy habits
Inma Antequera
 

Andere mochten auch (20)

SAP on Linux
SAP on LinuxSAP on Linux
SAP on Linux
 
Sap hana server installation guide
Sap hana server installation guideSap hana server installation guide
Sap hana server installation guide
 
SSL Configuration within SAP HANA
SSL Configuration within SAP HANASSL Configuration within SAP HANA
SSL Configuration within SAP HANA
 
An Overview of SAP S4/HANA
An Overview of SAP S4/HANAAn Overview of SAP S4/HANA
An Overview of SAP S4/HANA
 
Hadoop integration with SAP HANA
Hadoop integration with SAP HANAHadoop integration with SAP HANA
Hadoop integration with SAP HANA
 
SUSE Linux Enterprise: The Open Platform for SAP
SUSE Linux Enterprise: The Open Platform for SAPSUSE Linux Enterprise: The Open Platform for SAP
SUSE Linux Enterprise: The Open Platform for SAP
 
Computacón tema 2
Computacón tema 2Computacón tema 2
Computacón tema 2
 
Sybase job interview_preparation_guide
Sybase job interview_preparation_guideSybase job interview_preparation_guide
Sybase job interview_preparation_guide
 
AWS Webcast - Running SAP HANA on the AWS Cloud
AWS Webcast - Running SAP HANA on the AWS CloudAWS Webcast - Running SAP HANA on the AWS Cloud
AWS Webcast - Running SAP HANA on the AWS Cloud
 
How To Install and Configure AWS CLI on RHEL 7
How To Install and Configure AWS CLI on RHEL 7How To Install and Configure AWS CLI on RHEL 7
How To Install and Configure AWS CLI on RHEL 7
 
2 worksheet healthy habits
2 worksheet healthy habits2 worksheet healthy habits
2 worksheet healthy habits
 
De technologie staat verder dan u denkt
De technologie staat verder dan u denktDe technologie staat verder dan u denkt
De technologie staat verder dan u denkt
 
Mark fx presentation
Mark fx presentationMark fx presentation
Mark fx presentation
 
Obsah je král
Obsah je králObsah je král
Obsah je král
 
Relatório
RelatórioRelatório
Relatório
 
Malmöhus
MalmöhusMalmöhus
Malmöhus
 
High School in the United States
High School in the United StatesHigh School in the United States
High School in the United States
 
CTO Playbook
CTO PlaybookCTO Playbook
CTO Playbook
 
Nature`s echo brand-contract manufacturing proposal
Nature`s echo brand-contract manufacturing proposalNature`s echo brand-contract manufacturing proposal
Nature`s echo brand-contract manufacturing proposal
 
Haiku
HaikuHaiku
Haiku
 

Ähnlich wie SAP HANA on Red Hat

[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
RUPAK BHATTACHARJEE
 

Ähnlich wie SAP HANA on Red Hat (20)

Overview of Red Hat's HA Solutions for SAP
Overview of Red Hat's HA Solutions for SAPOverview of Red Hat's HA Solutions for SAP
Overview of Red Hat's HA Solutions for SAP
 
SAP HANA SPS10- Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS10- Scale-Out, High Availability and Disaster RecoverySAP HANA SPS10- Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS10- Scale-Out, High Availability and Disaster Recovery
 
Automating SAP HANA System Replication
Automating SAP HANA System ReplicationAutomating SAP HANA System Replication
Automating SAP HANA System Replication
 
SAP HANA SPS08 Platform Lifecycle Management
SAP HANA SPS08 Platform Lifecycle ManagementSAP HANA SPS08 Platform Lifecycle Management
SAP HANA SPS08 Platform Lifecycle Management
 
SAP HANA SPS10- Multitenant Database Containers
SAP HANA SPS10- Multitenant Database ContainersSAP HANA SPS10- Multitenant Database Containers
SAP HANA SPS10- Multitenant Database Containers
 
SAP TechEd 2018 - SAP HANA Deployment Options
SAP TechEd 2018 - SAP HANA Deployment OptionsSAP TechEd 2018 - SAP HANA Deployment Options
SAP TechEd 2018 - SAP HANA Deployment Options
 
SAP S/4 HANA Disaster Recovery Confidence
SAP S/4 HANA Disaster Recovery ConfidenceSAP S/4 HANA Disaster Recovery Confidence
SAP S/4 HANA Disaster Recovery Confidence
 
SAP HANA SPS10- SAP HANA Dynamic Tiering
SAP HANA SPS10- SAP HANA Dynamic TieringSAP HANA SPS10- SAP HANA Dynamic Tiering
SAP HANA SPS10- SAP HANA Dynamic Tiering
 
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
SAP HANA Developer Access Beta program - 7 steps towards your first HANA reportSAP HANA Developer Access Beta program - 7 steps towards your first HANA report
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
 
Hana faq
Hana faqHana faq
Hana faq
 
SAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP HANA SPS10- SAP HANA Platform Lifecycle ManagementSAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP HANA SPS10- SAP HANA Platform Lifecycle Management
 
関西DB勉強会 (SAP HANA, express edition)
関西DB勉強会 (SAP HANA, express edition)関西DB勉強会 (SAP HANA, express edition)
関西DB勉強会 (SAP HANA, express edition)
 
Backup Navigator install and configuration guide
Backup Navigator install and configuration guideBackup Navigator install and configuration guide
Backup Navigator install and configuration guide
 
What's new on SAP HANA Smart Data Access
What's new on SAP HANA Smart Data AccessWhat's new on SAP HANA Smart Data Access
What's new on SAP HANA Smart Data Access
 
Sap HANA Training doc
Sap HANA Training doc Sap HANA Training doc
Sap HANA Training doc
 
Sap hana master_guide_en
Sap hana master_guide_enSap hana master_guide_en
Sap hana master_guide_en
 
What's New in SAP HANA SPS 11 Mission Critical Data Center Operations
What's New in SAP HANA SPS 11 Mission Critical Data Center OperationsWhat's New in SAP HANA SPS 11 Mission Critical Data Center Operations
What's New in SAP HANA SPS 11 Mission Critical Data Center Operations
 
E4832528 5a7c-0010-82c7-eda71af511fa
E4832528 5a7c-0010-82c7-eda71af511faE4832528 5a7c-0010-82c7-eda71af511fa
E4832528 5a7c-0010-82c7-eda71af511fa
 
[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
 
YASH Technologies at ASUG Minnesota chapter meeting
YASH Technologies at ASUG Minnesota chapter meetingYASH Technologies at ASUG Minnesota chapter meeting
YASH Technologies at ASUG Minnesota chapter meeting
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

SAP HANA on Red Hat

  • 1. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 1 SAP HANA on Red Hat Enterprise Linux ================================================================================================= By Debajit Banerjee April, 2015 ================================================================================================= Table of Contents SAP HANA on Red Hat Enterprise Linux...............................................................2 I. Overview…………………………………………………………………………………………………………2 II. Pre-requisite for SAP HANA Installation on RHEL….………………………………………..4 III. Preparation of RHEL OS…………………………………..….…………………………………………4 A) Kernel Update…………………………………..….………………………………………………6 B) Configurations…………………………………..….……………………………………………..6 C) Optional Configurations…………..…………..….…………………………………………16 D) Creation of File System and Mount-points.…………………………………………18 E) Deployment as per SAP Note 2013638…….…………………………………………19 IV. Installation of SAP HANA….…………………………………………………………………………24 A) File System Validation Before Installation………………………………………..….24 B) Preparation of SAP HANA Software for Installation..………………………..…25 C) SAP HANA Installation…………………………….………………………………………..…26
  • 2. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 2 SAP HANA on Red Hat Enterprise Linux Most of you know that SLES or SUSE Linux Enterprise Server was the only supported OS for SAP HANA few years back. But for quite some time, Red Hat Enterprise Linux for SAP HANA 6.5 is certified minimum version available for productive usage, which is based on Intel Ivy Bridge EX (Xeon E7 v2) CPU architecture. I was working with SLES since Nov'2009 and installed SAP HANA 1.0 built 5 for the first time. Due to other commitments, I was not looked into RHEL part till Dec'2014. Remotely, from Bangalore, I was working hands-on with RHEL colleagues on their Lab through their OPEN program and that's why collected some basic knowledge on this. In this document, I will primarily discuss the Pre-Requisite and Installation of SAP HANA on RHEL. RHEL installation steps are not covered here. Basic RHEL and SAP HANA knowledge is good to have to understand this customized guide. Note : The Screenshots used in this document by me from 2-3 different HANA System built as I forget to collect the same sometimes; so please don’t confuse with the hostnames !! I. Overview As on Dec.'2014, the following configurations have been certified for SAP HANA Appliance running on Red Hat Enterprise Linux for SAP HANA:  HANA Version  HANA 1.0 SPS 08 and 09  CPU Architecture  Intel Ivy Bridge-EX, i.e., Xeon E7 v2 SAP HANA 1.0 SPS08 is the minimum version of SAP HANA certified on Red Hat Enterprise Linux. Red Hat Enterprise Linux for SAP HANA is required for SAP HANA installation. There is no custom Linux kernel available for running SAP HANA. The library compatsapc++.so is a must for SAP HANA. The additional GCC runtime environment needed for SAP HANA on Red Hat Enterprise Linux 6.5 as SAP uses a more recent compiler for its more recent feature set. Red Hat Enterprise Linux for SAP Business Applications subscription should be used for running SAP Business Applications. Single Node, Scale Out, SoH-Suite on HANA - all HANA configurations are certified on Red Hat Enterprise Linux for SAP HANA.
  • 3. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 3 Red Hat does not ship custom-built kernels for SAP HANA or any products, Red Hat Enterprise Linux Server Base Channel is identical to a regular Red Hat Enterprise Linux channel which contains the same Linux kernel. Any additional packages will be shipped via a child channel or an Add-On. Red Hat Enterprise Linux for SAP HANA contains the following channels (as of Dec. 2014) :  Red Hat Enterprise Linux Server Base Channel 6.5 - Repository name : rhel-x86_64-server-6  Red Hat Enterprise Linux for SAP HANA Child Channel - Repository name : rhel-x86_64-server-sap-hana-6 This Child Channel contains additional packages as follows –  Scalable File System Add-On (XFS)  compat-sap-c++.so package  Tuned profiles “sap-hana”(for bare-metal) and  Tuned profiles “sap-hana-vmware”(for virtual)
  • 4. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 4 II. Pre-requisite for SAP HANA Installation on RHEL Pre-requisite for SAP HANA Installation on RHEL : One needs the following accounts with proper authorizations to access required software & important information  SAP S-User account - Using S-User account, one can download SAP HANA. - SAP Service Marketplace account required to download SAP Software, access SAP Notes and generate license keys. - Website : http://support.sap.com  Red Hat Customer Portal account - This account required for downloading Red Hat software, access support articles. - This account is also known as Red Hat Network Classic1 or RHN account. - Website : http://access.redhat.com The basic requirement for SAP HANA Installation on RHEL 6.5 OS :  Minimum memory – 24GB of RAM  File System structure : Mount points and their corresponding size as follows – - / (root) 10GB - /hana/shared/<SAP_SID> 1 x RAM size 24GB - /hana/data 1 x RAM size 24GB - /hana/log 0.5 x RAM size 12GB - /usr/sap 50GB - /install Inst. Temp files 128GB RHEL Installation Note : When a Red Hat Enterprise Linux for SAP HANA subscription is purchased, the entitlement appears in the Red Hat Network Classic1 account used for the purchase. Red Hat Subscription Management is a local service which tracks installed products and subscriptions on a local system to help manage subscription assignments. - Install RHEL OS in manual method which is interactive in nature. One can install from DVD or .iso image. - Select the “Minimal” installation option. - Set the hostname for the server. - Configure the basic network and check the connectivity. - If the host is already registered, then verify the subscription. # yum repolist repo id repo name status rhel-x86_64-server-sap-hana-6 RHEL 6.5 SAP HANA 2 The Red Hat Enterprise Linux for SAP HANA channel and its repo should be visible to the current system like above.
  • 5. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 5 But if the registration and subscription not completed, one has to follow the below steps. - Register the current host to the Red Hat Customer Portal or local Red Hat Satellite Server. # subscription-manager register --username=RHN_USERNAME --password=RHN_PASSWORD  Subscribe to the “Red Hat Enterprise Linux for SAP HANA” channel using Red Hat Subscription Management.  List all the available pools that the system is eligible to subscribe to # subscription-manager list –available  Identify the pool that contains “Red Hat Enterprise Linux for SAP Hana”, and then use its Pool ID to subscribe # subscription-manager subscribe --pool POOL_ID
  • 6. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 6 III. Preparation of RHEL OS Preparation of RHEL Operating System : Apart from required Kernel Update, Configurations, etc., there are some important RHEL OS settings required and for that, one has to follow “SAP Note 2013638 – SAP HANA DB : Recommended OS Settings for RHEL 6.5”. A)Kernel Update Kernel Update As of now, SAP HANA is certified for RHEL 6.5 only. B)Configurations Configurations a. NTP Configuration - Network Time Protocol (NTP) server enablement helps to keep the time & date synchronized on all SAP HANA Servers.
  • 7. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 7 b. Firewall Disablement - Firewall configuration is disabled by default. One have to configure iptables for firewall usage with SAP HANA. c. Installation of dependent packages - Software Group : base Use the command : # yum -y groupinstall base - Software Packages : gtk2 libicu xulrunner ntp sudo tcsh libssh2 expect cairo graphviz iptraf krb5- workstation krb5-libs.i686 nfs-utils lm_sensors rsyslog openssl098e openssl xorg-x11-xauth PackageKit-gtk-module libcanberra-gtk2 libtool-ltdl
  • 8. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 8 - Use this command : # yum -y install gtk2 libicu xulrunner ntp sudo tcsh libssh2 expect cairo graphviz iptraf krb5-workstation krb5-libs.i686 nfs-utils lm_sensors rsyslog openssl098e openssl xorg-x11-xauth PackageKit-gtk-module libcanberra-gtk2 libtool-ltdl - Optional Package : numactl; it is highly required for TDI activities (HWCCT tool). d. Installation of SAP JVM for SAP HANA Studio - Download it from SAP Service Marketplace and install as it is used by SAP HANA Studio. - As an alternative, IcedTea can be installed for testing purpose. - Here, I am providing the IcedTea screenshots as SAP JVM screenshots are easily available.
  • 9. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 9
  • 10. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 10 e. Installation of Tuned Profile - RHEL for SAP HANA provides two Tuned Profiles - For bare-metal installation : sap-hana - For VMware Hypervisor installation : sap-hana-vmware
  • 11. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 11 For Virtual HANA Installation
  • 12. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 12 In case of Physical HANA Installation
  • 13. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 13 f. Update of Kernel Parameters Following parameters must be set /etc/sysctl.conf file. - net.ipv4.tcp_slow_start_after_idle=0 - net.ipv4.conf.all.rp_filter=0 - net.ipv4.ip_local_port_range=40000 61000 - net.ipv4.neigh.default.gc_thresh1=256 - net.ipv4.neigh.default.gc_thresh2=1024 - net.ipv4.neigh.default.gc_thresh3=4096 - net.ipv6.neigh.default.gc_thresh1=256 - net.ipv6.neigh.default.gc_thresh2=1024 - net.ipv6.neigh.default.gc_thresh3=4096 - kernel.shmmni=65536 - kernel.msgmni=32768 - kernel.sem=1250 256000 100 8192 - kernel.sysrq=1 - vm.swappiness=60 - vm.max_map_count=2000000 - vm.memory_failure_early_kill=1 - fs.file-max=20000000 - fs.aio-max-nr=458752 - It is always better set these parameter after SAP HANA is installed as the HANA installer adds some of these parameters.
  • 14. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 14
  • 15. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 15 g. Creation of Symbolic links - Due to compatibility reasons, the follow symbolic links are required for creation - # ln -s /usr/lib64/libssl.so.0.9.8e /usr/lib64/libssl.so.0.9.8 - # ln -s /usr/lib64/libssl.so.1.0.1e /usr/lib64/libssl.so.1.0.1 - # ln -s /usr/lib64/libcrypto.so.0.9.8e /usr/lib64/libcrypto.so.0.9.8 - # ln -s /usr/lib64/libcrypto.so.1.0.1e /usr/lib64/libcrypto.so.1.0.1 h. Disablement of crash and core file handling at OS level - kdump, abrt service should be disabled. - SAP HANA has its own dump mechanism. - One can disable core dumps for all user. To activate it, limits.conf will be as follows: # cat /etc/security/limits.conf * soft core 0 * hard core 0
  • 16. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 16 i. Installation of unrar - There is need of installation of unrar utility to unpack the SAP HANA archive. C) Optional Configurations Optional Configurations a. Lock Kernel Version i. As of Dec’2014, SAP HANA is currently certified for RHEL 6.5 only. For that reason, lock the kernel, kernel-firmware, kernel headers to the latest available kernel of the 2.6.32-431 series. ii. It is better to lock the nss-softokn-freebl and nss-softokn packages to the latest version compatible with RHEL 6.5.
  • 17. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 17 Use these commands for lock activities: # echo kernel-2.6.32-431.el6.* >> /etc/yum/pluginconf.d/versionlock.list # echo kernel-firmware-2.6.32-431.el6.* >> /etc/yum/pluginconf.d/versionlock.list # echo kernel-headers-2.6.32-431.el6.* >> /etc/yum/pluginconf.d/versionlock.list # echo nss-softokn-freebl-3.14.3-12.el6.* >> /etc/yum/pluginconf.d/versionlock.list # echo nss-softokn-3.14.3-12.el6.* >> /etc/yum/pluginconf.d/versionlock.list b. Hardware with IvyTown Sockets i. SAP HANA depends upon specific hardware. For hardware with 8 IvyTown sockets and larger, the maximum no of processes for the sapsys group is not sufficient. This causes the installation of SAP HANA to fail. ii. For the above, please create the /etc/security/limits.d/99-sapsys.conf file with below content @sapsys soft nproc unlimited
  • 18. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 18 c. Installation of NIPING i. One can download nipping program from SAP Service Marketplace. ii. One can install NIPING in the following way: #./SAPCAR -xvf ./NIPING.SAR # cp niping /bin # chmod 755 /bin/niping D)Creation of File System and Mount-points SAP HANA installation can be done on ext3, but XFS is the preferred one. So before SAP HANA installation on any host, one has to perform the following activities as described in earlier chapter “Pre-requisite for SAP HANA Installation on RHEL”.  Install XFS  Create Disk Partitions  Create LVM Logical Volumes  Create XFS File Systems  Create Mount Points  Mount File Systems
  • 19. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 19 E) Deployment as per SAP Note 2013638 As per SAP Note 2013638, we have perform the following activities on host. 1) Disablement of Transparent HugePages (THP) 2) Configuration of C-States for lower latency 3) OpenSSL Upgrade
  • 20. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 20
  • 21. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 21 4) Installation of GCC 4.7 Runtime Environment
  • 22. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 22 5) Disablement of SELinux SELinux will be disabled after a reboot.
  • 23. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 23 6) Validation the version of nss-softokn-freebl : nss-softokn-freebl-3.14.3-12
  • 24. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 24 IV. Installation of SAP HANA A)File System Validation Before Installation The mountpoints /hana/data, /hana/log and /hana/shared are mostly important apart from /usr/sap. The /install has been used for keeping the software and unzip the same for installation. Please ignore the other mountpoints.
  • 25. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 25 B)Preparation of SAP HANA Software for Installation We already downloaded the software and then uncar the same by using SAPCAR utility. It automatically creates the below folder structures while uncar.
  • 26. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 26 C) SAP HANA Installation We will start the SAP HANA installation now. We will use hdblcm (HANA Database Life Cycle Management) Tool. This installation is interactive one – where we have chosen 3 components to be installed – SAP HANA Server, SAP HANA Client and SAP HANA Studio. We have provided SAP HANA SID as “RHA”. This installation is for testing purpose, we will choose “Test” as System usage and that too in single container database mode.
  • 27. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 27 So, now all the input has been completed. It will provide a Summary for checking before starting the actual installation process.
  • 28. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 28
  • 29. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 29
  • 30. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 30
  • 31. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 31 So, SAP HANA System “RHA” installation is completed. One can configure in Linux or in Windows SAP HANA Studio for managing it, using following details –  Hostname with Instance Number, Short Description  SYSTEM account password
  • 32. SAP HANA on RHEL http://debajitb.wix.com/debajitbanerjee | http://debajitb.wix.com/debajitbanerjee/apps/blog Page 32 From this SAP HANA Studio screenshot, one can summarize as follows : - SAP HANA Standalone System “RHA” [SAP HANA 1.0 SPS 09 Rev. 91] is up and running. - It is running on VMware; one can get details of RHEL OS Kernel also. **** END OF DOCUMENT ****