This article contains some sections of the global.ini file contents which we need to edit before the SAP HANA deployment. The lines that should be edited are marked in red. The complete example of global.ini file is attached to this article.
Global.ini is used in SAP HANA cluster deployment scenarios. After editing the global.ini file, the file should be placed in the /hana/shared directory before the cluster deployment starts.
###############################################################################
# Persistence configuration
###############################################################################
# .short_desc
# Configuration of persistence
# .full_desc
# This section contains various parameters which are related to configuration
# of data and log location as well as data and log backup.
[persistence]
# .short_desc
# Base path for data volumes
# .full_desc
# All data volumes will be stored under this path.
# .type path
# .change offline
# basepath_datavolumes=$(DIR_GLOBAL)/hdb/data
basepath_datavolumes=/hana/data/PBX/
# .short_desc
# Base path for log volumes
# .full_desc
# All log volumes will be stored under this path.
#
# \see \ref logger
# .type path
# .change offline
basepath_logvolumes=/hana/log/PBX/
###############################################################################
# Storage HA configuration
###############################################################################
# . short_desc
# storage HA configuration
[storage]
# .short_desc
# name of python HA provider script
ha_provider = hdb_ha.fcClient
# ha_provider_path = /hS00/shared/
# these parameters name the WWIDs of the devices for each partition/usage_type combination
# if you have more nodes, add your LUNs here.
# for proper usage, replace the '...' with specified WWID in your system.
partition_*_*__prType = 5
partition_1_data__wwid = data_001
partition_1_log__wwid = log_001
partition_2_data__wwid = data_002
partition_2_log__wwid = log_002
partition_*_data__mountoptions = -o noatime,nodiratime
partition_*_log__mountoptions = -o noatime,nodiratime
###############################################################################
# Communication
###############################################################################
# .short_desc
# Configuration of communication settings
# .full_desc
# This section contains parameters which are related to configuration
# of various communication settings
[communication]
# .short_desc
# the network interface the processes shall listen on
# .full_desc
#
# Possible values are:
# - .all: all interfaces like INADDR_ANY
# - .global: all interfaces
# - .internal: all interfaces that are listed in [internal_hostname_resolution] or local
# - .local: only local interfaces (e. g. 127.0.0.1)
# - a list of netmask specification in CIDR notation (e. g. 192.168.100.0/24)
# default is .global
listeninterface = .global
# .short_desc
# specifies the resolution of hostnames to addresses
# .full_desc
# This section mimics the behaviour of /etc/hosts. IP addresses might be assigned to
# a list of hostname aliases. If an interface address is found in this list it is
# considered internal.
# The format should be ipaddress = hostname[,alias].
# e. g. 192.168.100.1 = hS00host01, hS00host01.example.com
[internal_hostname_resolution]
192.168.2.13 = Pbx-db
192.168.2.23 = Pbx-db1
192.168.2.33 = Pbx-stb