Steps to Install SAP HANA Database Software

In this exercise, we are going to install the SAP HANA database software. We will be installing the SAP HANA Platform Edition 2.0 SPS02 rev20 on Linux x86_64 operating environment.

Prerequisites

  • Read the SAP Help Guide before you start the activity.
  • Prepare the media files.
  • Ensure your hardware platforms, operating systems are supported.
  • The file systems are ready.

Steps

1. Head to SAP Service Marketplace and go to the Software Downloads section and search for SAP HANA Platform. Go for SAP HANA PLATFORM EDITION 2.0 and for this exercise, we will be using the SPS02 rev20.

4 files to be download here 51052325_1, 51052325_2, 51052325_3 and 51052325_4. Depend on your requirements, SAP always recommends to go for latest media.

SAP Marketplace - SAP HANA Platform Edition

2. Copy the downloaded media files to your server file system and extract them accordingly. We will be using the command line interface for this whole activity. Locate the HDBLCM directory.

 cd 51052325/DATA_UNITS/ HDB_LCM_LINUX_X86_64
 ls hdb*
hdblcm
hdblcmgui
hdblcmweb

3. Start the SAP HANA platform lifecycle management tool.

 ./hdblcm

SAP HANA Lifecycle Management - SAP HANA Database 2.xx
*******************************************************

Scanning software locations...
Detected components:

4. Select 5 to install a new system. The tool will also scan and detect any HANA database system installed in the same server.

Choose an action

  Index | Action             | Description
  --------------------------------------------------------------
  1     | QAS (update)       | 2.xx
        |                    | itsiti (Database Worker (worker))
  5     | install            | Install new system
  6     | extract_components | Extract components
  7     | Exit (do nothing)  | 

Enter selected action index [7]: 5

5. Select option 2 and 3 which are Server and Client.

SAP HANA Database version '2.xx' will be installed.

Select additional components for installation:

  Index | Components | Description
  -----------------------------------------------------------------------
  1     | all        | All components
  2     | server     | No additional components
  3     | client     | Install SAP HANA Database Client version 2.xx
  4     | studio     | Install SAP HANA Studio version 2.xx
  5     | smartda    | Install SAP HANA Smart Data Access version 2.xx
  6     | xs         | Install SAP HANA XS Advanced Runtime version 1.xx
  7     | afl        | Install SAP HANA AFL version 2.xx
  8     | eml        | Install SAP HANA EML AFL version 2.xx
  9     | epmmds     | Install SAP HANA EPM-MDS version 2.xx
Enter comma-separated list of the selected indices [3]: 2,3         

6. Enter the following information,

Enter comma-separated list of the selected indices [3]: 2,3         
Enter Installation Path [/hana/shared]: 
Enter Local Host Name [daarisdaani]: 
Do you want to add hosts to the system? (y/n) [n]: 
Enter SAP HANA System ID: DEV
Enter Instance Number [00]: 01
Enter Local Host Worker Group [default]: 

7. Select system usage.

  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]: 3

8. Enter the below information.

Enter Location of Data Volumes [/hana/data/DEV]: 
Enter Location of Log Volumes [/hana/log/DEV]: 
Restrict maximum memory allocation? [n]: 
Enter Certificate Host Name For Host 'daarisdaani' [daarisdaani]: 
Enter System Administrator (devadm) Password: 
Confirm System Administrator (devadm) Password: 
Enter System Administrator Home Directory [/usr/sap/DEV/home]: 
Enter System Administrator Login Shell [/bin/sh]: 
Enter System Administrator User ID [1000]: 
Enter System Database User (SYSTEM) Password: 
Confirm System Database User (SYSTEM) Password: 
Restart system after machine reboot? [n]: 

9. The summary before execution. Enter y to continue.

Summary before execution:
=========================

SAP HANA Database System Installation
   Installation Parameters
      Remote Execution: ssh
      Database Isolation: low
      Installation Path: /hana/shared
      Local Host Name: daarisdaani
      SAP HANA System ID: DEV
      Instance Number: 01
      Local Host Worker Group: default
      System Usage: development
      Location of Data Volumes: /hana/data/DEV
      Location of Log Volumes: /hana/log/DEV
      Certificate Host Names: daarisdaani-> daarisdaani
      System Administrator Home Directory: /usr/sap/DEV/home
      System Administrator Login Shell: /bin/sh
      System Administrator User ID: 1000
      ID of User Group (sapsys): 79
      SAP HANA Database Client Installation Path: /hana/shared/DEV/hdbclient
   Software Components
      SAP HANA Database
         Install version 2.xx
       Location: /51052325/DATA_UNITS/HDB_SERVER_LINUX_X86_64/server
      SAP HANA AFL (incl.PAL,BFL,OFL,HIE)
         Do not install
      SAP HANA EML AFL
         Do not install
      SAP HANA EPM-MDS
         Do not install
      SAP HANA Database Client
         Install version 2.xx
         Location: /51052325/DATA_UNITS/HDB_CLIENT_LINUX_X86_64/client
      SAP HANA Studio
         Do not install
      SAP HANA Smart Data Access
         Do not install
      SAP HANA XS Advanced Runtime
         Do not install

Do you want to continue? (y/n): 

10. Installation begins.

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 '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'...

11. Yeah! It’s done.

Creating Component List...
SAP HANA Database System installed
You can send feedback to SAP with this form: 
https://xx:1129/lmsl/HDBLCM/DEV/feedback/feedback.html
Log file written to '/hdblcm.log' on host 'daarisdaani'.

12. Now, let’s check the database status. Execute this as SIDADM.

# HDB info

13. Use SAP HANA Studio to login to the system database and to check the version, configuration etc.

You May Also Like

1 Comment

  1. Hello

    What is your experience ? Can I install Hana and Application Server on one server (one hardware) for productiv systems?
    What is SAP’s recommendation?

    Many thanks

Leave a Reply?