SAP/INSTALL

[SAP HANADB] S/4HANA DB Install (SAP HANA Database 2.0 revision46 sp04)

미미면 2022. 6. 8. 09:37
728x90
반응형

설치 테스트를 진행할 버전은 SAP HANA Database 2.0 revision46 sp04버전입니다. 

해당버전의 파일을 다운로드 한 후 설치를 진행합니다.

 

HANADB 설치 전,

/hana/data

/hana/log

/hana/shared 

경로를 파티셔닝 합니다.

partitioning

설치파일을 업로드합니다. 

압축을 해제합니다.

 

명령어 : ./SAPCAR_315-20010450_Linux.exe -xvf IMDB_SERVER20_056_0-80002031.SAR

압축을 해제하면 SAP_HANA_DATABASE라는 디렉터리가 생기고 해당 디렉터리 내의 실행파일로 설치를 진행합니다. 

 

hdblcm 을 이용하여 설치를 진행합니다.

설치 계정 : root

 

아래의 스크립트를 실행하며 필수 몇몇값들을 입력하게 됩니다.

사용 조건에 맞게 입력 후 설치를 진행합니다. 

( 보안상 DB hostname과 SID는 표시하지 않았습니다.)

[root@krsrrecvdb SAP_HANA_DATABASE]# ./hdblcm

SAP HANA Lifecycle Management - SAP HANA Database 2.00.046.00.1581325702
************************************************************************


Scanning software locations...
Detected components:
SAP HANA Database (2.00.046.00.1581325702) in /hana/shared/SAP_HANA_DATAB/server




Choose an action

Index | Action | Description
---------------------------------------------------------------------------------
1 | xxx (update) | Update SAP HANA Database version 2.00.046.00.1325702
| | xxxxxx(Database Worker (worker))
2 | install | Install new system
3 | extract_components | Extract components
4 | Exit (do nothing) |

Enter selected action index [4]: 2(신규설치)
Enter Installation Path [/hana/shared]:
Enter Local Host Name [xxxxxxxxx]:
Do you want to add hosts to the system? (y/n) [n]: n
Enter SAP HANA System ID: XXX(설치할 SID 입력)
Enter Instance Number [01]:(인스턴스 번호 확인)
Enter Local Host Worker Group [default]:

Index | System Usage | Description
----------------------------------------------------------------------------
1 | production | System is used in a production environment
2 | test | System is used for testing, not production
3 | development | System is used for development, not production
4 | custom | System usage is neither production, test nor developt

Select System Usage / Enter Index [4]: 2
Enter Location of Data Volumes [/hana/data/SID]:
Enter Location of Log Volumes [/hana/log/SID]:
Restrict maximum memory allocation? [n]:
Enter Certificate Host Name For Host 'XXX' [XXX]:
Enter System Administrator (ereadm) Password:PW 입력
Confirm System Administrator (ereadm) Password:PW 입력
Enter System Administrator Home Directory [/usr/sap/SID/home]:
Enter System Administrator Login Shell [/bin/sh]:
Enter System Administrator User ID [1009]:enter
Enter System Database User (SYSTEM) Password:PW 입력
Confirm System Database User (SYSTEM) Password:PW 입력
Restart system after machine reboot? [n]:enter

Summary before execution:
=========================

SAP HANA Database System Installation
Installation Parameters
Remote Execution: ssh
Database Isolation: low
Install Execution Mode: standard
Installation Path: /hana/shared
Local Host Name: XXX
SAP HANA System ID: SID
Instance Number: 01
Local Host Worker Group: default
System Usage: test
Location of Data Volumes: /hana/data/SID
Location of Log Volumes: /hana/log/SID
Certificate Host Names: XXX -> XXX
System Administrator Home Directory: /usr/sap/SID/home
System Administrator Login Shell: /bin/sh
System Administrator User ID: 1009
ID of User Group (sapsys): 79
Software Components
SAP HANA Database
Install version 2.00.046.00.1581325702
Location: /hana/shared/SAP_HANA_DATABASE/server
Log File Locations
Log directory: /var/tmp/hdb_SID_hdblcm_install_2021-07-09_17.26.37
Trace location: /var/tmp/hdblcm_2021-07-09_17.26.37_2223453.trc

Do you want to continue? (y/n): y
Installing components...
Installing SAP HANA Database...
Preparing package 'Saphostagent Setup'...
Preparing package 'Python Support'...
Preparing package 'Python Runtime'...
Preparing package 'Product Manifest'...
Preparing package 'Binaries'...
Preparing package 'Data Quality'...
Preparing package 'Krb5 Runtime'...
Preparing package 'Installer'...
Preparing package 'Ini Files'...
Preparing package 'HWCCT'...
Preparing package 'Documentation'...
Preparing package 'Delivery Units'...
Preparing package 'Offline Cockpit'...
Preparing package 'DAT Languages (EN, DE)'...
Preparing package 'DAT Languages (other)'...
Preparing package 'DAT Configfiles (EN, DE)'...
Preparing package 'DAT Configfiles (other)'...
Creating System...
Extracting software...
Installing package 'Saphostagent Setup'...
Installing package 'Python Support'...
Installing package 'Python Runtime'...
Installing package 'Product Manifest'...
Installing package 'Binaries'...
Installing package 'Data Quality'...
Installing package 'Krb5 Runtime'...
Installing package 'Installer'...
Installing package 'Ini Files'...
Installing package 'HWCCT'...
Installing package 'Documentation'...
Installing package 'Delivery Units'...
Installing package 'Offline Cockpit'...
Installing package 'DAT Languages (EN, DE)'...
Installing package 'DAT Languages (other)'...
Installing package 'DAT Configfiles (EN, DE)'...
Installing package 'DAT Configfiles (other)'...
Creating instance...
Configuring instance...
Starting SAP HANA Database system...
Starting 4 processes on host 'krsrrecvdb' (worker):
Starting on 'krsrrecvdb' (worker): hdbdaemon, hdbcompileserver, hdbnamever, hdbpreprocessor
Starting 7 processes on host 'krsrrecvdb' (worker):
Starting on 'krsrrecvdb' (worker): hdbdaemon, hdbcompileserver, hdbnamever, hdbpreprocessor, hdbwebdispatcher, hdbindexserver (ERE), hdbxsengine (ER
Starting on 'krsrrecvdb' (worker): hdbdaemon, hdbwebdispatcher, hdbinderver (ERE), hdbxsengine (ERE)
Starting on 'krsrrecvdb' (worker): hdbdaemon, hdbwebdispatcher, hdbxsene (ERE)
Starting on 'krsrrecvdb' (worker): hdbdaemon, hdbwebdispatcher
All server processes started on host 'krsrrecvdb' (worker).
Importing delivery units...
Importing delivery unit HCO_INA_SERVICE
Importing delivery unit HANA_DT_BASE
Importing delivery unit HANA_IDE_CORE
Importing delivery unit HANA_TA_CONFIG
Importing delivery unit HANA_UI_INTEGRATION_SVC
Importing delivery unit HANA_UI_INTEGRATION_CONTENT
Importing delivery unit HANA_XS_BASE
Importing delivery unit HANA_XS_DBUTILS
Importing delivery unit HANA_XS_EDITOR
Importing delivery unit HANA_XS_IDE
Importing delivery unit HANA_XS_LM
Importing delivery unit HDC_ADMIN
Importing delivery unit HDC_BACKUP
Importing delivery unit HDC_IDE_CORE
Importing delivery unit HDC_SEC_CP
Importing delivery unit HDC_SYS_ADMIN
Importing delivery unit HDC_XS_BASE
Importing delivery unit HDC_XS_LM
Importing delivery unit SAPUI5_1
Importing delivery unit SAP_WATT
Importing delivery unit HANA_SEC_CP
Importing delivery unit HANA_BACKUP
Importing delivery unit HANA_HDBLCM
Importing delivery unit HANA_SEC_BASE
Importing delivery unit HANA_SYS_ADMIN
Importing delivery unit HANA_ADMIN
Importing delivery unit HANA_WKLD_ANLZ
Installing Resident hdblcm...
Updating SAP HANA Database Instance Integration on Local Host...
Deploying SAP Host Agent configurations...
Creating Component List...
SAP HANA Database System installed
You can send feedback to SAP with this form: https:/XXXXXX:1129/lmsl/HDBLCM/ERE/feedback/feedback.html
Log file written to '/var/tmp/hdb_SID_hdblcm_install_2021-07-09_17.26.37/hdblcm.log' on host 'krsrrecvdb'.
반응형