0% found this document useful (0 votes)
47 views

Demo21 Installation Quick Guide January 2017 - V1.7

This document provides instructions for installing SAP HANA and SAP NetWeaver on a Linux system. It describes installing the SAP Host Agent, SAP HANA database, and SAP NetWeaver application server. It also covers connecting to the database with HANA Studio and renaming the application instance.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

Demo21 Installation Quick Guide January 2017 - V1.7

This document provides instructions for installing SAP HANA and SAP NetWeaver on a Linux system. It describes installing the SAP Host Agent, SAP HANA database, and SAP NetWeaver application server. It also covers connecting to the database with HANA Studio and renaming the application instance.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

Installation Quick Guide

Demo21

January 2017
Version 1.7
Demo21 - Installation Quick Guide

1 Introduction ............................................................................................................................................. 3

2 Install SAP Host Agent: .......................................................................................................................... 4

3 Install the SAP HANA Platform .............................................................................................................. 5

4 Install SAP NetWeaver (Application Server) ........................................................................................ 13

5 Connect using SAP HANA Studio ........................................................................................................ 17

6 SWPM for App Instance (System Rename) ......................................................................................... 18

2
Demo21 - Installation Quick Guide

1 Introduction
Please make sure you have copied all files from the download to a local drive on your Linux box, i.e. /tmp.

You should have the following content available:

The default Demo21 delivery will install the SAP HANA Platform with SID <HDB> and the SAP
NetWeaver Stack with SID <S4H>.

After installation you will have the following setup:

HDB SAP HANA Database Instance 02 Port 30215

S4H SAP NetWeaver Appl. Instance 00

3
Demo21 - Installation Quick Guide

2 Install SAP Host Agent:


2.1 Procedure
 Log on as a user with root authorization.
 Change to the directory to which you extracted the SAPHOSTAGENT<SP-version>.SAR archive.
 Start the installation by entering the following command:

./saphostexec -install

The progress of the installation is displayed on the command line.

Create the following directory:

mkdir /usr/sap/tmp

The administrator user sapadm of the SAP Host Agent is created automatically during the installation, but
it does not get assigned a password. You can assign a password after the installation has finished (see
next step).

If required, assign a password to the sapadm user by entering the following command:

passwd sapadm

After the installation has finished successfully, you can check whether SAP Host Agent is up and running
by executing the following command from the directory of the SAP Host Agent executables:

/usr/sap/hostctrl/exe/saphostexec -status

4
Demo21 - Installation Quick Guide

3 Install the SAP HANA Platform


3.1 SWPM
We need to create the user hdbadm.

 Start the SWPM

5
Demo21 - Installation Quick Guide

6
Demo21 - Installation Quick Guide

7
Demo21 - Installation Quick Guide

8
Demo21 - Installation Quick Guide

3.2 Unpack
 Change to your temp directory where you have all the files, i.e. /tmp/Demo21
 Unpack the files in the following sequence:

cat dblog.tgz-* | tar -zpxvf - -C / (expected runtime 5 Min.)

cat dbdata.tgz-* | tar -zpxvf - -C / (expected runtime 30 - 60 Min.)

cat dbexe.tgz-* | tar -zpxvf - -C / (expected runtime 5 Min.)

 You now have populated /hana/data, /hana/log and /hana/shared

3.3 Get UserId and GroupID


 Start YaST  User and Group Management
 Get the UID of user hdbadm

 Go to Details
 Change the home directory as indicated:

9
Demo21 - Installation Quick Guide

 Get the Group ID of group sapsys

10
Demo21 - Installation Quick Guide

3.3.1 Edit the cfg file for hdbreg


 Open file /hana/shared/HDB/global/hdb/install/support/cfg,

vi /hana/shared/HDB/global/hdb/install/support/cfg

Change the content to reflect your values:

'sapsys_groupid': 1001,

'sidadm_comment': 'SAP System Administrator',

'sidadm_home': '/usr/sap/HDB/home',

'sidadm_id': 1005,

'sidadm_shell': '/bin/csh'}

 Replace 'sapsys_groupid' value with the Group ID for sapsys (112 in our case).
 Change 'sidadm_home' value according to your system (i.e. /home/hdbadm)
 Replace 'sidadm_id' value with the UID of the user you created (1002 in our case).

3.4 hdbreg
You need:

 UID of the hdbadm


 Desired password for hdbadm
 Old hostname

Steps:

 Log on as a user with root authorizations.


 Go to /hana/shared/HDB/HDB02
 Identify the hostname from the source

 Execute the following commands (change yellow sections accordingly):

/hana/shared/HDB/global/hdb/install/bin/hdbreg --batch --password Welcome1 --


userid=1002 --hostmap=izrhhanab=hw00001

11
Demo21 - Installation Quick Guide

Use hdbreg –help to learn about additional options of the program.

Wait until the execution of the commands has completed. This will take some time.

 The SAP HANA instance will be started automatically !

If you plan to rename your SAP HANA database, you can use hdbrename. Consult hdbrename –help to
learn about the options. The syntax of hdbrename is similar to that of hdbreg.

Note:  No support for the hdbrename during Demo21!

Install SAP HANA License

You will need to install a new SAP HANA license.

Result:

The SAP Hana database is functionally working. You can connect to the database using SAP HANA
Studio.

12
Demo21 - Installation Quick Guide

4 Install SAP NetWeaver (Application Server)


4.1 Create user for App Instance
 Start SWPM

13
Demo21 - Installation Quick Guide

14
Demo21 - Installation Quick Guide

15
Demo21 - Installation Quick Guide

4.2 Unpack

For application server-related archives, execute the following commands:

cat usrsap.tgz-* | tar -zpxvf - -C / (expected runtime 5 Min.)

cat sapmnt.tgz-* | tar -zpxvf - -C / (expected runtime 3 Min.)

16
Demo21 - Installation Quick Guide

5 Connect using SAP HANA Studio


5.1.1 Setup System HDB

 User: SYSTEM
 Password: Welcome1

17
Demo21 - Installation Quick Guide

6 SWPM for App Instance (System Rename)


6.1 Preparation
 Change directory to /usr/sap/S4H/SYS/profile
 Delete all profiles except the four files listed below:

 Edit the DEFAULT.PFL

vi /usr/sap/S4H/SYS/profile/DEFAULT.PFL

Go to line:

enq/serverhost = izrhhanab

 Replace with your own hostname


 Save and quit

18
Demo21 - Installation Quick Guide

6.2 System Rename


Start the SWPM:

19
Demo21 - Installation Quick Guide

20
Demo21 - Installation Quick Guide

21
Demo21 - Installation Quick Guide

22
Demo21 - Installation Quick Guide

23
Demo21 - Installation Quick Guide

24
Demo21 - Installation Quick Guide

7 Troubleshooting
7.1 SAP Host Agent installation fails

Error: groupadd exit with status 127 …..

Solution:

Use the SWPM to create the SAP Host Agent User. Then continue with the steps in in this guide.

 System Rename  Preparation  Operating System Users and Groups

25
Demo21 - Installation Quick Guide

26
Demo21 - Installation Quick Guide

7.2 Issues with UUID


Please correct using the following notes:

2361652 - The UUID daemon (uuidd) not active (Code: 59999)


1391070 - Linux UUID solutions

27
Demo21 - Installation Quick Guide

7.3 Instance does not start / no error message


Problem: All work processes die shortly after start. If you check your logs, you will find this type of entry:

 Check /usr/sap/S4H/D00/work

„no connection data found for key (DEFAULT) in HANA secure store”

Connect to database failed, rc=1, rcSQL=-10709

Solution:

su – s4hadm

cd /usr/sap/S4H/D00/exe/hdbclient

hdbuserstore list

 Missing KEY FILE

./hdbuserstore set DEFAULT linux-fisl.kmudemo.corp:30215 SAPHANADB password

28
Demo21 - Installation Quick Guide

hdbuserstore list

Result:

29
Demo21 - Installation Quick Guide

7.4 SAP System Rename terminates with error


Error:

Solution:

Edit the DEFAULT.PFL file and set the correct hostname.

30
Demo21 - Installation Quick Guide

31

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy