Installing an AAS

Objective

After completing this lesson, you will be able to install an AAS

Installing an AAS for an SAP S/4HANA Server System

After installing the SAP S/4HANA Server system with a Primary Application Server and an ABAP Central Services instance you might want to install an Additional Application Server (AAS) for your SAP system.

An AAS for AS ABAP can be installed in a few minutes.

Installing an Additional Application Server

In addition to the Primary Application Server and the ABAP Central Server Instance (ASCS) you can install additional application server instances (AAS instances) for providing scalability for your SAP S/4HANA Server system.

SAPinst offers some command line options for being started. We will use the option allowing to use a virtual host name and a stack xml file, for this installation procedure.

Prepare File System and Start SAPinst

Within Software Provisioning Manager drill down to the installation that you would like to conduct. The figure above highlights the selection (Additional Application Server Instance) that we will use.

Provide Profile Directory and the Master Password

AAS instances are usually installed on a different host from the PAS. So, how does SAPinst know which SAP system the AAS should belong to?

SAPinst asks for the location of the system-wide used profile directory of the SAP system, the AAS should belong to. By evaluating the location and content of the files therein, SAPinst acquires the essential information on the SAP system, the AAS should belong to.

SAPinst will create users (on operating system level, if required) for use by the AAS instance. Therefore, SAPinst asks for a Master Password. We recommend that you set the Master Password identical to the one used during the installation of PAS and ASCS.

Upgrade Information for SAP Host Agent and Selection of Instance Number

The figure above also shows the selection screen for setting the instance numbers for the Additional Application Server (AAS) instance of your SAP system. The two-digit instance number needs to be chosen from the numbers between 00 and 97 and it must be unique on an individual host.

As you can see on the screen above, certain number are already in use: 10 and 11. The instance number defines several port numbers used for communication by your SAP system. For example, an ABAP dispatcher process communicates via port 32## where ## signifies the instance number. Therefore, in case any software on your SAP host uses ports in the range of 3200 to 3299 (for example), this need to be taken into consideration. SAPinst can only list ports used by SAP instances — so further restrictions need to be consider by you.

Number of Work Processes, Message Server ACL, and Cleanup of OS Users

To increase the security of your SAP system, you can create a Message Server Access Control List (ACL) that can be used to limit access to the Message Server. For more information, please read the SAP Notes mentioned on the screen shot above.

Also, you can choose to remove access rights to the installation directory from user <sid>adm. This will improve security.

Parameter Summary and Start of Installation
Installation Finished, Check of Result

The installation of the AAS finished successfully!

You can check the result via transaction SM51.

You can review the installation procedure by checking the logs.

Installing an AAS for an SAP S/4HANA Server System

For the demonstration steps and data, see the exercise Installing an Additional Application Server for an SAP S/4HANA Server system.

Install an AAS for an SAP S/4HANA Server System

You will install an Additional Application Server (AAS) for the SAP S/4HANA Server system S4X as described in the training material, using the input values, selections, given below.

Note

Ensure that you are using the user install to execute this installation.

Steps

  1. There are different methods available for logging on to the training host. The following description assumes that you are using MobaXterm, to open a connection of type SSH to the host.

  2. Log on to the server s4xhost using the user install and the password provided by your instructor.

  3. If not already done for the Prerequisites Checks: Create a new directory named /usr/sap/SWPM:

    cd /usr/sap

    mkdir SWPM

  4. If not already done for the Prerequisites Checks: Extract the SWPM archive, provided in the folder /usr/sap/Media/Installation_S4X/02_MP_Download to the newly created directory /usr/sap/SWPM.

    cd /usr/sap/SWPM/

    /usr/sap/Media/Installation_S4X/01_SAPCAR/SAPCAR_1324-80000935.EXE -xf /usr/sap/Media/Installation_S4X/02_MP_Download/SWPM20SP18_1-80003424.SAR

  5. If not already done for the Prerequisites Checks: Create a new directory named /usr/sap/Install_Log_and_Work and set this directory as the log directory for the SWPM.

    mkdir /usr/sap/Install_Log_and_Work

    export TMP=/usr/sap/Install_Log_and_Work

  6. Start SAPinst.

    Make sure that you are still located in directory /usr/sap/SWPM/.

    .

    Call ./sapinst SAPINST_USE_HOSTNAME=s4xhost SAPINST_STACK_XML=/usr/sap/Media/Installation_S4X/03_MP_Stack_XML/MP_Stack_1002030160_20240627_.xml

  7. Use a browser on the WTS to open the URL that SAPinst displays, e.g. https://wdflbmt0902.wdf.sap.corp:4237/sapinst/docs/index.html

  8. Ignore/confirm warnings about https, as no SSL communication is configured.

  9. Authenticate in the logon window with the user install and the corresponding password.

  10. In the Software Provisioning Manager, expand Software Provisioning Manager 2.0 SP 18System S4X (SAP S/4HANA 2023)SAP S/4HANA Server 2023SAP HANA DatabaseInstallationApplication Server ABAPHigh-Availability SystemAdditional Application Server Instance, and choose Next.

  11. Continue the installation process screen-by-screen, entering the data as shown in the table.

    Parameters and Data for Installing an Additional Application Server (AAS) Instance

    Screen NameField NameValue
    General SAP System ParametersProfile Directory/usr/sap/S4X/SYS/profile
    Master PasswordPassword for All UsersMasterS4X10!
    Upgrade SAP Host AgentDetected SAP Host Agentdo not select, deselect
    Additional Application Server InstanceAAS Instance Number12
    Additional Application Server InstanceAAS Instance Host Names4xhost
    Configuration of Work ProcessesNumber of Dialog Work Processes10
    Configuration of Work ProcessesNumber of Batch Work Processes (Background Processing)6
    Message Server Access Control ListMessage Server Access Control Listselect Do not create Message Server Access Control List
    Cleanup of Operating System UsersYes, clean up operating system usersdo not select
    Parameter Summary select parameters/settings that you would like to change – choose Revise if required
    Information select Ok
    Feedback to SAP select Close
    Execution of Service has been completed successfully select Exit
  12. You have already done the post installation activities for the PAS. Remember to reduce the parameter PHYS_MEMSIZE for this newly installed AAS! This is described in the corresponding exercise in the unit describing the post installation activities.

Result

You have successfully installed an Additional Application Server Instance for your SAP S/4HANA Server system.

Install an AAS for an SAP Solution Manager ABAP System

You will install an Additional Application Server (AAS) for the SAP Solution Manager ABAP system SMA, using the input values, selections, given below.

Note

Ensure that you are using the user install to execute this installation.

Please note: for the installation activities on Windows, use the classical CMD-Shell, NOT the Windows PowerShell. To start the CMD shell: Open the directory you would like to work in using the Windows File Explorer. Then type cmd into the address bar of the Windows File Explorer. This will open the CMD shell for the selected directory.

Steps

  1. There are different methods available for logging on to the training host from the training WTS. The following description assumes that you are using a Remote Desktop Connection.

  2. Log on to server smxhost using user install.

  3. Open the Windows File Explorer.

  4. Open a Command Prompt at

    D:\SWPM.

  5. Start

    D:\Media\Installation_SMA\01_SAPCAR\SAPCAR_1115-70006231.EXE -xf D:\Media\Installation_SMA\02_MP_Download\SWPM10SP41_3-20009707.SAR.

  6. Start

    D:\SWPM\sapinst.exe SAPINST_USE_HOSTNAME=smxhost SAPINST_STACK_XML=D:\Media\Installation_SMA\03_MP_Stack_XML\MP_Stack_1002049064_20240720_.xml.

  7. A browser window will be opened automatically.

  8. Just for better handling: open a Google Chrome on your WTS and copy the URL there. So: run the SAPinst UI in a browser on your WTS.

  9. In the browser window ignore the message about the security certificate and continue to the requested site.

  10. Ignore the message in the browser window about the security certificate — SSL was not configured, therefore the browser deems the connection to the training host insecure. Choose Proceed to wdflbmt0910.wdf.sap.corp (unsafe).

  11. Sign in with user install.

  12. In the Software Provisioning Manager, expand Software Provisioning Manager 1.0 SP 41System SMA (SAP SOLUTION MANAGER 7.2)SAP Solution Manager 7.2 Support Release 2SAP Solution Manager 7.2 ABAP Support Release 2MaxDBInstallationApplication Server ABAPHigh-Availability SystemAdditional Application Server Instance, and choose Next.

    Note

    Please note that when using a stack XML file for starting an installation, the SID will be already known and also the product and version you wish to install. Also, when starting SAPinst using a stack XML file SAPinst won't offer the option to execute a separate Prerequisite Check. However, a Prerequisite Check will be always executed during the installation procedure.
  13. Continue the installation process screen-by-screen, entering the data as shown in the table.

    Parameters and Data for AAS Installation for SAP Solution Manager ABAP system

    Screen NameField NameValue
    General SAP System ParametersProfile Directoryselect \\smxhost\sapmnt\SMA\SYS\profile from the entry help
    Master PasswordPassword for All UsersMasterSMA80
    Software Package BrowserPackage Path (first screen)D:\Media\Installation_SMA\02_MP_Download\igshelper_17-10010245.sar
    Software Package BrowserPackage Path (second screen)leave empty, was provided already, package has StatusAvailable
    Upgrade SAP Host AgentUpgrade SAP Host Agentdo not select, deselect
    Media BrowserRDBMS MaxDBD:\Media\Installation_SMA\04_SAP_MaxDB_Installation\51054410_7\MaxDB_7.9___SP10_Build_05_
    Additional Application Server InstanceAAS Instance Number82
    Additional Application Server InstanceAAS Instance Host Namesmxhost
    Configuration of Work ProcessesNumber of Dialog Work Processes10
    Configuration of Work ProcessesNumber of Batch Work Processes (Background Processing)6
    Message Server Access Control ListMessage Server Access Control ListDo not create Message Server Access Control List
    Parameter Summary select parameters/settings that you would like to change – choose Revise if required
    InformationExecution of System SMA … has completed.select Ok
    Feedback to SAP select Close
    Execution of Service has been completed successfully select Exit
  14. You have already done the post installation activities for the PAS. Remember to reduce the parameter PHYS_MEMSIZE for this newly installed AAS! This is described in the corresponding exercise in the unit describing the post installation activities.

Result

You have successfully installed an Additional Application Server Instance for your SAP Solution Manager ABAP system.

Log in to track your progress & complete quizzes