How to Install SAP?
Posted by Superadmin on February 13 2022 03:54:45

How to Install SAP?

 

 

How to Install SAP?This article is part of our series on free SAP BASIS training. Here, we will provide step-by-step guidance of how to install SAP (NetWeaver 7.4) in the following configuration:

HP-UX / Oracle 11.2 / Unicode / Single System / ABAP only

General Information about Installation

SAP Notes for Installation

Prerequisites of SAP Installation

  1. Make sure the host name meets the requirements listed in note 611361
  2. Apply the latest OS patches
  3. Check your keyboard definitions
  4. Run the Prerequisites Checker Standalone: (Check Note 855498)
  5. Download the latest version of the Software Provisioning Manager 1.0
  6. Unpack the download using SAPCAR (sapcar –xvf <filename>.SAR)
  7. Start the installer by calling SAPinst.
  8. On the Welcome screen, choose <SAP Product>-><Database>->Preparations->Prerequisite Check
  9. Fill out the required parameters and Choose Next. A result will then appear
  10. Based on the results of the Prerequisites Checker make modifications
  11. For application server instances and database server instances, the number of physical or virtual processing units available to the operating system must be equal or greater than 2.
  12. Ensure that the optical media drive is ISO 9660 compatible.
  13. Verify paging file and kernel settings using memlimits
  14. Make SAPEXE.SAR available on the installation host. It can be found in the folder K_<KernelVersion>_<U/N>_<OS>/DBINDEP
  15. Unpack the file memlimits (SAPCAR –xvfg SAPEXE.SAR memlimits) Start memlimits (memlimits –l 20000)
  16. If there are error messages, increase paging space and rerun memlimits until there are no more errors National Language Support (NLS)
  17. Ensure the following files are available de_DE.iso88591 and en_US.iso88591. You can do this by running command locale –a. Minimum Web Browser Internet Explorer 9.0 or higher Mozilla Firefox Google Chrome
  18. Hostname: To find out the hostname, enter the command hostname. See Notes 611361 and 1503149
  19. Logon Shell See Notes 202227 and 1038842
  20. Mount and File system configuration See Note 1077887

Space Requirements

RAM Requirements

Swap Space Requirements

2 * RAM, at least 20 GB

Basic Installation Parameters

Use Typical installation mode

Unicode

Every new installation is Unicode, unless it is for a system copy for a non-Unicode system that has been upgraded to the current release

SAP System ID <SAPSID>

See Note 1979280 for the reserved SIDs

Instance Number

The technical identifier for internal processes It is a 2 – digit number from 00 to 97 (do not use 02 or 75) It must be unique on the host

Virtual Host Name

Network name of the <SAPSID> cluster group Enter the virtual host name in the <Instance_Name> Virtual Host Field. If you do not provide one, the installer will use the physical host name.

Master Password

This is used for operating system users (<SID>adm) ABAP Users SAP*, DDIC, and EARLYWATCH

Individual Encryption Key for Secure Storage

You can set a randomly generated individual encryption key for the secure storage in the file system and the secure storage in the database.

DNS Domain Name for SAP System

The DNS Domain Name is used to calculate the Fully Qualified Domain Name which is configured in SAPLOCALHOSTFULL. It consists of the hostname and the domain name.

ABAP Message Server Port

If you do not specify a value, the default value will be used. (This is what you want) The ports must be unique on all hosts. The default external message server port is 36<ABAP_MESSAGE_SERVER_INSTANCE_NUMBER>. The default internal message server port is 39<ABAP_MESSAGE_SERVER_INSTANCE_NUMBER>.

Operating System Users and Groups

If the operating system users do not exist, the following are created: <SID>adm Database Administrator users

System Landscape Directory for the system

You can register an existing SLD or no SLD

SLD Host

Host name of the existing SLD

SLD HTTP(S) Port

The HTTP or HTTPS port of the existing SLD. It follows the convention 5<InstanceNumber>00.

SLD Data Supplier User id and password

The existing SLD data supplier user and password of the existing SLD.

Database ID

The <DBSID> identifies the database instance. The installer prompts you for the <DBSID> when you are installing the database instance. The <DBSID> can be the same as the <SAPSID>.

Database Schema, Password

The ABAP database schema is named SAP<SchemaID>. Default is SAPSR3 (This is what you choose).

Oracle Listener Name, Oracle Listener Port, Oracle Listener Domain

Preparations for Installation of SAP

1. Check that the operating system users and groups are created.

2. Setup file systems and make sure that the required disk space is available for directories created during installation.

3. If required, setup virtual hostnames.

4. Install the front end software (SAPGUI)

5. Check that the required installation media are available.

6. Create Operating System users and Groups

7. Ensure the file system and directories are created and have enough space:
/<sapmnt>/<SAPSID> – minimum 2.5 GB
/usr/sap/trans – 2 GB minimum
/usr/sap/<SAPSID>/DVEBMGS<Instance Number> – Minimum 3 GB

8. Ensure the Oracle directories have enough space:
/oracle – 37 GB
/oracle/client/<DBRELEASE> – 100 MB
/oracle/stage/<DBRELEASE> – 11 GB
/home/oracle – 100 MB /home/ora<dbsid> – Database instance 4GB / All Other 200 MB
/oracle/<DBSID>/origlogA – 200 MB
/oracle/<DBSID>/origlogB – 200 MB
/oracle/<DBSID>/mirrlogA – 200 MB
/oracle/<DBSID>/mirrlogB – 200 MB
/oracle/<DBSID>/oraarch – Enough space for archives between 2 backups
/oracle/<DBSID>/sapreorg – 1.5 GB
/oracle/<DBSID>/sapdata1 – 24 GB
/oracle/<DBSID>/sapdata2 – 24 GB
/oracle/<DBSID>/sapdata3 – 24 GB
/oracle/<DBSID>/sapdata4 – 24 GB

Preparation of the Installation Media

Running SAP Installer

To restart after error

  1. Run sapinst: <path to unpack directory>/sapinst
  2. Select the installation option you want and click NEXT
  3. What do you want to do? Screen appears:
  4. You can, (a) start a new install or (b) resume one that has not completed yet

Post-Install Steps

Final Remarks about SAP Installation

Note: The commands to start and stop and SAP System have changed. The new commands are as follows:

Start: /usr/sap/hostctrl/exe/sapcontrol –nr <INSTANCE_NUMBER> -function START

Stop: /usr/sap/hostctrl/exe/sapcontrol –nr <INSTANCE_NUMBER> -function STOP