Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
documentation.suse.com / Guide / Installing SAP Applications
Applies to SUSE Linux Enterprise Server for SAP Applications 12 SP5

4 Installing SAP Applications

This section guides you through the installation of SAP media sets you received from SAP.

4.1 Products That Can Be Installed Using SAP Installation Wizard

Using the SAP Installation Wizard, you can install stand-alone SAP HANA database instances. Additionally, the following SAP products (along with a database) can be installed using the SAP Installation Wizard:

  • SAP S/4HANA, on-premise edition 1511

  • SAP NetWeaver 7.5

  • SAP NetWeaver 7.4 Support Release 2

  • SAP NetWeaver 7.4 Support Release 1

  • SAP NetWeaver 7.4

  • SAP Enhancement Package 1 for SAP NetWeaver 7.3

  • SAP NetWeaver 7.3

  • SAP NetWeaver Composition Environment (CE) 7.2

  • SAP EHP1 for SAP NetWeaver Composition Environment (CE) 7.1

  • SAP NetWeaver Composition Environment (CE) 7.1

  • SAP EHP1 for SAP NetWeaver Mobile/Banking 7.1

  • SAP EHP1 SAP NetWeaver Process Integration 7.1

  • SAP EHP1 for SAP NetWeaver Adaptive Computing Controller 7.1

  • SAP NetWeaver Mobile/Banking 7.1

  • SAP NetWeaver Process Integration 7.1

  • SAP NetWeaver Adaptive Computing Controller 7.1

  • SAP Business Suite powered by SAP HANA

  • SAP Business Suite 7i 2016

  • SAP Business Suite 7i 2013 Support Release 2

  • SAP Business Suite 7i 2013 Support Release 1

  • SAP Business Suite 7i 2011 Java

  • SAP Business Suite 7i 2010 Java

  • SAP Business Suite 7 Support Release 1 Java

  • SAP Solution Manager 7.2 Support Release 1

  • SAP Solution Manager 7.1 powered by SAP HANA

  • SAP NetWeaver AS ABAP 7.4, OEM version 1.0

Important
Important: Installation of Oracle Databases Not Possible

The SAP Installation Wizard does not allow installing products together with Oracle databases. To install an Oracle database, install the base product SUSE Linux Enterprise Server first, then install the Oracle database and later convert your installation to SLES for SAP. This is necessary because the installer of Oracle databases queries for the existence of certain files, not all of which are included in a SLES for SAP installation.

For more information about converting, see Section 3.4, “Converting a SLES Installation to a SLES for SAP Installation”.

4.2 First Steps

These first steps are only relevant during the installation workflow.

  1. When the system is booted, it displays the screen Welcome. Proceed with Next.

  2. The screen Network Settings will now open. This gives you an opportunity to change the network settings.

    When you are finished configuring networking, proceed with Next.

    Important
    Important: Configure Networking as Recommended by SAP

    Make sure to configure the network connection according to the documentation of your SAP application.

    For information about configuring networking, see Administration Guide, Chapter Basic Networking, Section Configuring a Network Connection with YaST (https://documentation.suse.com/sles-12).

    (While the next screen loads, the Welcome screen may appear again for a few seconds.)

  3. Choose one of the following options:

    Create SAP file systems and start SAP product installation

    Allows installing an SAP application and setting up the system as a server providing SAP installation routines to other systems.

    Continue with Section 4.3, “Using the SAP Installation Wizard”.

    Only create SAP HANA file systems, do not install SAP products now

    Create an SAP HANA file system on SAP BusinessOne-certified hardware.

    Important
    Important: Hardware Requirements

    Make sure your machine fulfills the hardware requirements for SAP HANA detailed in Section 2.1, “Hardware Requirements”. Otherwise, this option will not create a new file system and the installation workflow ends at this point.

    Finish wizard and proceed to OS login

    Do not install an SAP application and continue to the login screen of SUSE Linux Enterprise Server for SAP Applications.

    Proceed with Next.

4.3 Using the SAP Installation Wizard

Use the SAP Installation Wizard to install an SAP NetWeaver system (including database) or a simple SAP HANA system (single tenant, same password for all initial users, default settings).

To install other SAP applications or to create a more advanced SAP HANA setup, do not use this wizard. Instead, directly use one of the installation methods provided by SAP.

Tip
Tip: Installing an SAP Application in a Fully Installed System

This process is documented as it appears during the installation workflow. However, it also applies to the YaST module SAP Installation Wizard which is available in the installed system.

To start the SAP Installer, from the desktop, choose Applications › System › YaST, continue in the YaST control center by choosing Miscellaneous › SAP Installation Wizard.

Tip
Tip: SAP Installation Wizard Configuration

The SAP Installation Wizard configuration is specified and documented in /etc/sysconfig/sap-installation-wizard. You can change it according to your needs.

  1. In the screen SAP Installation Wizard, provide the Location of the SAP Installation Master (Figure 4.1, “Location of SAP Installation Master”). The location can either be a local, removable, or remote installation source.

    Location of SAP Installation Master
    Figure 4.1: Location of SAP Installation Master

    Select the appropriate option from the drop-down box. In the text box, specify the path to your source according to the format given in the following table.

    Table 4.1: Media Source Path

    Option

    Description

    Format of Path

    Local Sources

    dir://

    a local directory

    /path/to/dir/

    Removable Sources

    device://

    a locally connected hard disk

    devicename/path/to/dir/on/device

    usb://

    a USB mass storage device

    /path/to/dir/on/USB

    cdrom://

    a CD or DVD

    //

    Remote Sources

    nfs://

    an NFS share

    server_name/path/to/dir/on/device

    smb://

    an SMB share

    [user_name:password@]server_name//path/to/dir/on/server[?workgroup=workgroup_name]

    Tip
    Tip: Remote Location Specification

    To install from an NFS source, specify the name of the server and the complete path to the media data. For information about setting up a remote installation server, see Chapter 5, Setting Up an Installation Server for SAP Media Sets.

    If you have installed an SAP application from an installation server before (or set up your system to be an installation server), you can also directly choose that server as the provider of the Installation Master. To do so, use the drop-down box below e an installation master.

  2. Under Advanced Options, choose from the following options:

    Collect installation profiles for SAP products but do not execute installation

    Use this option to set the installation parameters, but not perform the actual installation. With this option, the SAP Installer (SAPinst) will stop without performing the actual SAP product installation. However, the steps that follow fully apply.

    For more information, see Section 4.4, “Continuing an Installation Using an Installation Profile”.

    Serve all installation media (including master) to local network via NFS

    Set up this system as an installation server for other SUSE Linux Enterprise Server for SAP Applications systems. The media copied to this installation server will be offered through NFS and can be discovered via Service Location Protocol (SLP).

    Proceed with Next.

    The SAP Installation Wizard will now copy the Installation Master to your local disk. Depending on the type of Installation Master you selected, the installation will continue differently:

    • If you are installing an SAP HANA database, skip ahead to Step 8.

    • If you are installing an SAP NetWeaver application, continue with the next step.

  3. On the screen SAP Installation Wizard, provide the location of additional Installation Media you want to install. This can include an SAP kernel, a database, and database exports.

    Copy a medium

    Specify a path to additional Installation Media. For more information about specifying the path, see Table 4.1, “Media Source Path”.

    Skip copying of medium

    Do not copy additional Installation Media. Choose this option in the following cases: If you do not need additional Installation Media or if you want to install additional Installation Media directly from their source, for example CDs/DVDs or flash disks.

    When choosing this option despite your SAP product requiring additional Installation Media, you later need to provide the SAP Installer (SAPinst) with the relevant paths.

    Proceed with Next.

    If you chose to copy Installation Media, the SAP Installation Wizard will copy the relevant files to your local hard disk.

    SAP Installation Wizard: Additional Installation Media
    Figure 4.2: SAP Installation Wizard: Additional Installation Media
  4. After copying the Installation Media, you will be asked whether you want to prepare additional Installation Media. To do so, click Yes. Then follow the instructions in Step 3.

    Otherwise, click No.

  5. In the screen What Would You Like to Install, under The SAP product is, choose how you want to install the product:

    SAP Standard System

    Install an SAP application including its database.

    SAP Standalone Engines

    Engines that add functionality to a standard product: SAP TREX, SAP Gateway, and Web Dispatcher.

    Distributed System

    An SAP application that is separated onto multiple servers.

    SAP High-Availability System

    Installation of SAP NetWeaver in a high-availability setup.

    System Rename

    Allows changing system properties such as the SAP system ID, database ID, instance number or host name. This can be used to install the same product in a very similar configuration on different systems.

    SAP Installation Wizard: Installation Type and Database
    Figure 4.3: SAP Installation Wizard: Installation Type and Database
  6. If you selected SAP Standard System, Distributed System, or SAP High-Availability System, additionally choose a back-end database under The back-end database system is.

    Proceed with Next.

  7. You will now see the screen Choose a Product. The products shown depend on the Media Set and Installation Master you received from SAP. From the list, select the product you want to install.

    Proceed with Next.

    SAP Installation Wizard: Choose a Product
    Figure 4.4: SAP Installation Wizard: Choose a Product
  8. You will be asked whether to copy Supplementary Media or Third-Party Media. To do so, click Yes and then follow the instructions in Step 3.

    Otherwise, click No.

    Note
    Note: Difference Between Supplementary Media/Third-Party Media and Additional Software Repositories

    Both types of delivery mechanisms allow installing software that is neither part of the SUSE Linux Enterprise Server for SAP Applications media nor part of your Media Set from SAP. However, the delivery mechanism is different:

    • Supplementary Media/Third-Party Media is installed using an AutoYaST file which allows creating an installation wizard and custom installation scripts.

    • Additional software repositories are RPM package repositories that you will remain subscribed to. This means you receive updates for Third-Party Media along with your regular system updates.

    For information on creating Supplementary Media, see Appendix C, Supplementary Media.

  9. On the screen Additional software repositories for your SAP installation, you can add further software repositories. For example, for add-ons that are packaged as RPM. To do so, click Add new software repositories. For more information about adding repositories, see Deployment Guide, Chapter Installing and Removing Software, Section Adding Software Repositories (https://documentation.suse.com/sles-12).

    Proceed with Next.

    Note
    Note: Location of Copied SAP Media

    At this point, all data required for the SAP installation has been copied to /data/SAP_CDs (unless you chose to skip the process of copying). Each Installation Medium is copied to a separate directory. You might find the following directory structure, for example:

    > ls /data/SAP_CDs
    742-KERNEL-SAP-Kernel-742
    742-UKERNEL-SAP-Unicode-Kernel-742
    RDBMS-MAX-DB-LINUX_X86_64
    SAP-NetWeaver-740-SR2-Installation-Export-CD-1-3
    SAP-NetWeaver-740-SR2-Installation-Export-CD-2-3
    SAP-NetWeaver-740-SR2-Installation-Export-CD-3-3

    /data/SAP_CDs is the default directory as specified in the /etc/sysconfig/sap-installation-wizard configuration file.

  10. Depending on the product you are installing, one or more dialogs will prompt you to supply values for configuration parameters for the SAP application you are installing.

    Supply the values as described in the documentation provided to you by SAP. Help for the configuration parameters is also available on the left side of the dialog. For more information, see Section 2.6, “Required Data for Installing”.

    Fill out the form (or forms), then proceed with OK.

    Dialog to configure product parameters
    Figure 4.5: Product Parameters

    When you are done, the SAP Installation Wizard will download additional software packages.

  11. You will be asked whether to continue the installation or prepare another SAP product for installation. If you choose to prepare another SAP product, start from the beginning of this procedure.

  12. (Optional) When installing SAP HANA on a system that is not certified for SAP HANA and does not meet the minimum hardware requirements for SAP HANA TDI (Tailored Datacenter Integration), you will be asked whether to continue. If you receive this message unexpectedly, check Section 2.1, “Hardware Requirements” and the sizing guidelines from SAP at https://service.sap.com/sizing.

    Otherwise, continue with Yes.

  13. The following steps differ depending on the type of SAP application you are installing:

    • When installing an SAP HANA database, SAP HANA will now be installed without further question.

    • When installing an SAP NetWeaver application, the actual installation will be performed using the SAP Installer (SAPinst). After a few seconds, SAP Installer will open automatically.

      Follow the SAP Installer as described in the documentation provided by SAP. Most configuration parameters are correctly filled already.

    SAP Installer: Defining Parameters
    Figure 4.6: SAP Installer: Defining Parameters
    Tip
    Tip: Installation Log Files

    If the installation of the SAP application fails, refer to the installation log files. They are located in /var/adm/autoinstall. Failed installations are recorded in files with names ending in .err.

    For more information about log files, see Chapter 14, Important Log Files.

  14. The final screen is Installation Completed.

    To create an AutoYaST file for this installation, activate Clone This System for AutoYaST. The AutoYaST file will be placed in /root/autoinst.xml.

    Click Finish.

4.4 Continuing an Installation Using an Installation Profile

If you chose Collect installation profiles but do not execute installation during the previous run of the SAP Installation Wizard, this section shows you how to continue the installation of the selected SAP applications.

When collecting an installation profile, the SAP Installation Wizard copies product images to /data/SAP_CDs. It also prepares an installation environment for every product under the path /data/SAP_INST:

/data/SAP_INST/0/Instmaster
/data/SAP_INST/1/Instmaster
/data/SAP_INST/2/Instmaster
[...]

These files are re-used in the following. To continue the installation, follow these steps:

  1. In /etc/sysconfig/sap-installation-wizard, set the following:

    SAP_AUTO_INSTALL="yes"
  2. In the case of an SAP HANA/SAP BusinessOne installation, the SAP Installation Wizard will later use the parameters documented in the AutoYaST files in /data/SAP_INST/number.

    If you need to change any parameters, make sure to adapt the AutoYaST files at this point.

  3. Open the YaST control center and start SAP Installation Wizard.

  4. You will be asked whether to continue the pending installation. Select Install.

  5. All further interactions happen within the SAP Installer. Follow the steps of SAP Installer as described in the documentation provided to you by SAP.

    • In the case of an SAP NetWeaver installation, all parameters of the SAP Installer will be offered again for fine-tuning.

    • In the case of an SAP HANA/SAP BusinessOne installation, the installer will not be offering to make any changes to parameters.

4.5 Partitioning for an SAP Application Without the SAP Installation Wizard

If you do not want to use the SAP Installation Wizard, you can also create the partitioning for SAP applications directly from the command line. First, find the correct partitioning file in the directory /usr/share/YaST2/include/sap-installation-wizard/ or create an own partitioning file. For more information, see Section 2.7.2, “Partitioning for the SAP System (stage 2)”.

When you have determined the correct partitioning XML file, run:

# yast2 sap_create_storage ABSOLUTE_PATH_TO_PARTITIONING_FILE

4.6 Automated Installation of SAP Applications with AutoYaST

The SAP Installation Wizard can be used from AutoYaST to automate the installation of SAP Applications.

4.6.1 SAP HANA Installation

The following AutoYaST snippet shows how an SAP HANA or SAP TREX installation can be automated:

<sap-inst>
  <products config:type="list">
    <product>
      <media config:type="list">
        <medium>
          <url>nfs://server/path1</url>
          <type>sap</type>
        </medium>
        <medium>
          <url>nfs://server/path3</url>
          <type>supplement</type>
        </medium>
      </media>
      <sapMasterPW>PASSWORD</sapMasterPW>
      <sid>SID</sid>
      <sapInstNr>INSTANCE_NUMBER</sapInstNr>
      <sapMDC>no</sapMDC>
    </product>
  </products>
</sap-inst>
  • The sapMDC element is only applicable to SAP HANA.

  • The sapVirtHostname element must be specified for distributed or highly available installations.

For a full SAP HANA example, including partitioning, see /usr/share/doc/packages/sap-installation-wizard/hana-autoyast.xml.

4.6.2 SAP NetWeaver Installation

For SAP NetWeaver, the following example shows how the installation can be automated. Specifically, this example is tailored to installing ASCS Instance of an SAP NetWeaver 7.5 ABAP Server distributed system with MaxDB (product ID NW_ABAP_ASCS:NW750.ADA.ABAP). When installing other products based on SAP NetWeaver, not all of the following variables may be necessary (or these variables might need to be replaced by others):

  • The master password for the SAP NetWeaver instance: MASTER_PASSWORD

  • The SAP Identifier (SID): SID

  • The SAP kernel: KERNEL

  • The SAP instance number: INSTANCE_NUMBER

  • The ASCS virtual host name: ASCS_VIRTUAL_HOSTNAME

  • The SCS virtual host name: SCS_VIRTUAL_HOSTNAME

<sap-inst>
  <products config:type="list">
    <product>
      <media config:type="list">
        <medium>
          <url>nfs://SERVER/PATH1</url>
          <type>sap</type>
        </medium>
        <medium>
          <url>nfs://SERVER/PATH2</url>
          <type>sap</type>
        </medium>
        <medium>
          <url>nfs://SERVER/PATH3</url>
          <type>supplement</type>
        </medium>
      </media>
      <productID>NW_ABAP_ASCS:NW750.ADA.ABAP</productID>
      <iniFile>
        <![CDATA[
# Password for the Diagnostics Agent specific <dasid>adm user. Provided value
# may be encoded.
DiagnosticsAgent.dasidAdmPassword =

# Windows domain in which the Diagnostics Agent users must be created.
# The property is Microsoft Windows only. This is an optional property.
DiagnosticsAgent.domain =

# Password for the Diagnostics Agent specific SAPService<DASID> user.
# Provided value may be encoded.
# The property is Microsoft Windows only.
DiagnosticsAgent.sapServiceDASIDPassword =

NW_GetMasterPassword.masterPwd = MASTER_PASSWORD

# Human readable form of the Default Login language - valid names are stored
# in a table of the subcomponent NW_languagesInLoadChecks. Used when freshly
# installing an ABAP stack for the machine that performs an ABAP load (in the
# case of a distributed system, that is the database, otherwise it is used by
# the normal installer). The available languages must be declared in the
# LANGUAGES_IN_LOAD parameter of the product.xml . In this file, the one
# character representation of the languages is used. Check the same table in
# the subcomponent mentioned above.
NW_GetSidNoProfiles.SAP_GUI_DEFAULT_LANGUAGE =

# The drive to use (Windows only)
NW_GetSidNoProfiles.sapdrive =

# The /sapmnt path (Unix only)
NW_GetSidNoProfiles.sapmnt = /sapmnt

# The SAP System ID of the system to install
NW_GetSidNoProfiles.sid = SID

# Will this system be unicode system?
NW_GetSidNoProfiles.unicode = true

NW_SAPCrypto.SAPCryptoFile = /data/SAP_CDs/745-UKERNEL-SAP-Unicode-Kernel-745/DBINDEP/SAPEXE.SAR

NW_SCS_Instance.ascsInstanceNumber =

NW_SCS_Instance.ascsVirtualHostname = ASCS_VIRTUAL_HOSTNAME

NW_SCS_Instance.instanceNumber = INSTANCE_NUMBER

NW_SCS_Instance.scsInstanceNumber =

NW_SCS_Instance.scsMSPort =

NW_SCS_Instance.scsVirtualHostname = SCS_VIRTUAL_HOSTNAME

NW_System.installSAPHostAgent = true

NW_Unpack.igsExeSar =

NW_Unpack.igsHelperSar =

NW_Unpack.sapExeDbSar =

NW_Unpack.sapExeSar =

NW_Unpack.sapJvmSar =

NW_Unpack.xs2Sar =

NW_adaptProfile.templateFiles =

# The FQDN of the system.
NW_getFQDN.FQDN =

# Do we want to set the FQDN for the system?
NW_getFQDN.setFQDN = false

# The path to the JCE policy archive to install into the Java home directory
# if it is not already installed.
NW_getJavaHome.jcePolicyArchive =

hostAgent.domain =

# Password for the SAP Host Agent specific sapadm user. Provided value may be
# encoded.
hostAgent.sapAdmPassword = MASTER_PASSWORD

nwUsers.sapDomain =

nwUsers.sapServiceSIDPassword =

nwUsers.sidadmPassword =
            ]]>
      </iniFile>
    </product>
  </products>
</sap-inst>