简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
SAP HANA 软件安装
贡献者
下面是 SAP HANA 软件安装的要求。
在单主机系统上安装
SAP HANA 软件安装不需要为单主机系统做任何其他准备。
在多主机系统上安装
|
以下安装操作步骤基于 SAP HANA 1.0 SPS12 或更高版本。 |
开始安装之前,请创建一个 global.ini
文件,以便在安装过程中使用 SAP 存储连接器。在安装过程中, SAP 存储连接器会在工作主机上挂载所需的文件系统。global.ini
文件必须位于可从所有主机访问的文件系统中,例如, ` /ha/shared/SID` 文件系统。
在多主机系统上安装 SAP HANA 软件之前,必须完成以下步骤:
-
将以下数据 LUN 和日志 LUN 的挂载选项添加到
global.ini
文件中:-
relatime
和inode64
用于数据和日志文件系统
-
-
添加数据分区和日志分区的 WWID 。WWID 必须与 ` /etc/multipath.conf` 文件中配置的别名匹配。
以下输出显示了 2+1 多主机设置示例,其中系统标识符( SID )为 SS3 。
stlrx300s8-6:~ # cat /hana/shared/global.ini [communication] listeninterface = .global [persistence] basepath_datavolumes = /hana/data/SS3 basepath_logvolumes = /hana/log/SS3 [storage] 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 [system_information] usage = custom [trace] ha_fcclient = info stlrx300s8-6:~ #
如果使用 LVM ,则所需的配置会有所不同。以下示例显示了一个 2+1 多主机设置,其中 SID 为 FC5 。
sapcc-hana-tst-03:/hana/shared # cat global.ini [communication] listeninterface = .global [persistence] basepath_datavolumes = /hana/data/FC5 basepath_logvolumes = /hana/log/FC5 [storage] 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 #
使用 SAP
hdblcm
安装工具,在其中一个工作主机上运行以下命令以启动安装。使用addhosts
选项添加第二个工作主机( sapcc-han-TST-04 )和备用主机( sapcc-han-TST-05 )。存储已准备好的global.ini
文件的目录包含在storage_cfg
CLI 选项(` -storage_cfg=/has/shared` )中。根据所使用的操作系统版本,可能需要先安装 phyton 2.7 ,然后再安装 SAP HANA 数据库。
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 2.00.052.00.1599235305 ************************************************************************ Scanning software locations... Detected components: SAP HANA AFL (incl.PAL,BFL,OFL) (2.00.052.0000.1599259237) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HDB_AFL_LINUX_X86_64/packages SAP HANA Database (2.00.052.00.1599235305) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HDB_SERVER_LINUX_X86_64/server SAP HANA Database Client (2.5.109.1598303414) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HDB_CLIENT_LINUX_X86_64/client SAP HANA Smart Data Access (2.00.5.000.0) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/SAP_HANA_SDA_20_LINUX_X86_64/packages SAP HANA Studio (2.3.54.000000) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HDB_STUDIO_LINUX_X86_64/studio SAP HANA Local Secure Store (2.4.24.0) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HANA_LSS_24_LINUX_X86_64/packages SAP HANA XS Advanced Runtime (1.0.130.519) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_RT_10_LINUX_X86_64/packages SAP HANA EML AFL (2.00.052.0000.1599259237) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/HDB_EML_AFL_10_LINUX_X86_64/packages SAP HANA EPM-MDS (2.00.052.0000.1599259237) 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/XSACALMPIUI14_1.zip XSAC FILEPROCESSOR 1.0 (1.000.85) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/XSACFILEPROC00_85.zip 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/XSACHRTT12_20341.zip XS Messaging Service 1 (1.004.10) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/XSACMESSSRV04_10.zip 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/XSACPORTALSERV05_1.zip SAP Web IDE Web Client (4.005.1) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSAC_SAP_WEB_IDE_20/XSACSAPWEBIDE05_1.zip XS JOB SCHEDULER 1.0 (1.007.12) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/XSACSERVICES07_12.zip SAPUI5 FESV6 XSA 1 - SAPUI5 1.71 (1.071.25) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/XSACUI5FESV671_25.zip 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/XSACUI5SB00_3.zip XSA Cockpit 1 (1.001.17) in /mnt/sapcc-share/software/SAP/HANA2SP5-52/DATA_UNITS/XSA_CONTENT_10/XSACXSACOCKPIT01_17.zip SAP HANA Database version '2.00.052.00.1599235305' 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.5.109.1598303414 4 | lss | Install SAP HANA Local Secure Store version 2.4.24.0 5 | studio | Install SAP HANA Studio version 2.3.54.000000 6 | smartda | Install SAP HANA Smart Data Access version 2.00.5.000.0 7 | xs | Install SAP HANA XS Advanced Runtime version 1.0.130.519 8 | afl | Install SAP HANA AFL (incl.PAL,BFL,OFL) version 2.00.052.0000.1599259237 9 | eml | Install SAP HANA EML AFL version 2.00.052.0000.1599259237 10 | epmmds | Install SAP HANA EPM-MDS version 2.00.052.0000.1599259237 Enter comma-separated list of the selected indices [3]: 2,3 Enter Installation Path [/hana/shared]: Enter Local Host Name [sapcc-hana-tst-03]:
验证安装工具是否已在所有工作主机和备用主机上安装所有选定组件。