1、SAP HANA 安装手册1、 操作系统安装选择操作系统版本为 SUSE Linux Enterprise for SAP Applications 12 SP1以下为操作系统安装 1、 选择安装语言语言默认为 English(US),键盘默认为 English(US),点击 next;2、 选择安装选项本次安装选择 SLES for SAP选择 start the sap installation wizard right after the OS installation选择 next3、选择下一步选择下一步选择时区为上海输入 root 密码下一步开始安装,点击 Install等待安装进度
2、完成后,安装成功,登陆系统。二、SAP HANA 数据库安装1、 安装前准备在初次安装过程中遇到提示 Libssl.so 错误的问题,因此需要提前检查相关设置在 yast 中,安装相关组件,如下图注:在默认安装过程中发现,SAP HANA Server Base 该选项未安装,需要手工选中进行安装。2、 Sap HANA 数据库的安装将安装包上传到服务器本次安装的数据库软件为 51050506 中的 HDB_SERVER_LINUX_X86_64,使用 root 用户进行安装。进如软件目录后,执行./hdbinst 进行安装配置。TESTHANA:/HDB_SERVER_LINUX_X86_6
3、4 # ./hdbinst SAP HANA Database installation kit detected.SAP HANA Lifecycle Management - Database Installation 1.00.110.00.1447753075*Enter Local Host Name testhana: (HANA 默认取服务器主机名)Enter Installation Path /hana/shared: (默认安装目录)Enter SAP HANA System ID: HAT (HANA SID,一般为三位)Enter Instance Number 00:
4、 (设置 Instance 的代码,默认从 00 开始)Index | Database Mode | Description-1 | single_container | The system contains one database2 | multiple_containers | The system contains one system database and 1n tenant databasesSelect Database Mode / Enter Index 1: 注:模式 1,single 模式,属于在 HANA 服务器上使用单实例的模式,公用内存和 cpu模式 2,m
5、ultiple 模式,属于在 HANA 服务器上使用多租户的模式,可以独立设置 CPU和内存的使用量,本次默认选择 1Index | System Usage | Description-1 | production | System is used in a production environment2 | test | System is used for testing, not production3 | development | System is used for development, not production4 | custom | System usage is n
6、either production, test nor developmentSelect System Usage / Enter Index 4: 2 (该选项为 HANA 系统的标识为那种模式,并无根本的功能上的区别)Enter System Administrator (hatadm) Password:(置服务器中新增 HANA 管理员的账户密码)Confirm System Administrator (hatadm) Password: Enter System Administrator Home Directory /usr/sap/HAT/home: Enter Syste
7、m Administrator Login Shell /bin/sh: Enter System Administrator User ID 1000: Enter ID of User Group (sapsys) 79: Enter Location of Data Volumes /hana/shared/HAT/global/hdb/data: Enter Location of Log Volumes /hana/shared/HAT/global/hdb/log: Restrict maximum memory allocation? n: Enter Database User
8、 (SYSTEM) Password: (设置 HANA 数据库管理员的用户密码)Confirm Database User (SYSTEM) Password: Restart system after machine reboot? n: (设置是否开机启动,建议不要开机启动)Summary before execution:Installation Path: /hana/sharedSAP HANA System ID: HATInstance Number: 00Database Mode: single_containerSystem Usage: testSystem Admin
9、istrator Home Directory: /usr/sap/HAT/homeSystem Administrator Login Shell: /bin/shSystem Administrator User ID: 1000ID of User Group (sapsys): 79Location of Data Volumes: /hana/shared/HAT/global/hdb/dataLocation of Log Volumes: /hana/shared/HAT/global/hdb/logLocal Host Name: testhanaDo you want to
10、continue? (y/n): y (开始安装)Checking installation.Preparing package Saphostagent Setup.Preparing package Python Support.Preparing package Python Runtime.Preparing package Product Manifest.Preparing package Binaries.Preparing package Installer.Preparing package Ini Files.Preparing package HWCCT.Preparin
11、g package Emergency Support Package.Preparing package EPM.Preparing package Documentation.Preparing package Delivery Units.Preparing package DAT Languages.Preparing package DAT Configfiles.Creating System.Extracting software.Installing package Saphostagent Setup.Installing package Python Support.Ins
12、talling package Python Runtime.Installing package Product Manifest.Installing package Binaries.Installing package Installer.Installing package Ini Files.Installing package HWCCT.Installing package Emergency Support Package.Installing package EPM.Installing package Documentation.Installing package De
13、livery Units.Installing package DAT Languages.Installing package DAT Configfiles.Creating instance.hdbparam: Working configuration directory: “/hana/shared/HAT/global/hdb/custom/config“hdbnsutil: creating persistence .hdbnsutil: writing initial topology.hdbnsutil: writing initial license: status che
14、ck = 2Starting SAP HANA Database system.Starting 1 process on host TESTHANA:Starting on TESTHANA: hdbupdconfStarting 7 processes on host TESTHANA:Starting on TESTHANA: hdbcompileserver, hdbdaemon, hdbindexserver, hdbnameserver, hdbpreprocessor, hdbwebdispatcher, hdbxsengineStarting on TESTHANA: hdbc
15、ompileserver, hdbdaemon, hdbindexserver, hdbpreprocessor, hdbwebdispatcher, hdbxsengineStarting on TESTHANA: hdbcompileserver, hdbdaemon, hdbindexserver, hdbwebdispatcher, hdbxsengineStarting on TESTHANA: hdbdaemon, hdbindexserver, hdbwebdispatcher, hdbxsengineStarting on TESTHANA: hdbdaemon, hdbweb
16、dispatcher, hdbxsengineStarting on TESTHANA: hdbdaemon, hdbwebdispatcherAll server processes started on host TESTHANA.Importing delivery units.Importing delivery unit HCO_INA_SERVICEImporting delivery unit HANA_DT_BASEImporting delivery unit HANA_IDE_COREImporting delivery unit HANA_TA_CONFIGImporti
17、ng delivery unit HANA_UI_INTEGRATION_SVCImporting delivery unit HANA_UI_INTEGRATION_CONTENTImporting delivery unit HANA_XS_BASEImporting delivery unit HANA_XS_DBUTILSImporting delivery unit HANA_XS_EDITORImporting delivery unit HANA_XS_IDEImporting delivery unit HANA_XS_LMImporting delivery unit HDC
18、_ADMINImporting delivery unit HDC_IDE_COREImporting delivery unit HDC_SEC_CPImporting delivery unit HDC_XS_BASEImporting delivery unit HDC_XS_LMImporting delivery unit SAPUI5_1Importing delivery unit SAP_WATTImporting delivery unit HANA_BACKUPImporting delivery unit HANA_HDBLCMImporting delivery unit HANA_SEC_BASEImporting delivery unit HANA_SEC_CPImporting delivery unit HANA_ADMINInstallation doneLog file written to /var/tmp/hdb_HAT_install_2016-03-01_14.51.03/hdbinst.log on host TESTHANA.HDB stopHDB startHDB proc查看系统能够状况:注:00 代表系统号sapcontrol -nr 00 -function GetProcessList