Вы находитесь на странице: 1из 37

Installation Quick Guide

Demo21 / S/4HANA 1709 FPS01


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) ........................................................................................ 15

5 Connect using SAP HANA Studio ........................................................................................................ 20

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

7 Troubleshooting.................................................................................................................................... 33

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 2 - 3 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

• Click on Edit
• 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 SAP HANA Lifecycle Management
• 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': 478,

'sidadm_comment': 'SAP System Administrator',

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

'sidadm_id': 1001,

'sidadm_shell': '/bin/csh'}

• Replace 'sapsys_groupid' value with the Group ID for sapsys (478 in our case).
• Change 'sidadm_home' value according to your system (i.e. /usr/sap/HDB/home)
• Replace 'sidadm_id' value with the UID of the user you created (1001 in our case).

3.3.2 SAP HANA Lifecycle Management (Register / Rename)


• Start the SAP HANA Lifecycle Management

cd /hana/shared/HDB/hdblcm

./hdblcm

• Choose the register_rename_system option

11
Demo21 - Installation Quick Guide

• The target hostname should be detected (otherwise you can enter it)

• Enter the parameter as indicated above

• Check summary and start the process

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

 The SAP HANA instance will be started automatically !

12
Demo21 - Installation Quick Guide

• The error regarding the SAP Host Agent can be ignored

13
Demo21 - Installation Quick Guide

3.3.3 Check the status:

su – hdbadm

HDB info

Result:

If you plan to rename your SAP HANA database, you can use the same option.

Note:  No support for the rename option during Demo21!

3.3.4 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.

14
Demo21 - Installation Quick Guide

4 Install SAP NetWeaver (Application Server)


4.1 Create user for App Instance
• Start the SWPM
• ./sapinst SAPINST_SLP_MODE=false

15
Demo21 - Installation Quick Guide

16
Demo21 - Installation Quick Guide

17
Demo21 - Installation Quick Guide

18
Demo21 - Installation Quick Guide

4.2 Unpack

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

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

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

19
Demo21 - Installation Quick Guide

5 Connect using SAP HANA Studio


5.1.1 Connection to tenant HDB

20
Demo21 - Installation Quick Guide

• User: SYSTEM
• Password: VA1MPwd_

21
Demo21 - Installation Quick Guide

5.1.2 Connection to SYSTEMDB

22
Demo21 - Installation Quick Guide

• User: SYSTEM
• Password: VA1MPwd_

23
Demo21 - Installation Quick Guide

5.1.3 Result in SAP HANA Studio

24
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:

25
Demo21 - Installation Quick Guide

6.2 System Rename


• Start the SWPM
• ./sapinst SAPINST_SLP_MODE=false

26
Demo21 - Installation Quick Guide

27
Demo21 - Installation Quick Guide

28
Demo21 - Installation Quick Guide

29
Demo21 - Installation Quick Guide

30
Demo21 - Installation Quick Guide

31
Demo21 - Installation Quick Guide

32
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

33
Demo21 - Installation Quick Guide

34
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

35
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

36
Demo21 - Installation Quick Guide

hdbuserstore list

Result:

37

Вам также может понравиться