You are on page 1of 75

HANA System Deployment

Duncan Speidel/SAP Business One Solution Architecture


Bratislava April 2013

Public

Agenda

Linux Overview
What goes where
What tools do I use
What components go on Linux what go on Windows
Linux Setup
OS Installation/Verification
GUI
HANA Prerequisites
OS verification
HANA Setup
Install
System verification
Initial Connection from Studio

2013 SAP AG. All rights reserved.

Public

Linux Overview

HANA file system

2013 SAP AG. All rights reserved.

Public

Important location for SAP Files

/sapdata: HANA DB data files


/saplogs: HANA DB log files
/usr/sap/NBD: location of HANA DB executable
/etc: Linux server config
/home:
/proc: virtual file system
/root
/var/log

2013 SAP AG. All rights reserved.

Public

Useful Linux Tools

ssh client to connect from windows


putty http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Cygwin http://www.cygwin.com/

Graphical x-windows
X-Windows on the server
vnc connect to x-windows from MS Windows
Xming
Exceed

File Transfer tools


Winscp
File Zilla

2013 SAP AG. All rights reserved.

Public

What installs where


Tool

Operating
System

HANA

Linux

SAP Business One version for HANA

Linux

SAP Business One Analytics

Linux

SAP Business One Client

Windows

SAP HANA Client

Windows

SAP HANA Studio

Windows/Linux

2013 SAP AG. All rights reserved.

Public

Linux Setup
Peter Schinagl

Linux Setup: Preparation forehand

Prepare the Install Media


For SAP HANA and SAP Business One
Hardware configuration
Check BIOS Settings
Check Boot order
Storage Configuration (RAID Setup)
Two drives
1. SUSE Linux 72GB
2. Depends on hardware vendor

2013 SAP AG. All rights reserved.

Public

Linux Setup: Preparation forehand

Network Settings
IP Address
Hostname
Domain
Default gateway

Passwords
SAP Master Password
Super user Password for SUSE Linux

SUSE Installation Preparation


Download the image
Burn to CD

2013 SAP AG. All rights reserved.

Public

10

SUSE Installation Steps

Boot from CD-ROM


Choose Install/Restore with help
of cursor keys
press ENTER

2013 SAP AG. All rights reserved.

Public

11

SUSE Installation Steps

If the machine has multiple disks


please choose the smaller drive
(72GB) for the OS
Normally this is /dev/sda

2013 SAP AG. All rights reserved.

Public

12

SUSE Installation Steps

Confirm that it is the right disk


Up to this point you can still abort
the installation
With confirming this step, the disk
will be formatted

2013 SAP AG. All rights reserved.

Public

13

SUSE Installation Steps

Now the operating system is copied


onto the disk

2013 SAP AG. All rights reserved.

Public

14

SUSE Installation Steps

After some messages which show


the start of some services you will
see the EULA for the SUSE Linux
Enterprise Server
Scroll down <Pg-down> Or
press q (quit) to go to the end.
Accept it with y and ENTER

2013 SAP AG. All rights reserved.

Public

15

SUSE Installation Steps

Now be back in the graphical setup


of the SUSE Linux Enterprise Server
Choose your Keyboard type

2013 SAP AG. All rights reserved.

Public

16

SUSE Installation Steps

Enter you Hostname and domain


name here

2013 SAP AG. All rights reserved.

Public

17

SUSE Installation Steps

Setup the network


Click on the green Network
Interfaces or
Or use the pull-down box at the
bottom

2013 SAP AG. All rights reserved.

Public

18

SUSE Installation Steps

Select the Network-Card


and choose Edit

2013 SAP AG. All rights reserved.

Public

19

SUSE Installation Steps

Select the Statically assigned IP


address
And enter you IP-Address and
subnet mask

2013 SAP AG. All rights reserved.

Public

20

SUSE Installation Steps

Select Hostname/DNS tab


And enter your Name Server and/or
Domain Search

2013 SAP AG. All rights reserved.

Public

21

SUSE Installation Steps

Select Routing Tab


And enter your default gateway
Now your Network configuration is
ready

2013 SAP AG. All rights reserved.

Public

22

SUSE Installation Steps

Next step is to set the password for


the system administrator root
Your SUSE Linux installation is
ready now and we now move on to
the SAP setup

2013 SAP AG. All rights reserved.

Public

23

SAP HANA Setup

Now we start the Wizard part for the


SAP HANA and SAP BusinessOne
installation
First provide the path to the
unpacked SAP HANA media
This could be provided through
NFS, DVD, USB etc

2013 SAP AG. All rights reserved.

Public

24

SAP HANA Setup

Enter the SAP HANA installation


parameters
Do not change the SID NDB and
the instance number 00
Enter the Master Password

2013 SAP AG. All rights reserved.

Public

25

SAP HANA Setup

Choose No if you are


asked for a 3rd party
media
We have now copied all
media for SAP HANA

2013 SAP AG. All rights reserved.

Public

26

SAP HANA Setup

The wizard prompts you for


another SAP product
Choose Yes to add the SAP
Business One installation
sequence
The screens will be similar as
before, but with a different
install media

2013 SAP AG. All rights reserved.

Public

27

SAP Business One Setup

Provide the path to the


unzipped BusinessOne
product files

2013 SAP AG. All rights reserved.

Public

28

SAP Business One Setup

Now we have read in all


needed medias for the
installations
Choose No when
prompted (again) for 3rd
party media

2013 SAP AG. All rights reserved.

Public

29

SAP BusinessOne Setup

Choose No when
prompted to install another
product

2013 SAP AG. All rights reserved.

Public

30

SAP Installation

Now the installation of the


unattended product install
starts and display it's
process

2013 SAP AG. All rights reserved.

Public

31

SAP Installation

A summary window
is displayed
.and we are
ready!

2013 SAP AG. All rights reserved.

Public

32

SAP Installation

Now you will see a simple


graphical login screen for
the IceWM Desktop of the
SUSE Linux Enterprise
Server

2013 SAP AG. All rights reserved.

Public

33

HANA Prerequisites

HANA Prerequisites

SuSE Linux Enterprise Server from the vendor


If built from scratch (bare metal) use SAP Customer note 1310037 to ensure the
OS is ready
Executing HanaHwCheck.py shows supported hardware
If the check fails on certified hardware apply the fix in note 1658845

2013 SAP AG. All rights reserved.

Public

35

Linux Setup
OS Verification
cat /etc/SuSE-release returns support OS version

Network properly configured


hostname i returns the ip address
hostname f returns FQDN

2013 SAP AG. All rights reserved.

Public

36

Linux Setup
OS storage Verification
Verify adequate storage
df h

Verify Partition Structure


fdisk -l

2013 SAP AG. All rights reserved.

Public

37

Linux Setup
OS storage Verification
lvs - report information about logical volumes

2013 SAP AG. All rights reserved.

Public

38

OS Component verification

rpm q <component name>

2013 SAP AG. All rights reserved.

Public

39

Linux Setup
GUI Verification
On the server call start and a graphical windows based system should launch
You can use the same from a windows machine with an x-windows client
installed clients include:
VNC
Must start VNC on the server (vncserver :1)

Hummingbird Exceed
Xming
Cygwin
Google can find other options

2013 SAP AG. All rights reserved.

Public

40

HANA Setup

HANA Setup

Navigate to directory where you decompressed the files

hdbinst: console installation of HANA


hdbsetup: graphical installation of HANA
hdbuninst: HANA uninstaller
hdbupd: HANA upgrade

2013 SAP AG. All rights reserved.

Public

42

HANA Setup

Ensure hdb* files and ./instruntime/sdbrun have execute permission set


chmod 754 hdb*
chmod 754 sdbrun
Or chmod 777 R to the parent directory

2013 SAP AG. All rights reserved.

Public

43

Display settings required

2013 SAP AG. All rights reserved.

Public

44

HANA Setup

Start the installation process


./hdbsetup, ./hdbinst or ./hdbupd

2013 SAP AG. All rights reserved.

Public

45

Graphical install with hdbsetup

2013 SAP AG. All rights reserved.

Public

46

Enter parameters

2013 SAP AG. All rights reserved.

Public

47

Install and Summary

2013 SAP AG. All rights reserved.

Public

48

Install Completed

2013 SAP AG. All rights reserved.

Public

49

Console Install

2013 SAP AG. All rights reserved.

Public

50

Console install output

2013 SAP AG. All rights reserved.

Public

51

HANA Upgrade

2013 SAP AG. All rights reserved.

Public

52

Post install verification options

HANA OS Admin Console


Process check
SAP HANA Studio

2013 SAP AG. All rights reserved.

Public

53

HANA Verification via OS Admin Console

Using a tool that supports x-windows go take these steps


1.

cd /usr/sap/NDB/HDB00/

2.

HDB admin or HDBAdmin.sh

3.

Select services

2013 SAP AG. All rights reserved.

Public

54

Server running verification via process list

ps ef | grep hdb

2013 SAP AG. All rights reserved.

Public

55

HANA Process verification via Studio

2013 SAP AG. All rights reserved.

Public

56

Thank you
Duncan Speidel
SAP Business One Solution Architect
SAP Labs
3999 West Chester Pike
Newtown Square, PA 19073
T +1 610 661 6457
F +49 6227 78-52758
F +1 610 661 6458
M +1 610 308 6138
E duncan.speidel@sap.com
www.sap.com

Appendix

Directory Structure

What goes whereDirectory Structure


Directory

Contents

/bin

User binaries

/boot

Information required for startup

/dev

Devices

/etc

The configuration files for the Linux system

/home

home directory for most user

/lib

Contains system libraries, and some critical files such as kernel modules or
device drivers.

/lib64

Contains system libraries, and some critical files such as kernel modules or
device drivers, on some 64-bit systems.

/lost+found

the files that used for a restores after a system crash or when a partition
hasn't been unmounted before a system shutdown. This way you can recover
files that would otherwise have been lost.

2013 SAP AG. All rights reserved.

Public

60

What goes whereDirectory Structure


Directory

Contents

/media

Default mount point for removable devices, such as USB


sticks, media players, etc

/mnt

Stands for "mount". Contains filesystem mount points. These


are used, for example, if the system uses multiple hard disks
or hard disk partitions. It is also often used for remote
(network) filesystems, CD-ROM/DVD drives, and so on.

/opt

Contains add-on software. Some large program suites may


prefer to be installed here, rather than under /usr

/proc

procfs virtual filesystem showing information about


processes as files.

2013 SAP AG. All rights reserved.

Public

61

What goes whereDirectory Structure


Directory

Contents

/root

The home directory for the superuser "root" - that is, the
system administrator. This account's home directory is
usually on the initial filesystem, and hence not in /home
(which may be a mount point for another filesystem).

/srv

Server data (data for services provided by system).

/tmp

Temporary files

/usr

Holds executables, libraries, and shared resources that are


not system critical, like the X Window System, KDE, Perl,
etc.

/var

A short for "variable." A place for files that may change often
- especially in size, for example e-mail sent to users on the
system, or process-ID lock files.

/sapdata

HANA DB data files

/saplogs

HANA DB log files

2013 SAP AG. All rights reserved.

Public

62

What goes whereDirectory Structure


Directory

Contents

/sbin

Stands for "system (or superuser) binaries"


and contains fundamental utilities, such as
init, usually needed to start, maintain and
recover the system.

/selinux

Security-Enhanced Linux
(SELi-nux) is a Linux feature that provides a
variety of security policies, including the U.S.
Department of Defense style of mandatory
access controls, through the use of Linux
Security Modules (LSM)

/software

Location for Linux code (not on all


distribution)

/sys

a virtual filesystem (sysfs, comparable to


/proc, which is a procfs), which stores and
allows modification of the devices connected
to the system

2013 SAP AG. All rights reserved.

Public

63

Required OS components

Required OS Components
Name of component

Why it is needed

saphostagent

Components to centrally monitor a host

gtk2

A multi-platform toolkit for creating


graphical user interfaces.

java-1_6_0-ibm

Used by some of the graphical HANA


tools

libicu

ICU is a set of C and C++ libraries that


provides robust and
full-featured Unicode support.

mozilla-xulrunner192-1.9.2.xx-x.x.x (use
version provided by OS)

The goal of XULRunner is to provide a


solution for deploying XUL applications

ntp

A networking protocol for clock


synchronization between computer
systems over packet-switched, variablelatency data networks.

2013 SAP AG. All rights reserved.

Public

65

Required OS Components
Name of component

Why it is needed

sudo

A program for Unix-like computer


operating systems that allows users to
run programs with the security privileges
of another user (normally the superuser,
or root

syslog-ng (use version as provided with


operating system distribution)

syslog-ng is an open source


implementation of the Syslog protocol for
Unix and Unix-like systems. It extends
the original syslogd model with contentbased filtering, rich filtering capabilities,
flexible configuration options and adds
important features to syslog, like using
TCP for transport

2013 SAP AG. All rights reserved.

Public

66

Required OS Components

Name of component

Why it is needed

tcsh

A Unix shell based on and compatible


with the C shell (csh). It is essentially the
C shell with programmable command line
completion, command-line editing, and a
few other features.

libssh2-1

A library implementing the SSH2 protocol

expect
yast2-ncurses only for SLES for SAP

Only if you do not use SLES for SAP Applications

autoyast2-installation

Only needed if you do a autoyast install (generally not


required)

SAP HANA
Master Guide.pdf

2013 SAP AG. All rights reserved.

Public

67

Unix Knowledge

Common Command
Command

Description

chmod

Changes access permissions on


a file. Access permissions are
execute, read, write and are set
for owner, group and word

chown

Changes the owner of a file

chgrp

Changes the group the file


belongs too. Note you can
change the groups when you
change the owner using chown
<new owner>:<new group>

df

Free disk space. Entering df h


will show all free disk space, at
the root level, in human readable
format. df . h will show free disk
space in the current directory.

2013 SAP AG. All rights reserved.

Public

69

Common Command

Command

Description

du

disk usage, typically used du . -h

Typically an alias to ls l

ll

Typically an alias to ls la

ls

Directory listing in short form

man

help for Linux man <command


name>

cd

change directory

2013 SAP AG. All rights reserved.

Public

70

Script files on Linux

SAP commonly deliveries script files that provide valuable functionality.


Often the scripts have a sh or csh extension.
Unless the execution bit is set, you cannot execute these files.

In the example above neither hanaconfig.sh or setup.sh can execute, until we


set the execution flag with chmod.

2013 SAP AG. All rights reserved.

Public

71

vi tip

i = insert
/ = find
<esc> to leave editor insert mode
: to enter a command to vi:
w for write
q for quite
wq! force the update to be written and quit
/ search for a string, remember vi, like Linux, is case sensitive
Anything more advanced can be found using Google

2013 SAP AG. All rights reserved.

Public

72

2013 SAP AG. 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 AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or
warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group
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 AG in
Germany and other countries.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

2013 SAP AG. All rights reserved.

Public

73

2013 SAP AG. Alle Rechte vorbehalten.

Weitergabe und Vervielfltigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die
ausdrckliche schriftliche Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen knnen ohne vorherige
Ankndigung gendert werden.
Einige der von der SAP AG und ihren Distributoren vermarkteten Softwareprodukte enthalten proprietre Softwarekomponenten anderer
Softwareanbieter.
Produkte knnen lnderspezifische Unterschiede aufweisen.
Die vorliegenden Unterlagen werden von der SAP AG und ihren Konzernunternehmen (SAP-Konzern) bereitgestellt und dienen ausschlielich zu
Informationszwecken. Der SAP-Konzern bernimmt keinerlei Haftung oder Gewhrleistung fr Fehler oder Unvollstndigkeiten in dieser Publikation.
Der SAP-Konzern steht lediglich fr Produkte und Dienstleistungen nach der Magabe ein, die in der Vereinbarung ber die jeweiligen Produkte und
Dienstleistungen ausdrcklich geregelt ist. Keine der hierin enthaltenen Informationen ist als zustzliche Garantie zu interpretieren.
SAP und andere in diesem Dokument erwhnte Produkte und Dienstleistungen von SAP sowie die dazugehrigen Logos sind Marken oder
eingetragene Marken der SAP AG in Deutschland und verschiedenen anderen Lndern weltweit. Weitere Hinweise und Informationen zum
Markenrecht finden Sie unter http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark.

2013 SAP AG. All rights reserved.

Public

74

The Grid

Headline area
White space

Drawing area

2013 SAP AG. All rights reserved.

Public

75

You might also like