Wednesday, 30 December 2020

Install a Multiple-Host SAP HANA System Using the Command-Line Interface

 Pre - requisites and check:

  • minimum 2 HANA Appliance systems required.
  • Putty access for the both systems with root or any other using with read and execute permissions for the directory that contains .
  • Ensure NFS file system for /hana  mount point on both systems, using command df -h

  • The operating system administrator (<sid>adm) user and other operating system users may exist prior to installation. Make sure that you have the password of the existing users, and that the user attributes and group assignments are correct.
  • The SAP HANA system must be installed with its server software on a shared file system.                                            Create an installation directory. i.e /hana/shared.
  •       Set the export options rw,no_root_squash for the installation directory. for more info click here
  • Mount the installation directory on all hosts.                                 

         Depending on the desired storage solution. shared storage devices or separate storage devices with failover reassignment,

    different configurations apply:

     

    o     In a shared file system, the data files and log files are configured so that they are present and mounted on all hosts, including the primary host.

    o     In a system that uses separate storage devices, each host only has access to its own data files and log files.

     

    The suggested locations for the file systems are as follows:

     

    o   /hana/data/<SID›

     

    o   /hana/log/<SID>

     

         (Optional) Additional storage is configured.

     

         Root user name must be the same for all hosts in a multiple-host system.

     

         If the root user name is not root, it must be specified as a parameter during installation using the parameter root_user.

     



Context:                                                                                                                                                  

The following procedure describes the installation of an SAP HANA system in interactive mode and entering parameters interactively. This procedure may also be performed in advanced interactive mode or batch mode, with parameters entered as call options or from a configuration file. For more information about interaction modes and parameter entry methods, see Using the SAP HANA Platform LCM Tools in Related Information.

 

As of SAP HANA 2.0 SPS 01, the multi-container database mode is the only database mode. By default, a single tenant database is created during installation. You can add additional tenant databases later using the SAP HANA cockpit. SAP HANA options hosts or host roles can be automatically provisioned to a system that is installed with a single tenant. If the SAP HANA system contains multiple tenant databases, the SAP HANA options host or host role must be manually provisioned to the tenant.



Note

Not all parameters are requested interactively. Some parameters have default values that do not require confirmation in 


interactive mode. Those parameters must be specified as call options or from a configuration file. For more information 


about changeable default values, see Related Information.




Procedure:













1 comment:

  1. Hi Naveen,

    After editing the global.ini file, the /hana/data and /hana/log directories will not be automatically mounted during installation. My configuration is as follows:
    [communication]
    listeninterface = .global
    [storage]
    ha_provider = hdb_ha.fcClient
    partition_*_*__prtype = 5
    partition_*_data__mountoptions = -o inode64,largeio,swalloc
    partition_*_log__mountoptions = -o inode64,largeio,swalloc
    partition_1_data__alias = hana_data1
    partition_1_log__alias = hana_log1
    partition_2_data__alias = hana_data2
    partition_2_log__alias = hana_log2
    [persistence]
    basepath_datavolumes = /hana/data/XIA
    basepath_logvolumes = /hana/log/XIA
    basepath_shared = no

    I want to test 2+1, but there are always problems in the current installation. Is the storage provided by the iscsi server not working?
    I want to know during your test, will the data&log partition_ defined in global.ini be automatically mounted? What storage do you use?

    Thanks

    ReplyDelete