此安装为网上收集整理,来源:http://www.itpub.net/thread-2116363-1-1.html
- 安装使用方法参考:
http://www.itpub.net/thread-2096029-1-1.html 第二十一楼
https://blogs.sap.com/2018/10/07/s4hana-1709-fps1-fully-activated-appliance-installation/comment-page-1/#comment-43913 - HANA用户system密码:Lrp_2019,后续在HANA数据库重命名时会用到
- 下载SAP S4 HANA 1809 FP1 Fully Activated Appliance所需文件:http://www.itpub.net/thread-2113687-1-1.html
- 下载安装SUSE LINUX ENTERPRISE SERVER FOR SAP APPLICATIONS 12 SP3 https://www.suse.com/products/sles-for-sap/download/
- 解压hana.rar,usrsap.rar,sapmnt.rar到本机,将解压出来的hana.tar,usrsap. tar,sapmnt. tar文件使用Xftp 6等工具拷贝到linux 中,下文示例中这三个文件拷贝位置为/mnt/ntfs中
a) 进入根目录cd /
b) 执行tar -xvf /mnt/ntfs/hana.tar 耗时较长请耐心等待
c) 执行tar -xvf /mnt/ntfs/usrsap.tar
d) 执行tar -xvf /mnt/ntfs/sapmnt.tar
e) 解压完毕,请到根目录查看下面文件及目录是否存在
6.修改/etc/hosts文件,增加下面内容,主要方便fiori等WEB端的域名解析:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# # hosts This file describes a number of hostname-to-address # mappings for the TCP/IP subsystem. It is mostly # used at boot time, when no name servers are running. # On small systems, this file can be used instead of a # "named" name server. # Syntax: # # IP-Address Full-Qualified-Hostname Short-Hostname # 127.0.0.1 localhost sid-hdb-s4h.dummy.nodomain sid-hdb-s4h # special IPv6 addresses ::1 localhost ipv6-localhost ipv6-loopback fe00::0 ipv6-localnet ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts #host file entries for SAP S/4HANA 1809 & SAP HANA DB (based on SAP Netweaver AS ABAP 7.53) # added by a service of the CAL Appliance Agent 10.146.0.3(你的IP) vhcalhdbdb.dummy.nodomain vhcalhdbdb vhcals4hcs.dummy.nodomain vhcals4hcs vhcals4hci.dummy.nodomain vhcals4hci # added by a service of the CAL Appliance Agent #end of host file entries for SAP S/4HANA 1809 & SAP HANA DB (based on SAP Netweaver AS ABAP 7.53) # added by a service of the CAL Appliance Agent |
- 设置语言为英语,设置后需要重启,但貌似这步不做也可以
8.设置系统语言及时区,执行下列黄色标注的命令:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
vhcalhdbdb:~ # echo $LANG en_US.UTF-8 vhcalhdbdb:~ # locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 如果locale值与上图不符,可以执行export 指令赋值,例如:LC_ALL=en_US.UTF-8,也可以编辑vi /etc/profile 添加下面内容 export LANG="en_US.UTF-8" export LC_ALL="en_US.UTF-8" export LANGUAGE="en_US:en" export HOSTNAME="vhcalj2edb" export TIMEZONE="Asia/Chongqing" export DEFAULT_TIMEZONE="Asia/Chongqing" export UTC="true" |
9.新建sapsys 用户组 ID为1000,group Members 先设置为root即可,无需设置密码
10.新建sapadm用户,group先设置为root即可,密码先设置为:Lrp_2019
11.进入/hana/shared/HDB/hdblcm对HANA数据库进行重命名,输入密码时请使用密码:Lrp_2019
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
vhcalhdbdb:/hana/shared/HDB/hdblcm # ./hdblcm --action=register_rename_system SAP HANA Lifecycle Management - SAP HANA Database 2.00.036.00.1547699771 ************************************************************************ Local Host Name: vhcalhdbdb System Properties: HDB /hana/shared/HDB HDB_ALONE HDB02 version: 2.00.036.00.1547699771 host: vhcalhdbdb (Database Worker (worker)) edition: SAP HANA Database plugins: sap_afl_sdk_apl,afl,lcapps,vch1809 Enter Target Host Name for Source Host 'vhcalhdbdb' [vhcalhdbdb]: 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 development Select System Usage / Enter Index [1]: 3 Index | Listen Interface | Description ----------------------------------------------------------------------------------------------- 1 | global | The HANA services will listen on all network interfaces 2 | internal | The HANA services will only listen on a specific network interface 3 | local | The HANA services will only listen on loopback interface (127.0.0.1) The recommended value for single-host system is 'local' Select Listen Interface / Enter Index [3]: Enter Certificate Host Name For Host 'vhcalhdbdb' [vhcalhdbdb]: Enter Target System ID [HDB]: Enter Target Instance Number [02]: Enter Location of Data Volumes [/hana/data/HDB]: Enter Location of Log Volumes [/hana/log/HDB]: Enter Location of Data Backups [/hana/shared/HDB/HDB02/backup/data]: Enter Location of Log Backups [/hana/shared/HDB/HDB02/backup/log]: Enter Location of Catalog Backups [/hana/shared/HDB/HDB02/backup/log]: Enter Target System Administrator (hdbadm) Password: ### 请使用密码Lrp_2019 Confirm Target System Administrator (hdbadm) Password: ### 请使用密码Lrp_2019 Enter System Administrator (hdbadm) Home Directory [/usr/sap/HDB/home]: Enter System Administrator (hdbadm) Login Shell [/bin/csh]: Enter System Administrator (hdbadm) User ID [1004]: Change the password of the System Database user [n]: Restart system after machine reboot? [n]: Summary before execution: ========================= SAP HANA Database Rename Parameters Installation Path: /hana/shared Source System ID: HDB Target System ID: HDB Target Instance Number: 02 Remote Execution: ssh Host Name: vhcalhdbdb System Usage: development Listen Interface: local Certificate Host Names: vhcalhdbdb -> vhcalhdbdb Location of Data Volumes: /hana/data/HDB Location of Log Volumes: /hana/log/HDB System Administrator (hdbadm) Home Directory: /usr/sap/HDB/home System Administrator (hdbadm) Login Shell: /bin/csh System Administrator (hdbadm) User ID: 1004 Note: SAP HANA Database System will be restarted Do you want to continue? (y/n): y Renaming System... SAP HANA Lifecycle Management - Database Rename 2.3.73 Renaming instance... Removing sapservices entry... Creating system administrator user 'hdbadm'... Updating system configuration files... Renaming instance... Configuring environment scripts... Creating sapservices entry... Starting service (sapstartsrv)... Starting instance HDB (HDB02) on host 'vhcalhdbdb'... Starting 11 processes on host 'vhcalhdbdb' (worker): Starting on 'vhcalhdbdb' (worker): hdbcompileserver, hdbdaemon, hdbdiserver, hdbdocstore, hdbdpserver, hdbindexserver, hdbnameserver, hdbpreprocessor, hdbscriptserver, hdbwebdispatcher, hdbxsengine Starting on 'vhcalhdbdb' (worker): hdbdaemon, hdbdiserver, hdbdocstore, hdbdpserver, hdbindexserver, hdbpreprocessor, hdbscriptserver, hdbwebdispatcher, hdbxsengine Starting on 'vhcalhdbdb' (worker): hdbdaemon, hdbdiserver, hdbdocstore, hdbdpserver, hdbindexserver, hdbscriptserver, hdbwebdispatcher, hdbxsengine Starting on 'vhcalhdbdb' (worker): hdbdaemon, hdbdiserver, hdbdocstore, hdbdpserver, hdbscriptserver, hdbwebdispatcher, hdbxsengine Starting on 'vhcalhdbdb' (worker): hdbdaemon, hdbdiserver, hdbdocstore, hdbdpserver, hdbwebdispatcher, hdbxsengine Starting on 'vhcalhdbdb' (worker): hdbdaemon, hdbdiserver, hdbwebdispatcher All server processes started on host 'vhcalhdbdb' (worker). Updating Component List... Updating SAP HANA Database Instance Integration on Local Host... Deploying SAP Host Agent configurations... SAP HANA Database System renamed You can send feedback to SAP with this form: https://vhcalhdbdb:1129/lmsl/HDBLCM/HDB/feedback/feedback.html Log file written to '/var/tmp/hdb_HDB_hdblcm_register_rename_system_2019-05-06_02.00.28/hdblcm.log' on host 'vhcalhdbdb'. |
- 启动数据库
vhcalhdbdb:/hana/shared/HDB/hdblcm # su – hdbadm
vhcalhdbdb:HDB:hdbadm /usr/sap/HDB/HDB02 2> HDB start - 对SWPM程序进行解压,新建一个目录,将SAPCAR程序和SWPM*.SAR文件拷贝到该目录,使用CMD命令进入该目录,执行解压指令sapcar -vxf *.*,将解压出的文件上传到linux 中,我这边上传的路径为/ home/swpm/中
14.启动SWPM程序
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
vhcalhdbdb:~ # cd /home/swpm/ ###需要自己下载swpm2.0解压到自定义目录中 vhcalhdbdb:/home/swpm # ./sapinst [==============================] | extracting... done! INFO 2019-05-06 01:55:22.878 (mainThread) [sixxcreate.cpp:347] ******************************************************************************** Initial log directory: /root/.sapinst/vhcalhdbdb/2778 ******************************************************************************** SAPinst build information: -------------------------- Version: 749.0.69 Build: 1906804 Compile time: Mar 04 2019 - 14:03:07 Make type: optU Codeline: 749_REL Platform: linuxx86_64 Kernel build: 749, patch 629, changelist 1907065 SAP JRE build: SAP Java Server VM (build 8.1.050 10.0.2+000, Jan 29 2019 13:45:44 - 81_REL - optU - linux amd64 - 6 - bas2:314226 (mixed mode)) SAP JCo build: 3.0.19 SL-UI version: 2.6.47 SAP UI5 version: 1.54.1 Exe directory: /tmp/sapinst_exe.2777.1557107721 SAPinst process information: ---------------------------- Pid: 2778 INFO 2019-05-06 01:55:23.228 (root/sapinst) (startInstallation) [CSiManagerInterfaces.cpp:2352] Problem with the DNS configuration: could not determine the DNS domain of host vhcalhdbdb INFO 2019-05-06 01:55:23.233 (root/sapinst) (guiWatchdog) [CSLPCommunicationServer.cpp:348] Problem with the DNS configuration: could not determine the DNS domain of host vhcalhdbdb =>sapparam(1c): No Profile used. =>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline INFO 2019-05-06 01:55:24.333 (root/sapinst) (SLPCommunicator) [SLPMonitoringStatemachine.cpp:1402] ******************************************************************************** Open your browser and paste the following URL address to access the GUI https://vhcalhdbdb:4237/sapinst/docs/index.html Logon users: [root] ******************************************************************************** load resource pool /home/swpm/resourcepool.xml INFO 2019-05-06 01:55:32.396 (root/sapinst) (eventLoop) [SLPMonitoringStatemachine.cpp:1402] ******************************************************************************** Open your browser and paste the following URL address to access the GUI https://vhcalhdbdb:4237/sapinst/docs/index.html Logon users: [root] ******************************************************************************** |
- 对实例进行重命名
通过IE进行访问https://vhcalhdbdb:4237/sapinst/docs/index.html 下文中遇到输入密码时建议使用:Lrp_2019
检查一定不要有语言错误否则后面安装会报错,如果是主机名hostname检查错误可以忽略
注意一定要选择Default Key~一定要选择Default Key~~一定要选择Default Key,否则会有Return Code is 249, output: SSFX-0362: Value file报错
- 常见问题及处理方法:
Return Code is 249, output: SSFX-0362: Value file报错:是因为在有个选项是individual key或default key,选择individual key就会遇到这个错误,选default key可以跳过去
- 安装后的HANA系统版本及组件详细信息
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
2.00.032.00.1533114046 (fa/hana2sp03) AFL,LCAPPS,SAP_AFL_SDK_APL,VCH1809 AFL;HANA auxversion;0000.00.0 AFL;HANA changeinfo;CONT eeaf4723ec52ed3935ae0dc9769c9411ed73fec5 (fa/hana2sp03) AFL;HANA cloud_edition;0000.00.00 AFL;HANA compilebranch;fa/hana2sp03 AFL;HANA compiler-version-full;gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] AFL;HANA compiletype;rel AFL;HANA date;2018-08-01 11:12:43 AFL;HANA fullversion;2.00.032.00 Build 1533114046-1530 AFL;HANA git-hash;eeaf4723ec52ed3935ae0dc9769c9411ed73fec5 AFL;HANA git-headcount;500018 AFL;HANA git-mergeepoch;1533114046 AFL;HANA git-mergetime;2018-08-01 11:00:46 AFL;HANA hdb-state;RAMP AFL;HANA makeid;4946094 AFL;HANA rev-changelist;1533114046 AFL;HANA rev-patchlevel;00 AFL;HANA sapexe-branch;749_REL AFL;HANA sapexe-changelist;1816226 AFL;HANA sapexe-version;749 AFL;HANA sp-patchlevel;00 AFL;afl-state;RAMP AFL;changeinfo;CONT 1600c4778ccec0dcdb72598122cbcd7a73beda1e (fa/afl2sp03patch_rel) AFL;compilebranch;fa/afl2sp03patch_rel AFL;compiler-version;GCC 6 AFL;compiler-version-full;gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] AFL;compiletype;rel AFL;component-key;afl AFL;compversion-id;73554900100200005078 AFL;date;2018-09-19 15:33:49 AFL;fullversion;2.00.032.0002 Build 1537363919-1530 AFL;git-hash;1600c4778ccec0dcdb72598122cbcd7a73beda1e AFL;git-headcount;60 AFL;git-mergeepoch;1537363919 AFL;git-mergetime;2018-09-19 15:31:59 AFL;keycaption;SAP HANA AFL (incl.PAL,BFL,OFL) AFL;keyname;HANA_AFL AFL;keyvendor;sap.com AFL;makeid;5072759 AFL;ofl-version;13.5 AFL;platform;linuxx86_64 AFL;release;2.00 AFL;required-components;name="HDB"; vendor="sap.com"; version="[2.00.032.00.1533114046,2.00.032.00.1533114046]" AFL;rev-changelist;1537363919 AFL;rev-number;032 AFL;rev-patchlevel;0002 AFL;server-plugin;1 AFL;sp-number;032 AFL;sp-patchlevel;0002 LCAPPS;HANA auxversion;0000.00.0 LCAPPS;HANA changeinfo;CONT eeaf4723ec52ed3935ae0dc9769c9411ed73fec5 (fa/hana2sp03) LCAPPS;HANA compilebranch;fa/hana2sp03 LCAPPS;HANA compiler-version-full;gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] LCAPPS;HANA compiletype;rel LCAPPS;HANA date;2018-08-01 11:12:43 LCAPPS;HANA fullversion;2.00.032.00 Build 1533114046-1530 LCAPPS;HANA git-hash;eeaf4723ec52ed3935ae0dc9769c9411ed73fec5 LCAPPS;HANA git-headcount;500018 LCAPPS;HANA git-mergeepoch;1533114046 LCAPPS;HANA git-mergetime;2018-08-01 11:00:46 LCAPPS;HANA makeid;4946094 LCAPPS;HANA rev-changelist;1533114046 LCAPPS;HANA rev-patchlevel;00 LCAPPS;HANA sapexe-branch;749_REL LCAPPS;HANA sapexe-changelist;1816226 LCAPPS;HANA sapexe-version;749 LCAPPS;HANA sp-patchlevel;00 LCAPPS;LCAPPS branch;10.0_REL LCAPPS;LCAPPS build;038 LCAPPS;LCAPPS compiler info;/LCAPPS/100_REL/20newdb/linuxx86_64/genopt/hm/c/dependencies/lcapps/gcc-6.2.1+r239768-2.4.sap20170307-linuxx86_64-linuxx86_64/bin/g++ LCAPPS;LCAPPS make date;Wed 01 Aug 2018 03:02:41 PM CEST LCAPPS;LCAPPS patch level;8 LCAPPS;LCAPPS release;10.00 LCAPPS;LCAPPS technical version;LC_200032_64_RAMP/003 sp-pl 0000 Build 482118-10.00COM038.8-10.0_REL-rel LCAPPS;compiletype;rel LCAPPS;component-key;lcapps LCAPPS;compversion-id;67837800100200022483 LCAPPS;fullversion;2.00.032.0000.482118 LCAPPS;keycaption;SAP HANA LCAPPS LCAPPS;keyname;LCAPPS_HDB LCAPPS;keyvendor;sap.com LCAPPS;makeid;4922755 LCAPPS;platform;linuxx86_64 LCAPPS;release;2.00 LCAPPS;required-components;name="HDB"; vendor="sap.com"; version="[2.00.032.00.1533114046,2.00.032.00.1533114046]" LCAPPS;rev-changelist;482118 LCAPPS;rev-number;032 LCAPPS;rev-patchlevel;0000 LCAPPS;server-plugin;1 LCAPPS;sp-number;2032 LCAPPS;sp-patchlevel;0000 SAP_AFL_SDK_APL;auxversion;0000.00.0 SAP_AFL_SDK_APL;changeinfo;CONT dd499ff01d3137f1a61ccb15ed34a9a7ea3b5dbf (fa/hana1sp12) SAP_AFL_SDK_APL;compilebranch;fa/hana1sp12 SAP_AFL_SDK_APL;compilebranch;undefined SAP_AFL_SDK_APL;compiler-version;GCC 4.8 SAP_AFL_SDK_APL;compiler-version-full;gcc (SAP release 20151217, based on SUSE gcc48-4.8.5-24.1) 4.8.5 SAP_AFL_SDK_APL;compiletype;rel SAP_AFL_SDK_APL;component-key;sap_afl_sdk_apl SAP_AFL_SDK_APL;compversion-id;73554900100200008562 SAP_AFL_SDK_APL;date;2018-09-24 22:26:14 SAP_AFL_SDK_APL;fullversion;1809.0.0.0 SAP_AFL_SDK_APL;git-hash;dd499ff01d3137f1a61ccb15ed34a9a7ea3b5dbf SAP_AFL_SDK_APL;git-headcount;500031 SAP_AFL_SDK_APL;git-mergeepoch;1478575636 SAP_AFL_SDK_APL;git-mergetime;2016-11-08 04:27:16 SAP_AFL_SDK_APL;hana_afl_sdk-major-version;2 SAP_AFL_SDK_APL;hana_afl_sdk-minor-version;13 SAP_AFL_SDK_APL;hdb-state;RAMP SAP_AFL_SDK_APL;keycaption;Automated Predictive Library SAP_AFL_SDK_APL;keyname;sap_afl_sdk_apl SAP_AFL_SDK_APL;keyvendor;sap.com SAP_AFL_SDK_APL;makeid;1 SAP_AFL_SDK_APL;platform;linuxx86_64 SAP_AFL_SDK_APL;release;1809.0 SAP_AFL_SDK_APL;required-components;name="HDB"; vendor="sap.com"; version="[2.00.030.0,9999.9999.9999.9999)" SAP_AFL_SDK_APL;rev-changelist;0 SAP_AFL_SDK_APL;rev-number;0 SAP_AFL_SDK_APL;rev-patchlevel;0 SAP_AFL_SDK_APL;sapexe-branch;745_REL SAP_AFL_SDK_APL;sapexe-changelist;1711525 SAP_AFL_SDK_APL;sapexe-version;745 SAP_AFL_SDK_APL;server-plugin;1 VCH1809;HANA auxversion;0000.00.0 VCH1809;HANA changeinfo;CONT eeaf4723ec52ed3935ae0dc9769c9411ed73fec5 (fa/hana2sp03) VCH1809;HANA cloud_edition;0000.00.00 VCH1809;HANA compilebranch;fa/hana2sp03 VCH1809;HANA compiler-version-full;gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] VCH1809;HANA compiletype;rel VCH1809;HANA date;2018-08-01 11:12:43 VCH1809;HANA fullversion;2.00.032.00 Build 1533114046-1530 VCH1809;HANA git-hash;eeaf4723ec52ed3935ae0dc9769c9411ed73fec5 VCH1809;HANA git-headcount;500018 VCH1809;HANA git-mergeepoch;1533114046 VCH1809;HANA git-mergetime;2018-08-01 11:00:46 VCH1809;HANA hdb-state;RAMP VCH1809;HANA makeid;4946094 VCH1809;HANA rev-changelist;1533114046 VCH1809;HANA rev-patchlevel;00 VCH1809;HANA sapexe-branch;749_REL VCH1809;HANA sapexe-changelist;1816226 VCH1809;HANA sapexe-version;749 VCH1809;HANA sp-patchlevel;00 VCH1809;afl-state;RAMP VCH1809;changeinfo;CONT 77f20b83d4d8dc645f86263aa99669e8e63e0660 (fa/afl2sp03patch_rel) VCH1809;compilebranch;fa/afl2sp03patch_rel VCH1809;compiler-version;GCC 6 VCH1809;compiler-version-full;gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] VCH1809;compiletype;rel VCH1809;component-key;vch1809 VCH1809;compversion-id;73554900100200008112 VCH1809;date;2018-08-02 12:03:42 VCH1809;fullversion;2018.24.1533203614 VCH1809;git-hash;77f20b83d4d8dc645f86263aa99669e8e63e0660 VCH1809;git-headcount;34 VCH1809;git-mergeepoch;1533203614 VCH1809;git-mergetime;2018-08-02 11:53:34 VCH1809;keycaption;SAP VCH AFL 1809 VCH1809;keyname;SAPVCHAFL1809 VCH1809;keyvendor;sap.com VCH1809;makeid;4949889 VCH1809;online-upgrade-plugin;1 VCH1809;platform;linuxx86_64 VCH1809;release;1809 VCH1809;required-components;name="HDB"; vendor="sap.com"; version="[2.00.032.00.1533114046,2.00.032.00.1533114046]" VCH1809;rev-changelist;1533203614 VCH1809;rev-number;032 VCH1809;rev-patchlevel;0003 VCH1809;server-plugin;1 VCH1809;sp-number;2032 VCH1809;sp-patchlevel;0003 |
- 其他参考资料:
终于装上了。跟以前ECC/EHP安装方式不同,使用的是rename模式。写了以下的notes,但愿有帮助:
1, Install SUSELINUX 12 with volumn / >200GB, /hana >300GB and /swap >2GB.
/=116GB
/hana=273GB
/swap=0GB
2, Run sapinst with prepare rename mode to create sapadm:
新建用户sapadm
(saphostagent user sapadm which HDB need for rename)
(don’t use remote mode to logon root to avoid root to be locked.)
3, Extract HDB into /hana/log, /hana/data, and hana/shared/HDB
cat dblog.tgz-* | tar -zpxvf – -C /
cat dbdata.tgz-* | tar -zpxvf – -C /
cat dbexe.tgz-* | tar -zpxvf – -C /
4, Extract SAP into /usr/sap/S4H, and /sapmnt
cat usrsap.tgz-* | tar -zpxvf – -C /
cat sapmnt.tgz-* | tar -zpxvf – -C /
5, Rename HDB to h42:
/hana/shared/HDB/hdblcm/hdblcm –action=register_rename_system
(Don’t change password of HDB User SYSTEM which default is VA1MPwd_)
6, Check HANA database via user h42adm:
HDBAdmin.sh
7, Stop HANA database and restart SUSELINUX:
./HDB stop
restart——or power off and power on———
8, Rename S4H to S42: S42 can not be started because full name wrong.
./sapinst
(change password of HANA database User SYSTEM to P@ssW0rd)
9, Logon in s42adm and stop S42 and change profile /sapmnt/S42/profile/DEFAULT.PFL
stopsap
10, Change full name in profile /sapmnt/S42/profile/DEFAULT.PFL
1 2 3 4 5 |
#login/no_automatic_user_sapstar = 0 not useful #SAPFQDN = summy.nodomain #SAPLOCALHOSTFULL = $(SAPLOCALHOST).$(SAPFQDN) #icm/host_name_full = $(SAPLOCALHOST).$(SAPFQDN) icm/host_name_full = marxh42.s4hana.imwork.net |
11,Restart S42:
startsap
12,Download java RPM from oracle:
https://www.java.com/en/download/manual.jsp
13,Log on root and install java RPM:
jre-8u171-linux-x64.rpm
14,Install SAP GUI:
java -jar PlatinGUI750_2-80002496.JAR
15,Run SAPGUI
/opt/SAPClients/SAPGUI/bin/guilogon
16,Create connection for S42 via advance mode:
00-S4HANA1709 S4CORE on marxh42
conn=/H/marxh42/S/3200
17, Check conn in client 000/100/200/300/400:
DDIC/SAP* Welcome1
18, Directory authorization:
chown sapadm /usr/sap/trans
chmod 777 /usr/sap/trans
chown sapadm /usr/sap/trans/log
chmod 777 /usr/sap/trans/log
chown S42adm /usr/sap/trans
chmod 777 /usr/sap/trans
chown S42adm /usr/sap/trans/log
chmod 777 /usr/sap/trans/log
19, SAP STMS and SICF:
T-Code: STMS and SICF