Installation Guide

Document Version: 1.0 - July 25, 2014

SAP Systems Based on SAP Netweaver
Application Server Java with the SAP
HANA Database on a Single Host

CUSTOMER

Table of Contents
1

Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.1

Goal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.2

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2.1

Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2

Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.1

Hardware and Software Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.2

SAP Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

3

Installation of SAP HANA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

3.1

Preparation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

3.2

3.1.1

Preparing the Hosts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

3.1.2

Downloading the SAP HANA Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2.1

Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

3.2.2

Installing SAP HANA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

4

Installation of SAP NetWeaver AS Java. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

4.1

Preparation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

4.2

4.3

4.1.1

Reviewing the Installation Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

4.1.2

Preparing the Installation Media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.2.1

Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

4.2.2

Running the Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Post-Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
4.3.1

Backing Up the New SAP HANA Database Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

4.4

Result. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

5

Post-Installation Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

5.1

Configuring Memory Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

2

CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA
Database on a Single Host
Table of Contents

1

Introduction

1.1

Goal

This how-to guide contains a step-by-step description for the installation of SAP systems based on SAP
NetWeaver Application Server Java 7.4, together with the SAP HANA database on the same host.
With SAP NetWeaver 7.4 SR1 (SP5) and higher releases, the components of the following instances based on
Application Server (AS) Java are released for use with SAP HANA Database 1.0 SPS 8 (revision 80 and higher):

Application Server Java

NW Product Description

Adobe Document Services

PDF Export (ALV Export)

Demo Applications

BPM

EP Core - Application Portal

Enterprise Portal

EP Content

BI Java

Advanced Adapter Engine Extend

PI Adapter Engine (Java EE)

Enterprise Services Repository

Composite App. Framework

Composition Platform

Guided Procedures

AS Java Extensions

Development Infrastructure

For up-to-date information on released components for AS Java, see SAP Note 1849151

1.2

.

Overview

1.2.1

Installation

Context
You need to perform the following main steps to complete the installation:

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA Database on a Single Host
CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Introduction

3

Procedure
1.

Check the prerequisites.

2.

Install the SAP HANA database instance and SAP NetWeaver AS Java:
a) Install the empty SAP HANA database instance.
b) Install the instances of SAP NetWeaver AS Java.

3.

Configure memory settings on SAP HANA and SAP NetWeaver AS Java.

Related Information
Installation of SAP HANA [page 7]
Installation of SAP NetWeaver AS Java [page 10]
Configuring Memory Settings [page 14]

4

CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA
Database on a Single Host
Introduction

2

Prerequisites

2.1

Hardware and Software Requirements

The host needs to be able to support the SAP HANA database plus SAP NetWeaver AS Java. Before
installation, carefully estimate the sizing for your system, making sure that the host meets these combined
requirements:

SAP HANA database – see section Hardware and Software Requirements in the SAP HANA Server
Installation Guide.

SAP NetWeaver AS Java – see section Hardware and Software Requirements at http://service.sap.com/
instguides

under

SAP NetWeaver

NetWeaver Systems
Database

UNIX

SAP NetWeaver 7.4

Installation – SAP

Installation: Systems Based on SAP NetWeaver NW 7.1 and Higher

SAP HANA

Java .

For more information on sizing, see SAP Note 1793345
the SAP HANA appliance plus SAP NetWeaver AS Java.

Installation

. Note that the host must meet the requirements for

For SAP Netweaver AS Java usage types such as Enterprise Portal, Enterprise Services Repository, and so on,
check the sizing guide for your usage type at http://service.sap.com/sizing
Database and Technology

under

Sizing Guidelines

SAP NetWeaver .

The required file systems are created during installation of the SAP HANA database and SAP NetWeaver AS
Java. However, if required you can set them up before the installation and specify them during the installation
procedure.
For more information, see section Recommended File System Layout in the SAP HANA Server Installation
Guide.

Operating system:
SUSE Linux Enterprise Server (SLES) 11 as listed in the Product Availability Matrix (PAM)
For information about installing SLES 11 in an SAP environment, see SAP Note 1310037
about optimal settings for SLES 11, see SAP Note 1824819

2.2

.
. For information

.

SAP Notes

Make sure that you have the up-to-date version of the main SAP Notes, which you can find at http://
service.sap.com/notes
SAP Note
1514967
2021789

.
Title
SAP HANA: Central Note
SAP HANA Revision and Maintenance Strategy

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA Database on a Single Host
CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Prerequisites

5

SAP Note
2004651
1523337
1680045
855498
1793345
1872170
1704753
1706930
1310037
1824819
886535
2039820

6

Title
SAP HANA Platform SPS 08 Release Note
SAP HANA Database: Central Note
Release Notes for Software Provisioning Manager
Installation Prerequisites Checker
Sizing for SAP Suite on HANA
Suite on HANA Memory Sizing
Inst. Systems based on SAP NetWeaver 7.1 and higher: UNIX
Inst. SAP Sys. Based on NW 7.3 and higher: SAP HANA DB, UNIX
SUSE LINUX Enterprise Server 11: Installation notes
SAP HANA DB: Recommended OS settings for SLES11/SLES4SAP SP2
Downloading multispanning archives
Sizing for SAP Process Integration - Advanced Adapter Engine (PIAEX) , Business Process Management (BPM), and Process Orchestra­
tion on SAP In-Memory Database (HANA)

CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA
Database on a Single Host
Prerequisites

3

Installation of SAP HANA

You need to install the SAP HANA database using the SAP HANA installer (hdblcm) tool. For more information,
see the SAP HANA Server Installation Guide.

Caution
You must use a different SAP system ID (SID) for the SAP HANA database than the one you later specify for the
installation of the SAP NetWeaver AS Java.

3.1
3.1.1

Preparation
Preparing the Hosts

Make sure you meet the minimum hardware and software requirements on each host.

Related Information
Hardware and Software Requirements [page 5]

3.1.2

Downloading the SAP HANA Software

Procedure
1.

Download the most recent version of the SAP HANA software from the SAP Software Download Center to a
single download directory on the local host:
http://service.sap.com/swdc
–H

under

SAP In-Memory (SAP HANA)

PLATFORM EDIT. 1.0

Installations and Upgrades

HANA Platform Edition

A-Z Index

Installations and Upgrades

SAP HANA PLATFORM EDITION

SAP HANA

Installation

The software is available as a multispanning archive in file format rar.
2.

See SAP Note 886535

for more information on how to unpack multispanning archives.

3.

Copy or mount the media to make them available on the target host.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA Database on a Single Host
CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Installation of SAP HANA

7

3.2

Installation

3.2.1

Prerequisites

You use the tool hdblcm or the GUI version hdblcmgui to install SAP HANA. In this documentation we use
hdblcm.

You must run the installer (hdblcm or hdblcmgui) as root user from the following directory where you
downloaded and extracted the installation medium:
<DVD root directory>/DATA_UNITS/HDB_LCM_LINUX_X86_64

3.2.2

Installing SAP HANA

Procedure
1.

Change to the directory containing hdblcm and enter the command hdblcm to start the installation.

2.

Choose Install new system and select the additional components required:

3.

Option

Description

SAP HANA Studio

Installs the components of the SAP HANA Studio

SAP HANA Lifecycle Manager

Installs the components of the SAP HANA Lifecycle Manager

SAP HANA Database Client

Installs the components of the SAP Database Client

Specify the required installation parameters.
In most cases you can accept the default values unless you have specific requirements, such as for the SAP
system ID.

Caution
Estimate and provide the maximum memory allocation for HANA during installation in step Define
System Properties to ensure adequate memory availability for the Netweaver AS Java that you install
later. See Configuring Memory Settings for the AS Java memory requirement. Additionally, check specific
sizing guides for AS Java usage types such as Enterprise Portal, Process Orchestration, and so on,

Results
Now you are ready to install SAP NetWeaver AS Java.

8

CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA
Database on a Single Host
Installation of SAP HANA

Next Steps
If required, you can check that the SAP Host Agent is running although it should normally be running
automatically. For more information on the SAP Host Agent, see SAP Note 1031096

.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA Database on a Single Host
CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Installation of SAP HANA

9

4

Installation of SAP NetWeaver AS Java

You need to install the instances of SAP NetWeaver AS Java.

Caution
You must use a different SAP system ID (SID) for the SAP NetWeaver AS Java system than that already
specified for the installation of the SAP HANA database.
There are references to the “installation guide of SAP NetWeaver AS Java” in this section. You can find this
installation guide here:
http://service.sap.com/instguides
NetWeaver Systems

4.1

SAP NetWeaver

SAP NetWeaver 7.4

Installing Systems Based on NW 7.1 or Higher

Installation

SAP HANA Database

Installation – SAP
UNIX

Java

Preparation

4.1.1

Reviewing the Installation Parameters

Procedure
During the installation, the installer prompts you for several parameters. To review these before starting the
installation, see section Basic SAP System Installation Parameters in the installation guide of SAP NetWeaver
AS Java.

4.1.2

Preparing the Installation Media

Procedure
Download and set up the installation media, making sure you always use the current version. This comprises:

The software provisioning manager, containing the installer, which you can find here:
http://service.sap.com/sltoolset

10

Software Logistics Toolset 1.0

System Provisioning

The software for the installation of SAP NetWeaver AS Java

CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA
Database on a Single Host
Installation of SAP NetWeaver AS Java

For more information, see section Preparing the Installation Media in the installation guide of SAP NetWeaver
AS Java.

4.2

Installation

4.2.1

Prerequisites

You use the installer of the software provisioning manager to install the various instances comprising the
system SAP NetWeaver AS Java.

You check that you meet the prerequisites described in Prerequisites of section Running the Installer in the
installation guide of SAP NetWeaver AS Java.

4.2.2

Running the Installer

Procedure
1.

Log on as the root user and change to the directory where you set up the software provisioning manager.

2.

Perform the installation:
a) Enter the following command to start the installer:
./sapinst
b) On the Welcome screen choose:
SAP Netweaver 7.4 Support Release 1
Java

Standard System

SAP HANA Database

SAP Systems

Application Server

Standard System .

Caution
This only installs the SAP NetWeaver AS Java engine. See section Running the Installer in the
installation guide of SAP NetWeaver AS Java to find the menu path for specific usage types.
c) Choose Next.
d) Follow the instructions in the installer, entering the parameters you defined.

Caution
You must use a different SAP system ID (SID) for the SAP NetWeaver AS Java system than that
already specified for the installation of the SAP HANA database.
e) On the Parameter Summary screen, check all the parameters
If required, you can revise the parameters before starting the installation.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA Database on a Single Host
CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Installation of SAP NetWeaver AS Java

11

f)

To start the installation, choose Start.

Results
The installer starts the installation and displays the progress of the installation. When the installation has finished,
the installer shows the message:
Execution of <Option_Name> has completed.

Related Information
Reviewing the Installation Parameters [page 10]

4.3

Post-Installation

4.3.1

Backing Up the New SAP HANA Database Installation

Procedure
Use the backup tool in the SAP HANA Administration Console of the SAP HANA studio to back up the new
installation. Make sure you perform a “Complete Data Backup”.
For more information, see section Opening the Backup Editor in the SAP HANA Administration Guide.

4.4

Result

You now have a full system for SAP NetWeaver AS Java, with a loaded database on one host:

12

CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA
Database on a Single Host
Installation of SAP NetWeaver AS Java

In the SAP Management Console (SAP MC) and the SAP Microsoft Management Console (SAP MMC) with snap-in
SAP Systems Manager, you can see the instances that are started initially when the system starts.
For more information on how to start and stop SAP instances, see section Starting and Stopping SAP System
Instances in the installation guide of SAP NetWeaver AS Java.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA Database on a Single Host
CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Installation of SAP NetWeaver AS Java

13

5

Post-Installation Configuration

5.1

Configuring Memory Settings

Context
This procedure is necessary so that the systems – that is, SAP NetWeaver AS Java and SAP HANA database – on
the single host host do not compete for memory resources. The exact settings depend on the size of your hosts
and the sizing required for each system.
SAP AS Java and the SAP HANA database can only run together on one host if the sizing of Java plus the sizing of
HANA does not exceed the total size of the HANA server in terms of memory. You configure the values resulting
from the Java sizing and you configure the values for the SAP HANA database with GLOBAL_ALLOCATION_LIMIT
(see SAP note 1872170

). If you have extra memory available, allocate it to the SAP HANA database.

There is a low risk of unexpectedly high memory usage by AS Java thanks to the optimized automatic
configuration during the installation phase. You can normally use out-of-the-box settings: single Java heap of 4
GB, shared space of 1 GB for SCS, 300 MB for ICM. If you need to enable higher user throughput, we recommend
you to add additional AS Java server nodes. If heap sizes are customized, when setting Java memory, note that
the initial and maximum sizes are the same, following performance considerations. The memory space to be
occupied by the Java instances is the number of server nodes multiplied by the configured heap size, plus the
shared space and ICM space.
For the usage types Advanced Adopter Engine (PI-AEX), Business Process Management (BPM) and Process
Orchestration, SAP does not expect significant change in memory requirements for single host installations. See
SAP Note 2039820

for detailed sizing requirements for these usage types.

Procedure
1.

Change the profile for the SAP HANA database either by using the SAP HANA Administration Console of the
SAP HANA studio or at the command line as follows:
Modify the file global.ini from /usr/sap/<DB_SID>/SYS/global/hdb/custom/config as user
<SID>adm, making sure it looks as follows:
[memorymanager]
global_allocation_limit = <your HANA sizing result>

2.

Change the profile for SAP NetWeaver AS Java using the configuration tool (configtool):
a) Open a command line on the HANA host using the Java admin OS user <SYS>adm.
b) To start the system configtool (a Java GUI application), run this command:
/usr/sap/<SID>/J##/j2ee/configtool/configtool.sh

14

CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA
Database on a Single Host
Post-Installation Configuration

c) Configure the JVM parameters as described here:
http://help.sap.com/nw74
Application Server Java
Config Tool

Application Help

Function-Oriented View

Administering Application Server Java

GUI Config Tool

English

Administration

Application Server
Administration Tools

Configuring JVM Parameters

d) Add server nodes if required as described here:
http://help.sap.com/nw74
Application Server Java
Config Tool

Application Help

Function-Oriented View

Administering Application Server Java

GUI Config Tool

English

Administration

Application Server
Administration Tools

Adding and Removing Server Processes

e) Activate the updated values in the configtool by restarting your system.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA Database on a Single Host
CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Post-Installation Configuration

15

Important Disclaimers on Legal Aspects
This document is for informational purposes only. Its content is subject to change without notice, and SAP does not warrant that it is error-free. SAP MAKES NO
WARRANTIES, EXPRESS OR IMPLIED, OR OF MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.

Coding Samples
Any software coding and/or code lines / strings ("Code") included in this documentation are only examples and are not intended to be used in a productive system
environment. The Code is only intended to better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and
completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, unless damages were caused by SAP
intentionally or by SAP's gross negligence.

Accessibility
The information contained in the SAP documentation represents SAP's current view of accessibility criteria as of the date of publication; it is in no way intended to be a
binding guideline on how to ensure accessibility of software products. SAP specifically disclaims any liability with respect to this document and no contractual obligations
or commitments are formed either directly or indirectly by this document.

Gender-Neutral Language
As far as possible, SAP documentation is gender neutral. Depending on the context, the reader is addressed directly with "you", or a gender-neutral noun (such as "sales
person" or "working days") is used. If when referring to members of both sexes, however, the third-person singular cannot be avoided or a gender-neutral noun does not
exist, SAP reserves the right to use the masculine form of the noun and pronoun. This is to ensure that the documentation remains comprehensible.

Internet Hyperlinks
The SAP documentation may contain hyperlinks to the Internet. These hyperlinks are intended to serve as a hint about where to find related information. SAP does not
warrant the availability and correctness of this related information or the ability of this information to serve a particular purpose. SAP shall not be liable for any damages
caused by the use of related information unless damages have been caused by SAP's gross negligence or willful misconduct. Regarding link classification, see: http://
help.sap.com/disclaimer.

16

CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA
Database on a Single Host
Important Disclaimers on Legal Aspects

SAP Systems Based on SAP Netweaver Application Server Java with the SAP HANA Database on a Single Host
CUSTOMER
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Important Disclaimers on Legal Aspects

17

www.sap.com/contactsap

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any
form or for any purpose without the express permission of SAP SE
or an SAP affiliate company. The information contained herein may
be changed without prior notice.
Some software products marketed by SAP SE and its distributors
contain proprietary software components of other software
vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company
for informational purposes only, without representation or warranty
of any kind, and SAP or its affiliated companies shall not be liable for
errors or omissions with respect to the materials. The only
warranties for SAP or SAP affiliate company products and services
are those that are set forth in the express warranty statements
accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well
as their respective logos are trademarks or registered trademarks
of SAP SE (or an SAP affiliate company) in Germany and other
countries. All other product and service names mentioned are the
trademarks of their respective companies.
Please see http://www.sap.com/corporate-en/legal/copyright/
index.epx for additional trademark information and notices.