Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

SAP S4HANA Silent Installation PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

SAP S/4HANA silent

installation
GET YOUR INSTALLATION DONE QUICKLY

Sachin Ghorpade
SACHIN.GHORPADE@MICROSOFT.COM
S/4HANA Silent Installation

S/4HANA silent installation in one hour

You as an SAP basis admin often spend more time to install the SAP systems. Be it a NetWeaver, or an
S/4HANA, it takes several days for you to install the system. And moreover, it is not a fun job to watch
screen and wait when your turn comes to enter the input. Install process takes long. Imagine, the popup
screen for your installer just appeared when you left home, and installation is at halt all night, until you
come tomorrow morning and just press “next”.

You may also want a quick/silent install method to achieve the following use case scenarios:

• Disaster recovery: Where you build your application layer quickly


• On demand scale out: Month-End/Year-End close scenario where you need additional application
servers
• Training/Demo system: Quickly build the system

Here, I am going to share a time saving technique which you can use to perform the “silent” install of the
SAP Application layer. You don’t need to input any parameters or stares at screen when the installation
progresses. You can do both ASCS/PAS and AAS installation using the “silent” mode.

In this blog, I am demonstrating the following:

• S4HANA1809 installation in the standard mode for ASCS and PAS


• Additional Application Server (AAS) instance installation

NOTE HANA database server was installed separately before the silent installation on ASCS/PAS
could begin.

If you want to learn manual install process, please read: S/4H Installation in Azure - SETUP AND CONFIG
IN ONE DAY.

In this example setup, the following infrastructure was used.

• HANA Database server


o VM: Standard GS5 (32 vcpus, 448 GB memory)
o Operating System: SLES for SAP 12 SP3
o HANA Version: HANA 2 SP3 Rev 33
• Application server (ASCS/PAS and AAS)
o VM: Standard DS3 v2 (4 vcpus, 14 GB memory)
o Operating System: Windows Server 2016 Datacenter
o S/4H version: 1809

For detail infra setup, please read: S/4H Installation in Azure - SETUP AND CONFIG IN ONE DAY.

Page 1|5
S/4HANA Silent Installation

S4HANA1809 installation in silent mode


You use the following command on ASCS/PAS server to begin the installation. In this example setup,
installation was complete in about 55 minutes.
SWPNDrive:>sapinst SAPINST_STACK_XML=<Stack_File_Path>
SAPINST_INPUT_PARAMETERS_URL=<Input_Parameter_File>
SAPINST_EXECUTE_PRODUCT_ID=<Product_Id> SAPINST_SKIP_DIALOGS=true

# Example command
F:\SWPM2SP2>sapinst
SAPINST_STACK_XML=F:\SWPM2SP2\MP_Stack_S4HwithFiori.xml
SAPINST_INPUT_PARAMETERS_URL=F:\SWPM2SP2\myinifile.params
SAPINST_EXECUTE_PRODUCT_ID=NW_ABAP_OneHost:S4HANA1809.CORE.HDB.ABAP
SAPINST_SKIP_DIALOGS=true

Application Instance installation in silent mode


You use the following command on application server to begin the installation of additional application
instance. In this example setup, installation was complete in about 08 minutes.
SWPNDrive:> sapinst
SAPINST_INPUT_PARAMETERS_URL=<Input_Parameter_File>
SAPINST_EXECUTE_PRODUCT_ID==<Product_Id> SAPINST_SKIP_DIALOGS=true

# Example command
F:\SWPM2SP2> sapinst
SAPINST_INPUT_PARAMETERS_URL=F:\SWPM2SP2\APPinifile.params
SAPINST_EXECUTE_PRODUCT_ID=NW_DI:S4HANA1809.CORE.HDB.PD
SAPINST_SKIP_DIALOGS=true

Now, let’s explore the following questions:

• How can I get stack file (.xml) and input parameter file (.param) used in the above commands?
• How do I use it for the different system, SID, and instances installation?
• What bits I download from SAP marketplace?
• How I begin the very first installation?
• Where to get product ID?

Page 2|5
S/4HANA Silent Installation

To begin your first ever silent install experience, use the following steps:

1. Generate the stack file


2. Download the bits
3. Extract the SWPM file
4. Generate the parameter file
5. Monitor the installation (optional)

1. Generate the stack file


The step for generating the stack xml file is documented in the blog S/4H Installation in Azure -
SETUP AND CONFIG IN ONE DAY. Please refer section “3.Generate the stack configuration file”.
For the new system installation, please update the xml file with the new “SID”.

2. Download the bits


The step for generating the stack xml file is documented in the blog S/4H Installation in Azure -
SETUP AND CONFIG IN ONE DAY. Please refer section “4.Download the SAP Installation bits”.

3. Extract the SWPM file


Once the bits are downloaded, you need to extract the SWPM*.SAR file to get
SWPMinstaller. I extracted the SWPM file at F:\SWPM2SP2. DO NOT extract any other file,
installer will automatically extract them.

4. Generate the parameter file


For the first time, to generate the parameter file (.param), you start the SWPM in GUI mode by
invoking the sapinst. Refer section “6. Install the S/4H with Fiori” of the article S/4H Installation in
Azure - SETUP AND CONFIG IN ONE DAY to learn how to invoke sapinst. Once you start the sapinst,
provide all the required inputs, until you reach the phase “Review parameters”. At this stage,
capture a file “inifile.params” from the installation directory. Now, this “.param” file becomes
your master parameter file for future installations. You get SAPINST_EXECUTE_PRODUCT_ID
value here as

You update the following parameters for new installation in the param file and use the command
line mentioned above in this article to start the silent installation.
archives.downloadBasket
NW_CI_Instance.ascsVirtualHostname
NW_CI_Instance.ciInstanceNumber
NW_CI_Instance.ciVirtualHostname
NW_CI_Instance.scsVirtualHostname
NW_GetSidNoProfiles.sid
NW_GetSidNoProfiles.sapdrive
NW_HDB_getDBInfo.dbhost
NW_HDB_getDBInfo.dbsid
NW_HDB_getDBInfo.instanceNumber
NW_HDB_getDBInfo.systemid

Page 3|5
S/4HANA Silent Installation

NW_Recovery_Install_HDB.sidAdmName
NW_SAPCrypto.SAPCryptoFile
NW_Unpack.igsExeSar
NW_Unpack.igsHelperSar
NW_Unpack.sapExeDbSar
NW_Unpack.sapExeSar

You follow the same process to generate the param file for Additional application server installation.

5. Monitor the installation (optional)


Once the silent installation begins, it will not prompt you after the installation is complete. However,
if any error occurs, it will display the SWPM GUI screen with the error. You can monitor the installation
from the task manager. If

SAPINST.exe is running, your installation is progressing. You can also check the log files in the
installation directory to ensure the process is not hung.

On the ASCS/PAS server, peak CPU utilization reached about 38% during the import process.

Page 4|5
S/4HANA Silent Installation

Database server reported approximately 40% peak CPU utilization during the overall process.

This example scenario provides you a starting point for the silent installation. You can leverage it to
install the workload of your need.

Good luck and have fun!

Page 5|5

You might also like