Quantcast
Channel: SCN : Document List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 1183

SAP Hana SP10 Installation on Red Hat 6.6

$
0
0

In my documentation I’ll explain how to install SAP Hana SP10 on a Linux Red Hat 6.6 system in my test environment.

 

I will show in detail step and configuration point to achieve it.

 

For my setup I’ll use my own lab on Vmware Vsphere 5.1.0 and run Hana revision 101, I’ll reuse my existing environment setup in my previous documentation.

 

In order execution

  • Download Red Hat 6.6 release
  • Install the minimal RHEL
  • Configure RHEL
  • SAP Hana installation

 

Guide used

 

Red Hat Enterprise Linux (RHEL) 6.x Configuration Guide for SAP HANA

SAP HANA Master Guide

 

Note used

 

SAP Note 171356 - SAP Software on Linux: General information

SAP Note 2009879 - SAP HANA Guidelines for Red Hat Enterprise Linux (RHEL) Operating System

SAP Note 1496410 - Red Hat Enterprise Linux 6.x: Installation and Upgrade

SAP Note 2136965 - SAP HANA DB: Recommended OS settings for RHEL 6.6

SAP Note 2001528 - Linux: SAP HANA Database SPS 08 revision 80 (or higher) on RHEL 6 or SLES 1

 

Link used

 

Red Hat Enterprise Linux for SAP HANA: system updates and supportability

Help SAP Hana

RedHat access documentation

 

Overview Architecture

56.jpg

 

In my previous documentation “SAP Hana TDI setup - VMware 5.1” I have explain and setup different scenario of Hana deployment, I’ll use same proceed to create my vm and template for reuse later.

 

 

Download Red Hat 6.6 release

 

In order to be able to download Red Hat dvds you must first register

1.jpg

 

Once done, validate your account and download the necessary media

2.jpg

 

Now downloaded I store it in my datastore

3.jpg

 

 

Install the minimal RHEL

 

My vm ready and my dvd ready I start to install the base Red Hat system

4.jpg

 

5.jpg

 

6.jpg

 

7.jpg

 

8.jpg

 

Make sure the automatic connection to the network card is enabled

9.jpg

 

Set the time zone and system clock according your location11.jpg

 

12.jpg

 

I choose the first option since my system is just about to be created

13.jpg

 

14.jpg

 

Choose minimal option

15.jpg

 

Installation in progress

16.jpg

 

Installation completed

17.jpg

 

 

Configure RHEL

 

The base installation is now over the system needs to be compliant to host SAP Hana, the configuration consist of the following activities:

 

•    Subscribe your system to Red Hat channels

•    Install the base package group and xfs tools

•    Create the /usr/sap/ storage for SAP HANA.

•    Mount the file system for SAP HANA instance

•    Install dependencies package for Hana

•    Install the SAP Java Virtual Machine or IcedTea

•    Disable SELinux in /etc/sysconfig/selinux

•    Install and configure the package tuned-profiles-sap-hana

•    Configure the profile for vmware

•    Set the parameters in /etc/sysctl.conf

•    Set the symbolic links

•    Add the kernel command line argument for crash huge page

•    Omit the application crash and core file handling of the operating system

 

 

 

 

Subscribe your system to Red Hat channels

 

In order to be able download patch, package and so on, the system must be register against Redhat by subscription, but in order to have SAP Hana specific package for RedHat you need to be register in “Partner center” and join as an existing partner company or apply for partnership

25.jpg

 

Once the registration fully completed and approved (it takes few days), run the subscription manager on your system

24.jpg

 

And list all the available production available for you, you must have “Red Hat Enterprise Linux for SAP Hana” listed

26.jpg

27.jpg

 

Attach the subscription to your pool ID (this information is system dependent)

28.jpg

29.jpg

 

Run the subscription release

30.jpg

 

Disable all existing repositories

31.jpg

 

And finally enable on “Hana’ repositories

32.jpg

 

 

Install base package group and xfs tools

 

33.jpg

34.jpg

 

Create /usr/sap storage for SAP Hana

 

From my ESXi host I did add another volume to my RedHat server in order to create “/usr/sap/” file system.

I check now by “lsblk –f” command of my new volume is there

36.jpg

 

Let’s create my physical volume by “pvcreate /dev/sdb” command

37.jpg

 

Now create the new volume group by “vgcreate new_volume /dev/sdb” and run the command “vgs” to check

38.jpg

39.jpg

 

The VG available with 50gb of space I’m creating now my logical volume with only 40gb of space in order to keep some room on my disk

40.jpg

 

And finally I create my physical file system and mount it

41.jpg

 

Result

42.jpg

 

 

Mount the file system for SAP HANA instance

 

The next phase will be to add the nfs mount point from my NAS server to RedHat for Hana by editing the fstab

Do not for forget to install nfs package by “ yum groupinstall "Network file system client"”

43.jpg

 

Once done “mount –a” and check

44.jpg

 

 

Install dependencies package for Hana

 

Like in SLES environment, RHEL needs to have specific package dependency in order to deploy Hana.

45.jpg

 

Install the SAP Java Virtual Machine or IcedTea

46.jpg

 

Disable SELinux in /etc/sysconfig/selinux

47.jpg

 

Install and configure the package tuned-profiles-sap-hana from the RHEL for SAP HANA channel to minimize latencies

48.jpg

 

For Hana running on VMware

49.jpg

 

Set the parameters in /etc/sysctl.conf

50.jpg

 

Set the symbolic link for compatibility reason

51.jpg

 

Add the kernel command line argument for crash huge page by editing /boot/grub/grub.conf file

52.jpg

 

Omit the application crash and core file handling of the operating system

53.jpg

 

This completed for the system preparation in order to install SAP Hana, I can proceed to the next section

 

 

 

SAP Hana installation

 

We are ready now to install SAP Hana and it’s like running it on SLES, so no surprise.

I’ll go by the hdblcmgui to run the install because a specific string is required as you can see in the red square below.

57.jpg

58.jpg

 

That’s it, Red Hat is very specific regarding package so do not missed any step.

 

Williams


Viewing all articles
Browse latest Browse all 1183

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>