New Installation of S/4HANA 1709FPS1 – Part 2 – Installation
This blog includes installation of S/4HANA 1709 FPS1 and will focus on creating Sandbox type instance with co-deployed (embedded) gateway.
Please find other blogs as follows:
Here is the video for installation of previous version S4HANA 1610 FPS0 for reference:
STEP 1: OPERATING SYSTEM
It is recommended to install SuSE Linux version 12 ,
TIP: Please refer SAP Note 2380257 – SAP HANA Platform 2.0 SPS 00 Release Note. You can check your operating system version as below:
TIP: Please refer SAP Note 2380257 – SAP HANA Platform 2.0 SPS 00 Release Note. You can check your operating system version as below:
sid-hdb-s4h:~ # cat /etc/SuSE-release SuSE-release SUSE Linux Enterprise Server 12 (x86_64) VERSION = 12 PATCHLEVEL = 1
STEP 2: USE EXISTING HANA DATABASE (OPTION1)
If you already have a database, please patch the database to HANA 2 and you can create container using command:
CREATE DATABASE HDB SYSTEM USER PASSWORD Xxxxxxxn
It takes about 2 minutes to create database with this command.
STEP 2: NEW HANA DATABASE (OPTION 2)
To install database you can use hdblcmgui. I used hdblcm as below.
First unpack the archive to folder 51052325_HANA2_20
====================================================LINUX SCREEN START
sid-hdb:/sapmedia/ #unrar x 51052325_part1.exe
sid-hdb:/sapmedia/ #mv 51052325 51052325_HANA2_20
sid-hdb:/sapmedia/51052325_HANA2_20/DATA_UNITS/HDB_SERVER_LINUX_X86_64 # ./hdblcm
...............
...............
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://vhcalhdbdb:1129/lmsl/HDBLCM/HDB/feedback/feedback.html
Log file written to '/var/tmp/hdb_HDB_hdblcm_install_2017-09-10_15.15.44/hdblcm.log' on host 'sid-hdb'.
Install HANA Database patch 23, create directory HANA2_23 and extract SAR file:
vhcals4hci:/sapmedia/HANA2_23 # SAPCAR -xvf IMDB_SERVER20_023_0-80002031.SAR
vhcals4hci:/sapmedia/HANA2_23/SAP_HANA_DATABASE # ./hdblcm SAP HANA Lifecycle Management - SAP HANA Database 2.00.023.00.1513691289 ....... Index | Action | Description ------------------------------------------------------------------ 1 | HDB (update) | 2.00.020.00.1500920972 vhcalhdbdb (Database Worker (worker)) 2 | install | Install new system 3 | extract_components | Extract components 4 | Exit (do nothing) | Enter selected action index [4]: 1 Choose components to be installed or updated: Index | Components | Description ------------------------------------------------------------------------------------------------------------------- 1 | all | All components 2 | server | Update SAP HANA Database from version 2.00.020.00.1500920972 to version 2.00.023.00.1513691289 Enter comma-separated list of the selected indices [1]: 1 Enter System Administrator (hdbadm) Password: Enter System Database User Name [SYSTEM]: Enter System Database User (SYSTEM) Password: Summary before execution:
Do you want to continue? (y/n): y
Updating Component List...
SAP HANA Database components updated
After installation of HANA database in case you would like to install integrated livecache, please add the plugin as below,unpack HANA DATABASE LCAPPS archive:
sid-hdb:/sapmedia/HANA2_23_LCAPPS # SAPCAR –xvf IMDB_LCAPPS_2023_0-20010426.SAR
sid-hdb:/sapmedia/HANA2_23_LCAPPS/SAP_HANA_LCAPPS # ./hdbinst
Installation done
Log file written to '/var/tmp/hdb_lcapps_2018-02-01_17.58.56_9370/hdbinst_lcapps.log' on host 'vhcals4hci'.
We will require HANA Client to match the database patch level, so please extract HANA Client as below in folder HANA2_CLIENT20_002_36
sid-hdb:/sapmedia/HANA2_CLIENT20_002_36 # SAPCAR –xvf IMDB_CLIENT20_002_36-80002082.SAR
======================================================LINUX SCREEN ENDS
After installation, logon to HANA Database using HANA Studio and add system
Host Name :
Instance Number: 02Click Next and in the following screen enter User Name SYSTEM and Password
Click on Finish to exit.
Host Name :
Click on Finish to exit.
TIP: Please change the log mode if you don’t want to be spend time on log maintenance:
In HANA studio –> Configuration –> global.ini –> persistence and set the parameter log_mode to overwrite. When you change the log mode, you must restart the database system to activate the changes. It is also recommended that you perform a full data backup. You can also set the log_mode to ‘overwrite’ using the following SQL-Statement:
In HANA studio –> Configuration –> global.ini –> persistence and set the parameter log_mode to overwrite. When you change the log mode, you must restart the database system to activate the changes. It is also recommended that you perform a full data backup. You can also set the log_mode to ‘overwrite’ using the following SQL-Statement:
ALTER SYSTEM ALTER CONFIGURATION (‘global.ini’, ‘SYSTEM’) SET (‘persistence’, ‘log_mode’) = ‘overwrite’ WITH RECONFIGURE;
STEP 3: S/4HANA BASE INSTALLATION USING SWPM
Please extract media files in folders as mentioned in previous blog New Installation of S/4HANA 1709 – Part 1 – media download using Maintenance Planner in folders:
51052190_EXP
51052189_LANG (Optional)
51052271_SCM (Optional)
51052325_HANA2_20
IMDB_SERVER20_023_0-80002031.SAR
IMDB_CLIENT20_002_36-80002082.SAR
IMDB_LCAPPS_2023_0-20010426.SAR
downloadI have extracted all above under folder /sapmedia.
51052190_EXP
51052189_LANG (Optional)
51052271_SCM (Optional)
51052325_HANA2_20
IMDB_SERVER20_023_0-80002031.SAR
IMDB_CLIENT20_002_36-80002082.SAR
IMDB_LCAPPS_2023_0-20010426.SAR
downloadI have extracted all above under folder /sapmedia.
Extract the SWPM SAR file as below sid-hdb:/ # cd /install sid-hdb:/install # /sapmedia/SAPCAR -xvf /sapmedia/download/SWPM10SP22_0-20009701.SAR You should get message at the end of this that SAPCAR: 1660 files(s) extracted
Start x-Windows software such as Exceed or X-ming and set the DISPLAY variable needed to confirm x-Windows is working.
Execute combined installation of SWPM + SUM in single command line as below:
sid-hdb:/install#./sapinst SAPINST_USE_HOSTNAME=vhcals4hci SAPINST_STACK_XML=/sapmedia/download/MP_Stack_1000297371_20170915_.xml
I am showing only the important screens as most screens are self explanatory. Select Standard System from path below (same screen for SP22 as SP21):
TIP: In the above screen if you see all choices to install other software then there is some issue with your stack.xml file and you should investigate.
Click on Next
TIP: In the above screen if you see all choices to install other software then there is some issue with your stack.xml file and you should investigate.
Click on Next
At the screen Parameter Settings select Custom and click on Next
At the screen General SAP System Parameters enter
SAP System ID (SAPSID) S4HSAP Mount Directory /sapmnt
SAP System ID (SAPSID) S4HSAP Mount Directory /sapmnt
At the screen DNS Domain Name set FQDN for SAP system checkedDNS Domain Name for SAP System dummy.nodomain click on Next
At the screen Master Password specify Master password and confirm password Xxxxxxxn click on Next
At the screen Operating System Users enter details for user s4hadm Xxxxxxxn
At the screen Information regarding enabling R3load massloader, Click on OK
TIP: at this point you must ensure database is up and running.
At the screen Database for SAP System enter details
Database ID (DBSID) HDB
Database Host vhcalhdbdb
Instance Number 02
Password of DBA Xxxxxxxn click on Next
Database ID (DBSID) HDB
Database Host vhcalhdbdb
Instance Number 02
Password of DBA Xxxxxxxn click on Next
At the screen SAP HANA Multitenant Database Containers enter password for HANA Database superuser Xxxxxxxn click on Next
At the screen Software Package Browser enter path for the downloaded media from Maintenance Planner. Package Path: /sapmedia/download click NextThe status will change from “still missing” to “Available”. Click on Next
At the screen Upgrade SAP Host Agent checkmark Upgrade SAP Host Agent with provided version and click on Next , after it is shown as “Available”. Click on Next
At the screen Configuration of SAP liveCache with SAP HANA select checkmark for Install liveCache for SAP System. Select destination as Use SAP livecache integrated in SAP HANA click on Next
TIP: If you want the livecache to be installed please make sure that HANA database LCAPPS plugin is installed before starting sapinst, otherwise you will get error below:
At the screen SAP HANA Client Software Installation Path choose radio button Local Client Directory click on Next
At the screen Media Browser enter path for RDBMS HANA Client. /sapmedia/HANA2_CLIENT20_002_36/SAP_HANA_CLIENT click on Next
At the screen Media Browser enter path for Installation Export 1 S/4HANA 1709 as /sapmedia/51052190_EXP click on Next
At the screen SAP HANA Multitenant Database Containers accept HANA DB Instance Number 02 and Password Xxxxxxxn click on Next
At the screen Database Schema accept DBACOCKPIT password and confirm Schema password Xxxxxxxn click on Next
At the screen SAP HANA Import Parameters accept values and click on Next
At the screen Declustering/Depooling Option select radio button Enable declustering / depooling of all ABAP tables click on Next
At the screen SAP HANA Table Placement Parameters select Do not use a parameter file and click on Next
At the screen SAP System Database Import accept SAP Code Page and Number of parallel jobs at default to 48 click on Next
At the screen Primary Application Server Instance and ABAP Central Services Instance accept values PAS Instance Number 00, PAS Instance Host vhcals4hciASCS Instance Number 01, ASCS Instance Host Name vhcals4hci click on Next
At the screen ABAP Message Server Ports accept values for Ports click on Next
At the screen ICM User Management for the SAP Web Dispatcher accept password for webadm and click on Next
At the screen SLD Destination for the SAP System OS Level leave default radio button at No SLD destination click on Next
At the screen Message Server Access Control List leave default radio button at Do not create Message Server Access Control List click on Next
At the screen Additional Components to be Included in the ASCS Instance enable checkmarks at Install integrated web dispatcher and Install Gateway integrated in ASCS instance and click on Next
At the screen SAP Web Dispatcher Parameters leave default dispatcher parameters HTTPS Port 44300, Encryption Always. click on Next
At the screen Configuring Transport Management for Single System select Run TMS config and enter password for TMSADM in Client 000 click on Next
At the screen Import SPAM/SAINT Update for Import SPAM/SAINT Update select radio button Yes
Specify the location of SPAM/SAINT Update Archive as /sapmedia/download/KD75268.SAR click on Next
TIP: This will save time later having to do it at the time of SUM installation. Click on Next
Specify the location of SPAM/SAINT Update Archive as /sapmedia/download/KD75268.SAR click on Next
TIP: This will save time later having to do it at the time of SUM installation. Click on Next
At the screen Additional ABAP Transports leave radio button at default No for Import ABAP Transports click on Next
At the screen Preparing for the Software Update Manager checkmark Extract SUM, Start Sum Automatically, enter values of SUM as /sapmedia/download/SUM20SP01_1-80002456.SAR Click on Next
At the screen Additional SAP System Languages click on Next
At the screen Secure Storage Key Generation accept radio button – Individual Key (Recommended for Productive Systems) On the Next
At next screen Warning click OK
At next screen Cleanup of Operating System Users checkmark on Yes cleanup os users and
click on Next
click on Next
Here is the summary of all options
Click on Next to confirm and begin the installation.
IF THERE IS NO ERROR YOU CAN TAKE A BREAK FOR 10 HOURSThe ABAP Import takes around 3hrs and job RUTDDLCREATE takes around 4 Hrs
TIP: The high hitter phases for time duration were Import ABAP (3hrs) and Create DDL Views (RUTDDLSCREATE) (4hrs) . The system and used memory for database was high. So for MDC and MCOD scenario, free up memory by unloading tables in other tenants/databases. In MCOS scenario please shutdown other databases. The video shown at the beginning has clock showing the time in fast forward as the installation progresses.
STEP 4: ADDON INSTALLATION USING SUM
As we executed combined SWPM+SUM you should have filesystem /usr/sap/S4H/SUM. If not, don’t worry, please extract it as below 2 commands:
as s4hadm cd /usr/sap/S4H SAPCAR -xvf /sapmedia/download/SUM20SP01_1-80002456.SAR as root ps –ef | grep –i sapup /usr/sap/S4H/SUM/abap/SUMSTART confighostagent
TIP: Please check that your /windows/drivers/etc/host file contains entry with IP address mapped to hostname vhcals4hci. c:\users\mahesh>type c:\windows\system32\drivers\etc\hosts 10.20.130.140 vhcals4hci vhcals4hci.dummy.nodomain vhcals4hcs vhcals4hcs.dummy.nodomain vhcalhdbdb vhcalhdbdb.dummy.nodomain
Open Google Chrome browser (latest version recommended) Enter URL:
https://vhcals4hci:1129/lmsl/sumabap/S4H/doc/sluigui
https://vhcals4hci:1129/lmsl/sumabap/S4H/doc/sluigui
In case you get screen below please click on Advanced and then “Proceed to vhcals4hci(unsafe)”
Enter s4hadm/(password you used before) in the screen below
TIP: If you get message that Page is Unresponsive just click on Wait.
Provide details of the stack.xml and it is good to download the file crlbag.p7s for archive verification so you know in advance if any file is corrupted.
Click on Next to start the SUM tool if it is down.
Click on Next to advance to next phase
EXTRACTION PHASE
Click on Next and enter the Instance Number 00
Click on Next and you may be prompted for SPAM update if this was not included in SWPM in previous step. Please download if mentioned in New Installation of S/4HANA 1710FPS1 – Part 1 – media download using Maintenance Planner and extract SPAM as shown below
sid-hdb-s4h:s4hadm> SAPCAR -xvf /sapmedia/download/KD75268.SAR
Click on Next and select radio button Import SPAM version 68
Click on Next and enter DDIC password, SAPABAP1 schema password and SYSTEM password Xxxxxxxn
Click on Next
Click on X to close window
Click on Next to advance to next phase
CONFIGURATION PHASE
Select Next at (6%) Current Phase PREP_CONFIGURATIN/INITSUBST
Click on Next and enter details
Click on Next and you will get this error message for missing SAP Note
Logon to the S4H instance and Apply SAP Notes using SNOTE and release transport
Logon to the S4H instance and Apply SAP Notes using SNOTE and release transport
Accept values for release level and Click on Next
At (10%) Current Phase PREP_EXTENSION/BIND_PATCH Click on Next
At (11%) Current Phase PREP_INTEGRATION/ADJUSTPRP Click on Next
Click on Next to advance to next phase
CHECKS PHASE
Click on Next to advance to next phase
PREPROCESSING PHASE
At (18%) Current Phase MAIN_INIT/REPACHK_EHPI select Lock Now and click on Next
At (24%) Phase MAIN_DTTRANSSHD/DOWNCONF_DTTRANS accept selection as Actions Completed and click on Next
At (24%) Current Phase MAIN_DTTRANSSHD/DOWNCONF_DTTRANS_BCK accept selected radio button Backup completed click on Next
Click on Next to advance to next phase
EXECUTION PHASE
At (85%) Current Phase: MAIN_TRANSEXEC/ACT_TRANS click on Next
Execution process takes about 4 hours.
At (89%) Current Phase: MAIN_UPTRANS/STARTSAP_PUPG click Next
At (89%) Current Phase: MAIN_UPTRANS/UPCONF click Next
At (89%) Current Phase: MAIN_POSTPROC/SETUPGPAR_UPG_POST click Next
At (91%) Current Phase: MAIN_POSTPROC/SUBMOD_SPAU_INFO/SPAUINFO click Next
At (91%) Current Phase: MAIN_POSTPROC/REQUPFINAL click Next
SUM is completed. Please login to the system and check the Installed product version as:Please find Installed Software Component version:
TIP: Schedule complete SGEN if it is not completed so far. This will help reduce time needed for one activation stop for Best Practices Content Activation and the activation process will be speeded up a little bit.
STEP 5: S/4HANA RELEASE INFORMATION NOTE
Please apply the 2 notes below to the installed instance as per SAP Note 2591578 – SAP S/4HANA 1709 Feature Package Stack 01: Additional Release Information these notes are only for 1709 FPS1
There are only 2 notes to be applied:
Your system installation is complete. Congratulations !!!
No comments:
Post a Comment