Skip to main content
NetApp Solutions SAP

SAP HANA software installation


This section describes the preparation necessary to install SAP HANA on single-host and multiple-host systems.

Installation on single-host system

SAP HANA software installation does not require any additional preparation for a single-host system.

Installation on multiple-host system

Before beginning the installation, create a global.ini file to enable use of the SAP storage connector during the installation process. The SAP storage connector mounts the required file systems at the worker hosts during the installation process. The global.ini file must be available in a file system that is accessible from all hosts, such as the /hana/shared file system.

Before installing SAP HANA software on a multiple-host system, the following steps must be completed:

  1. Add the following mount options for the data LUNs and the log LUNs to the global.ini file:

    • relatime and inode64 for the data and log file system

  2. Add the WWIDs of the data and log partitions. The WWIDs must match the alias names configured in the /etc/multipath.conf file.

    The following output shows an example of a 2+1 multiple-host setup in which the system identifier (SID) is SS3.

    stlrx300s8-6:~ # cat /hana/shared/global.ini
    listeninterface = .global
    basepath_datavolumes = /hana/data/SS3
    basepath_logvolumes = /hana/log/SS3
    ha_provider = hdb_ha.fcClient
    partition_*_*__prtype = 5
    partition_*_data__mountoptions = -o relatime,inode64
    partition_*_log__mountoptions = -o relatime,inode64,nobarrier
    partition_1_data__wwid = hana-SS3_data_mnt00001
    partition_1_log__wwid = hana-SS3_log_mnt00001
    partition_2_data__wwid = hana-SS3_data_mnt00002
    partition_2_log__wwid = hana-SS3_log_mnt00002
    usage = custom
    ha_fcclient = info
    stlrx300s8-6:~ #

    If the Linux LVM is used, the required configuration is different. The following example shows a 2+1 multiple-host setup with SID=FC5.

    sapcc-hana-tst-03:/hana/shared # cat global.ini
    listeninterface = .global
    basepath_datavolumes = /hana/data/FC5
    basepath_logvolumes = /hana/log/FC5
    ha_provider = hdb_ha.fcClientLVM
    partition_*_*__prtype = 5
    partition_*_data__mountOptions = -o relatime,inode64
    partition_*_log__mountOptions = -o relatime,inode64
    partition_1_data__lvmname = FC5_data_mnt00001-vol
    partition_1_log__lvmname = FC5_log_mnt00001-vol
    partition_2_data__lvmname = FC5_data_mnt00002-vol
    partition_2_log__lvmname = FC5_log_mnt00002-vol
    sapcc-hana-tst-03:/hana/shared #
    Using the SAP hdblcm installation tool, start the installation by running the following command at one of the worker hosts. Use the `addhosts` option to add the second worker (sapcc-hana-tst-04) and the standby host (sapcc-hana-tst-05).
    Note The directory where the prepared global.ini file is stored is included with the storage_cfg CLI option (-- storage_cfg=/hana/shared).
    Note Depending on the OS version being used, it might be necessary to install Python 2.7 before installing the SAP HANA database.
    sapcc-hana-tst-03:/mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HDB_LCM_LINUX_X86_64 # ./hdblcm --action=install --addhosts=sapcc-hana-tst-04:role=worker:storage_partion=2,sapcc-hana-tst-05:role:=standby --storage_cfg=/hana(shared/shared
    SAP HANA Lifecycle Management - SAP HANA Database
    Scanning software locations...
    Detected components:
        SAP HANA AFL (incl.PAL,BFL,OFL) ( in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HDB_AFL_LINUX_X86_64/packages
        SAP HANA Database ( in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HDB_SERVER_LINUX_X86_64/server
        SAP HANA Database Client ( in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HDB_CLIENT_LINUX_X86_64/client
        SAP HANA Smart Data Access ( in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/SAP_HANA_SDA_20_LINUX_X86_64/packages
        SAP HANA Studio ( in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HDB_STUDIO_LINUX_X86_64/studio
        SAP HANA Local Secure Store ( in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HANA_LSS_24_LINUX_X86_64/packages
        SAP HANA XS Advanced Runtime ( in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_RT_10_LINUX_X86_64/packages
        SAP HANA EML AFL ( in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HDB_EML_AFL_10_LINUX_X86_64/packages
        SAP HANA EPM-MDS ( in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/SAP_HANA_EPM-MDS_10/packages
        GUI for HALM for XSA (including product installer) Version 1 (1.014.1) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/
        XSAC FILEPROCESSOR 1.0 (1.000.85) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/
        SAP HANA tools for accessing catalog content, data preview, SQL console, etc. (2.012.20341) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSAC_HRTT_20/
        XS Messaging Service 1 (1.004.10) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/
        Develop and run portal services for customer apps on XSA (1.005.1) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/
        SAP Web IDE Web Client (4.005.1) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSAC_SAP_WEB_IDE_20/
        XS JOB SCHEDULER 1.0 (1.007.12) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/
        SAPUI5 FESV6 XSA 1 - SAPUI5 1.71 (1.071.25) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/
        SAPUI5 SERVICE BROKER XSA 1 - SAPUI5 Service Broker 1.0 (1.000.3) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/
        XSA Cockpit 1 (1.001.17) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/
    SAP HANA Database version '' 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
      4     | lss        | Install SAP HANA Local Secure Store version
      5     | studio     | Install SAP HANA Studio version
      6     | smartda    | Install SAP HANA Smart Data Access version
      7     | xs         | Install SAP HANA XS Advanced Runtime version
      8     | afl        | Install SAP HANA AFL (incl.PAL,BFL,OFL) version
      9     | eml        | Install SAP HANA EML AFL version
      10    | epmmds     | Install SAP HANA EPM-MDS version
    Enter comma-separated list of the selected indices [3]: 2,3
    Enter Installation Path [/hana/shared]:
    Enter Local Host Name [sapcc-hana-tst-03]:
  3. Verify that the installation tool installed all selected components at all worker and standby hosts.