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

Hewlett-Packard GmbH

Herrenberger Strae 140


71037 Bblingen

hp.com

Hewlett-Packard A&DM
First-Steps with SAP HANA
Faststart Service Knowledge Document

Preface

Contact Information
Name Christian Hauswald
Title Technical Consultant
e-Mail christian.hauswald@hp.com

Change History
Version Date Revision Description
1.0 Feb. 2nd 2013 Initial Document
2.0 July 25th 2013 Added SPS6 Installation
2.1 December 12th 2013 Minor update
2.5 January 13th 2014 Added SPS7 Installation
2.6 March 19th 2014 Added Console Installation SPS7 LCM
3.0 May, 21st 2014 Redesign, Adding more Information

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties for HP products and
services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as
constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
This Document was created by HP ES A&DM ch@hp.com
Page 1 of 118
Content
Preface ............................................................................................................................................... 1
About this Document ...................................................................................................................... 4
Interessting Documents provided by SAP .................................................................................. 4
Prerequisites ..................................................................................................................................... 4
Installation of the SAP HANA Database ...................................................................................... 5
Installation with the Unified Installer (SPS6 and below) .................................................... 5
Installation with the HDBLCM (Gui) .......................................................................................... 7
Installation with the HDBLCM (Interactive Console) ..........................................................15
Installation with the HDBLCM (Configuration File) .............................................................22
Creating the global.ini ..........................................................................................................22
Installation .............................................................................................................................23
Installation with hdbinst ..........................................................................................................28
Adding Additional Hosts ...............................................................................................................30
hanaconfig.sh (SPS5, EVA-Storage)......................................................................................30
HLM (SPS6 and above, EVA-Storage) ...................................................................................36
./hdbaddhost (EVA-Storage) ..................................................................................................40
HLM (SPS6 and above, 3PAR-Storage) ................................................................................41
Update the SAP HANA Database ................................................................................................46
Update the HLM .........................................................................................................................46
Update with HLM .......................................................................................................................50
Update with HDBLCM (Gui) ......................................................................................................54
Update with HDBLCM (Interactive Console).........................................................................60
Update with hdbupd .................................................................................................................62
Update with SUM (SPS5 and below) .....................................................................................64
Reconfigure the SAP HANA Database .......................................................................................74
Installation of a 2nd SAP HANA Database..................................................................................78
Hanaconfig.sh (SPS5) ...............................................................................................................78
HLM (SPS6 and above) .............................................................................................................86
Installing SAP HANA License ........................................................................................................89
Backup ..............................................................................................................................................96
Database Filebackup via SAP HANA Studio .........................................................................96
Database Filebackup via SAP Script Backup..................................................................... 102
Database Backup with Backint Interface .......................................................................... 103
Filesystem Backup ................................................................................................................. 103

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 2 of 118
Overview of the SAP HANA Studio .......................................................................................... 104
Update the SAP HANA Studio .............................................................................................. 106
HDB Userstore ............................................................................................................................. 116
HANA SQL ..................................................................................................................................... 116
SAP HANA Commands (sidadm) .............................................................................................. 117
SAP HANA Commands (root) .................................................................................................... 117

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 3 of 118
About this Document

Commands are written like this. Things you have to enter


are highlighted in blue

Interessting Documents provided by SAP


SAP HANA Master Guide: Download
SAP HANA Server Installation Guide: Download
SAP HANA Master Update Guide: Download
More Documents under: http://help.sap.com/hana_appliance/ and
http://service.sap.com/hana

Prerequisites
You need to have a SAP HANA Appliance with Linux SLeS 4 SAP
If you have a ScaleOut System the 3PAR, the LUNs need to be formatted and
writeable

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 4 of 118
Installation of the SAP HANA Database
In this chapter you will get a brief overview of the different Installation options of the
SAP HANA Database and all the Components

Installation with the Unified Installer (SPS6 and below)


The SAP HANA Unified Installer is the method to install a SAP HANA Database with all
needed components when youre running a SAP HANA Database, up to Revision 69. If
youre running a later version, please use the HDBLCM (Next Chapter)

Navigate to the Installation DVD. It is located under /usr/sap/install. The Installation


DVDs Name is a Number. For Example: 51046696
In Case of a Scale-Out Solution, the installation DVD is only located on the first Blade
of the Appliance.

Navigate within the DVD to the setuphana.slmodel


/usr/sap/install/51046696/DATA_UNITS/HANA_IM_LINUX__X86_64
This file needs to be adapted according to your needed installation.
dataPath: /HANA/IMDB-data/<SID> or /hana/data
logPath: /HANA/IMDB-log/<SID> or /hana/log
sapmntPath: /sapmnt or /hana/shared
instanceNumber: <InstanceNo>
sid: <SID>
hdbHost: <fqdn>
timezone <timezone>

To run the installation do: setup.sh /<tmp_install_dir> <name_of_modelfile>


eg:

hana5: #./setup.sh /tmp/hanainst setuphana.slmodel

With the unified Installer The SAP HANA Database, SAP HANA Studio, SAP HANA Client,
HLM and the LM_Structure will be installed in the needed directories.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 5 of 118
When youve startet the setup.sh, the Installer will immediately begin to install
your SAP HANA Database. This is the Sample Output you will see during the
Installation:

hana5: /51046696/DATA_UNITS/HANA_IM_LINUX__X86_64
# ./setup.sh /tmp/hanainst_erp slmodel_CHH

Installer location 51046696_sps6/DATA_UNITS/HANA_IM_LINUX__X86_64


================================================================
SAP HANA unified installer
================================================================

Enter the master user password. The master password must contain at least one
lower case character,one upper case character, and one number. It must
be at least eight characters long.

Master password:
Reenter master pasword:

Updating/installing SAP host agent on host: 'hana5-int'...


Performing validation...
Creating logs directory "/usr/sap/CHH/setup"...
Installing HDB server...
Installing HDB client...
Installing HDB studio...
Installing HDB studio repository...
Installing LM structure...
Installing HANA lifecycle manager...
Creating trans directory...
Updatin secondary installtion value in Lm Structure...
Registering system in SAP Host Agent...
Copying logs to /usr/sap/CHH/setup...

The installation of SAP HANA system has finished.


Log file is located at: /tmp/hanainst_chh/log/setup.glf

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 6 of 118
Installation with the HDBLCM (Gui)
To install your SAP HANA Database with the Gui Version, you need to have a ScaleUp
(Single Server) or a ScaleOut with EVA-Storage. If you want to install a ScaleOut
System with 3PAR Storage, please use the Chapter SAP HDBLCM (Configfile) as the
ScaleOut System is using the Storage-API and this is not (yet) supported by this
installation routine

Navigate to the base DVD and open the HDBLCM, it is within the Folder
HDB_LCM_LINUX_X86_64

hana5: ./hdblcmgui

In this window you see the files, contained in the base DVD. If you click next youre
going to install or upgrade a system with Revision 70. If you want to modify the
installation and use the latest version, you have to click Add Component Location in
the lower left corner.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 7 of 118
Navigate to the folder where you have extracted the rev73 files, check the box saying
include subfolders and hit OK. Afterwards you see that the Versions have changed.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 8 of 118
Here you can choose whether you want to Upgrade a System or install a new one. In
my case I have chosen to update a Revision 70 Base Installation called SKF

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 9 of 118
Check (or uncheck) the components you want to upgrade or install

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 10 of 118
Enter your credentials

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 11 of 118
Have a look at the conclusion. If its fine click Update

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 12 of 118
Follow the progress

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 13 of 118
After the installation you should see that everything went through without any
problems.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 14 of 118
Installation with the HDBLCM (Interactive Console)
To install your SAP HANA Database with the Gui Version, you need to have a ScaleUp
(Single Server) or a ScaleOut with EVA-Storage. If you want to install a ScaleOut
System with 3PAR Storage, please use the Chapter SAP HDBLCM (Configfile) as the
ScaleOut System is using the Storage-API and this is not (yet) supported by this
installation routine

If you do not like GUIs you can do the same thing with the command line of the unix. In
order to do so, navigate to the LCM-Folder and start the hdblcm.
With the option ./hdblcm --help you get an overview of the available commands.

The console-pendant for the Installation I did with the gui-version would be:
--action=update
--component_medium=/folder/of/base/dvd
--component_root=/folder/of/update/location

hana5:/repository/repository_hana/sps7_51047822/51047822/
DATA_UNITS/HDB_LCM_LINUX_X86_64 # ./hdblcm

Choose what you want to do. In this case Install new system

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 15 of 118
Choose what parts you want to install. Standards are The SAP HANA Database (will
always be installed), the SAP HANA Studio, the SAP HANA Lifecycle Manager (HLM) and
the SAP HANA Client. If you have the business need for installing also the AFL and
LCAPPS you have the option to choose it here.
For further Information what LCAPPS and AFL is, please have a look at the specific
references under http://service.sap.com/hana

Choose the path, where the /hana/shared Directory should be installed. Normally it is
located under /hana/shared, in older Systems it is under /sapmnt

Enter the Name of your System

Enter your Instance Number

What is the main purpose for your installed System?

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 16 of 118
Define where your Data Volumes should be located. In normal case it is located under
/hana/data/SID and you can simply hit <ENTER>

Define where your Log Volumes should be located. In normal case it is located under
/hanas/log/SID and you can simply hit <ENTER>

Enter the Hostmapping for the HLM. If you intend to install the SAP HANA Database on
a other Network, that the outside world connects to the Server, this is needed that the
HLM is working properly. In most cases this can be continued by simply hitting
<ENTER>

Enter and Confirm your sidadm Password

Enter the Location where the Home Directory of the sidadm should be located (Leave it
as it is!)

Define that Login Shell (Leave it as it is)

If you have the business need for having a Specific Linux User ID for your sidadm you
can here change it.

Here you can set the Timezone for your Instance

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 17 of 118
Enter and Confirm the Password for you SYSTEM Database User

Do you want that the Instance will automatically start after a Machine Reboot? Then
you have to choose yes, if not leave it as it is.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 18 of 118
Here you see a summary of your setup. Read it and if you are happy with the
configuration say y and the Installation will begin.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 19 of 118
When you said y in the previous screen, the installation of your SAP HANA
Database will begin. This is the sample Output you will see during the
Installation:

Updating components...
Install Resident Installer Executables
Installing SAP HANA AFL ...
Installing SAP Application Function Libraries to
/hana/shared/T78/exe/linuxx86_64/plugins/afl_1.00.73.00.389160_1450737...
Installing package 'AFL' ...
Installing SAP HANA LCAPPS ...
Installing SAP liveCache Applications to
/hana/shared/T78/exe/linuxx86_64/plugins/lcapps_1.00.73.00.444789_3693141...
Installing package 'LCAPPS' ...
Updating SAP HANA Database ...
Installing package 'Saphostagent Setup' ...
Updating package 'Python Support' ...
Updating package 'Python Runtime' ...
Updating package 'Product Manifest' ...
Updating package 'Binaries' ...
Updating package 'Installer' ...
Updating package 'Ini Files' ...
Updating package 'Emergency Support Package' ...
Updating package 'Documentation' ...
Updating package 'Delivery Units' ...
Updating package 'DAT Languages' ...
Updating package 'DAT Configfiles' ...
Stopping system...
Starting system...
Importing delivery units...
Importing delivery unit HANA_IDE_CORE
Importing delivery unit HANA_TA_CONFIG
Importing delivery unit HANA_UI_INTEGRATION_CONTENT
Importing delivery unit HANA_UI_INTEGRATION_SVC
Importing delivery unit HANA_XS_BASE
Importing delivery unit HANA_XS_EDITOR
Importing delivery unit HANA_XS_IDE
Importing delivery unit HANA_XS_LM
Importing delivery unit SAPUI5_1
Importing delivery unit HANA_ADMIN
Installing SAP HANA Database Client ...
Installing SAP HANA Database Client to /hana/shared/T78/hdbclient...
Updating package 'Python Runtime' ...
Updating package 'Product Manifest' ...
Updating package 'SQLDBC' ...
Updating package 'REPOTOOLS' ...
Updating package 'Python DB API' ...
Updating package 'ODBC' ...
Updating package 'JDBC' ...
Updating package 'Client Installer' ...
Installing SAP HANA Studio...
Installing SAP HANA Studio to /hana/shared/T78/hdbstudio...
Updating package 'Studio Director' ...
Updating package 'Client Installer' ...

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 20 of 118
Copying SAP HANA Studio update repository...
Updating Component List ...
Installing SAP HANA Lifecycle Manager ...
Installing SAP HANA Lifecycle Manager to /hana/shared/T78/HLM...
Installing package 'SAP HANA lifecycle manager' ...
Installing SAP HANA Lifecycle Manager to /hana/shared/T78/HLM...
Installing package 'SAP HANA lifecycle manager' ...
SAP HANA instance installed.
Log file written to '/var/tmp/hdb_T78_hdblcm_install_2014-03-
19_16.35.25/hdblcm.log'.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 21 of 118
Installation with the HDBLCM (Configuration File)
If you are going to install a ScaleOut Solution, this is the best way how to do it.

Creating the global.ini


If you are using a HP HANA Appliance with 3PAR Storage, you first need to create a
global.ini containing the LUNs of the 3PAR. If youre having an old SAP HANA with
EVA-Storage, you can directly continue to the installation, leaving out the Storage-
Parts.

If you are going to install a SAP HANA ScaleOut System with 3PAR, the Storage API will
be used to mount and organize the Storage. In this example we are going to set up a
2+1 Configuration, which means, we have 2 active Nodes and one StandBy Blade.

For that setup your Storage Expert or an HP Consultant need to name you the LUNs of
the 3PAR which you can use for the Installation. You need 2 LUNs per worker. The
Standby Blade needs no LUN, as it is going to take over the LUNs from the crashed
node.

In this example the WWIDs mapped out of the 3PAR are:


Blade 1 /hana/data 600143801259d5eb0000700000360000
/hana/log 600143801259d5eb00007000003b0000
Blade 2 /hana/data 600143801259d5eb0000700000370000
/hana/log 600143801259d5eb00007000003c0000

Navigate to the folder /hana/shared/install/<SID>/ and create a file which is called


global.ini. You now need to enter the WWIDs beginning with an additional 3.

In this example the global.ini would look like this:

This global.ini would map 2 LUNs per Blade to your installation, with a maximum of
two working blades in total. If you want to install a SAP HANA Database, containing 3
active Blades, you need to add another partition-section, with the number 3

Save that file in the folder /hana/shared/install/<SID>

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 22 of 118
Installation
To install a SAP HANA Database with a configuration file, you first need to create one.
You can do that by navigating to the HDB_LCM Folder in the Install-DVD and enter:

hana5:/insthana/DATA_UNITS/HDB_LCM_LINUX_X86_64
# ./hdblcm --action=install --
dump_configfile_template=/hana/shared/install/<SID>/confi
gfile_<SID>.cfg

If you are installing a ScaleOut System, your folder /hana/shared/install/<SID> now


contains 2 files. (Just if youre using 3PAR Storage, if youre running EVA, you just have
the configfile_SID.cfg)
A global.ini file and a configfile_SID.cfg

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 23 of 118
Open the configfile and edit it for your needs:
WARNING: Within the Configfile you will find entries like ${SID} At some times the
installation with the Substitution-Variables wont work. To solve that problem change
them (all of them) to their original name.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 24 of 118
[General]

# Location of SAP HANA DVD media (Default: /insthana)


component_medium=

# Comma separated list of component directories


component_dirs=

# Directory root to search for components


component_root=

# Select the action to be either installation or update


action=install

# Index (Default: client,studio,hlm)


components=client,studio,hlm

[Server]

# Additional Hosts
# I strongly recommend that you add the hosts with the HLM within the SAP
HANA Studio, some revisions cannot add the Server without problems
addhosts=

# Non-standard Shared File System


checkmnt=

# Installation Path (Default: /hana/shared)


sapmnt=/hana/shared

# Root User Name (Default: root)


root_user=root

# Root User Password


root_password=HP1nv3nt

# Directory containing a storage configuration


# Point to the Folder, where you have saved the global.ini, if youre installing a
ScaleOut System with 3PAR
storage_cfg=/hana/shared/install/<SID>

# Internal Network Address


internal_network=

# SAP HANA System ID


sid=T73

# Instance Number (Default: 01)


number=73

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 25 of 118
# System usage (Default: custom)
system_usage=custom

# Location of Data Volumes (Default: /hana/data/${sid})


datapath=/hana/data/${sid}

# Location of Log Volumes (Default: /hana/log/${sid})


logpath=/hana/log/${sid}

# Host Name of this Location (Default: hana5)


hostname=hana5

# Enables the installation or upgrade of the SAP Host Agent (Default: y)


install_hostagent=1

# SAP Host Agent (sapadm) Password


sapadm_password=HP1nv3nt

# System Administrator Password


password=HP1nv3nt

# System Administrator Home Directory (Default: /usr/sap/${sid}/home)


home=/usr/sap/${sid}/home

# System Administrator Login Shell (Default: /bin/sh)


shell=/bin/sh

# System Administrator User ID (Default: 1002)


userid=2073

# ID of User Group 'sapsys' (Default: 79)


groupid=200

# System Administrator Timezone (Default: UTC)


timezone=CET

# Database User (SYSTEM) Password


system_user_password=HP1nv3nt

# Restart instance after machine reboot? (Default: n)


autostart=0

[LifecycleManager]

# SAP Host Agent Package Location


host_agent_package=

# Certificate Host Names


certificates_hostmap=hana5

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 26 of 118
[Client]

# Client Installation Path (Default: /hana/shared/${sid}/hdbclient)


client_path=${sapmnt}/${sid}/hdbclient

[Studio]

# SAP HANA Studio Installation Path (Default: /hana/shared/${sid}/hdbstudio)


studio_path=${sapmnt}/${sid}/hdbstudio

# Enables copying of SAP HANA Studio repository (Default: y)


studio_repository=1

# Target path to which SAP HANA Studio repository should be copied


copy_repository=

# Java Runtime (Default: /usr/lib64/jvm/jre/bin/java)


vm=/usr/lib64/jvm/jre/bin/java

# Source path of SAP HANA Studio repository


repository=

For more details about the different options you can enter, please have a look
at the SAP Reference, under http://service.sap.com/hana

To install you SAP HANA Database, navigate to your HDB LCM and start the
hdblcm, with the additional information of the Configfile
hana5:/insthana/DATA_UNITS/HDB_LCM_LINUX_X86_64
# ./hdblcm --
configfile=/hana/shared/install/T73/configfile_t73.cfg

If you didnt enter all the information needed, the Installer will ask you interactively for
the information.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 27 of 118
Installation with hdbinst
The easiest installation method is the hdbinst. However, when you choose to install
your Database with that method, you wont have the benefit of an easy Update
Process. This will always just install the specific thing you have chosen and not the
whole landscape. The hdbinst is contained in every component of the HANA. In the
HDB Server, the Studio, the Client and all other Components.
Before using that method, please contact your SAP HANA SAP/HP Consultant to ask
for the risks that may occur.
Nevertheless it is worth sharing, as this is the fastest way of setting up another
Sandbox Instance.

Navigate to the component you want to install (In this case Just the SAP HANA
Database).

hana5:/insthana/DATA_UNITS/HDB_SERVER_LINUX_X86_64 # ll

The hdbinst (here marked in green) is located in every Component of the SAP HANA.
Even with a revision Upgrade, you can Install a complete SAP HANA Database.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 28 of 118
hana5:/insthana/DATA_UNITS/HDB_SERVER_LINUX_X86_64
# ./hdbinst

Enter the Values for the Installation (for a more detailed overview, have a look at the
Chapter HDBLCM Interactive Console)

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 29 of 118
Adding Additional Hosts
In Order to create a real ScaleOut System, you need to add additional hosts. There are
several methods you can choose from, depending on what SPS you are. Please select
a applicable chapter

hanaconfig.sh (SPS5, EVA-Storage)


In case of a ScaleOut Solution you need to add the other Blades as additional Hosts to
your Landscape. In Order to do that navigate to the hanaconfig.sh Script, located
under: /usr/sap/install/51043617/DATA_UNITS/HANA_IM_LINUX__X86_64.
You can run it either as gui-version or as commandline. In Order to run it as gui-Version
enter ./hanaconfig.sh gui. You need to be root in order to start the hanaconfig.sh

Choose HANA Distributed Setup

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 30 of 118
Choose: Add Additional Host

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 31 of 118
Fill in the Information needed

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 32 of 118
When you have more than one HANA Installation, you need to arrange the Storage
Allocation. Double-Click on the number and set the percentage for each Instance.
When youre finished, hit Run.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 33 of 118
All Instances where the allocation was changed (previously existing Instances) needs
to be restarted. If you want to continue, choose Yes.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 34 of 118
2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 35 of 118
HLM (SPS6 and above, EVA-Storage)
You can either start the HLM in the SAP HANA Studio, or you can simply open it in your
web browser by typing in: https://<ip>:1129/lmsl/HLM/<SID>/ui/

In order to add additional hosts, the hostcontrol needs to be installed on the additional
blades. It is located within the Base-DVD on the first Blade. If you want to have the
actual hostcontrol, you need to download either the .SAR-File or install it with the HLM
(Single Support Package Stack) or you download the .rpm-Package and install it with
Linux-Commands.

Open the Lifecycle Management within your SAP HANA Studio. If prompted, enter the
Password for your SIDadm User.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 36 of 118
Klick on Add Additional Host

Enter the Needed Information and click Next

Attention:
Enter the Password for the sapadm. (Beware: The standard-Password after the initial
Setup of the saphostcontrol is empty. Before you can enter the password you need to
change it via passwd in Linux)

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 37 of 118
Define the Memory-Allocation for the different Instances (If Applicable) and press
Next. If you change the Memory Allocation for existing Instances, these Instances
needs to be restarted.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 38 of 118
Check the Conclusion and Press run

You will always get the Message, that other Instances will be restarted. This will just
take place, if you made changes in the Memory-Distribution of the other Instances. If
you didnt make changes there. The prompt will still appear, however, the Instance
wont be restarted.

Follow the Progress.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 39 of 118
./hdbaddhost (EVA-Storage)
With this method you can also add hosts to your existing environment. However, this
way is not recommended as the additional host will not be registered in the Landscape
of your SAP HANA System. (You cannot remove it with the HLM of your SAP HANA
Studio, for instance)

WARNING: This Method is not supported for ScaleOut with 3PAR


WARNING: This method is not supported by SAP. Before adding a host with that
method, please contact your SAP representative.

To add the host with this method, navigate to

hana5:/hana/shared/<SID>/global/hdb/install/bin
# ./hdbaddhost

Enter the Credentials of your SIDadm

Define which role your new host should take.


Worker = Active
Standby = Failover Node

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 40 of 118
HLM (SPS6 and above, 3PAR-Storage)
You can either start the HLM in the SAP HANA Studio, or you can simply open it in your
web browser by typing in: https://<ip>:1129/lmsl/HLM/<SID>/ui/

In order to add additional hosts, the hostcontrol needs to be installed on the additional
blades. It is located within the Base-DVD on the first Blade. If you want to have the
actual hostcontrol, you need to download either the .SAR-File or install it with the HLM
(Single Support Package Stack) or you download the .rpm-Package and install it with
Linux-Commands.

Open the Lifecycle Management within your SAP HANA Studio. If prompted, enter the
Password for your SIDadm User.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 41 of 118
Choose Add Additional Host

Leave the Listen Interface at .global, and press Next

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 42 of 118
If you are adding a worker: You need to enter the next free storage Partition number,
defined in the global.ini, located under /hana/shared/install/<SID>, cf. Chapter 4.4.1
Creating the global.ini

If you are adding a Standby Server, you need to leave the Storage Partition Number
free, as this Blade wont get storage. It will take over the Storage of the failed node.

Define the Memory-Allocation for the different Instances (If Applicable) and press
Next. If you change the Memory Allocation for existing Instances, these Instances
needs to be restarted.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 43 of 118
Check the Conclusion and Press run

You will always get the Message, that other Instances will be restarted. This will just
take place, if you made changes in the Memory-Distribution of the other Instances. If
you didnt make changes there. The prompt will still appear, however, the Instance
wont be restarted.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 44 of 118
Follow the Progress.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 45 of 118
Update the SAP HANA Database
In Order to stay up to date and get the latest features, you need to update your SAP
HANA Database and all the other Components time by time.

Update the HLM


Before Updating the HANA Parts itself, please update the HLM to the latest release.
You can either start the HLM in the SAP HANA Studio, or you can simply open it in your
web browser by typing in: https://<ip>:1129/lmsl/HLM/<SID>/ui/

Click Update SAP HANA Lifecycle Manager (HLM)

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 46 of 118
Choose Manually downloaded content

Browse to the .SAR File of the HLM-Patch and click Next

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 47 of 118
You get an overview of the actual Revision and the Target Version. Click Run

And Info message will prompt you about the Risks of an update. Click Yes

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 48 of 118
You have successfully updated your HLM

That you can use the new features, you need to restart the SAP HANA Studio

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 49 of 118
Update with HLM
You can either start the HLM in the SAP HANA Studio, or you can simply open it in your
webbrowser by typing in: https://<ip>:1129/lmsl/HLM/<SID>/ui/

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 50 of 118
2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 51 of 118
2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 52 of 118
Done, you have successfully updated your SAP HANA Database

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 53 of 118
Update with HDBLCM (Gui)
To update your SAP HANA with the GUI Verison of the HANA Lifecycle Manager (not
HLM!) navigate to your base DVD Folder containing the HLM and enter ./hdblcmgui

hana5:/51047822/DATA_UNITS/HDB_LCM_LINUX_X86_64
# ./hdblcmgui

You will see in the first screen the Revision of the base DVD. You can add Component-
Locations (Containing the latest Revision)

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 54 of 118
Navigate to the folder where your Revision 74 is located and check Search for
components in subfolders
WARNING: You need to Unpack the Files you want to update!

Your Information Screen will update with the Revision you have chosen. Click Next

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 55 of 118
Chose the System you want to update

Chose the parts you want to update. You have also the possibility to install further
parts which are currently not installed (Like LCAPPS and AFL)

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 56 of 118
Enter your credentials and Click Next

Read the Summary and click Update

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 57 of 118
You can follow the progress

Click Finish

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 58 of 118
2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 59 of 118
Update with HDBLCM (Interactive Console)
Besides the GUI Verison, you have also the possibility to use the Interactive Console to
update your SAP HANA Database. Its basically the same, just without the GUI.

Navigate to you folder which contains the HDBLCM in your Base-DVD and add the
parameter, that you want to update with a specific component directory.
WARNING: The Files need to be extracted in order to update your System.

hana6:/insthana/DATA_UNITS/HDB_LCM_LINUX_X86_64
# ./hdblcm --action=update --component_root=/rev74/rev74

Chose the System you want to update

Chose the Components you want to update

Enter your Credential for the SIDadm User

Enter the Credentials for the SYSTEM Database User

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 60 of 118
Read the Summary and enter y

The Installation progress of the Installation

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 61 of 118
Update with hdbupd
The fastest and easiest way to update your SAP HANA ist using the hdbupd function,
contained in every Package (No matter if it is a Base DVD or a Revision Upgrade).
However, this method is not recommended, as this will just update single Components
and not your whole Landscape.
Before updating your System with that method, please contact your SAP
Representative to get additional information and the permission to choose that way of
updating your System.

Navigate to the Revision-File you want to use to upgrade your System and Enter

hana7:/rev/rev74/SAP_HANA_DATABASE # ./hdbupd

Choose the System you want to update

Enter your Credentials for the SIDadm

Enter your Credentials for the SYSTEM Database User

The update will begin immediately

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 62 of 118
The progress of the Update.
WARNING: You now have just updated your HANA Database. The Client, Studio and
additional Components are still on the old Revision-Level

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 63 of 118
Update with SUM (SPS5 and below)
Download the necessary Binaries from the sap-site.
Support Packages and Patches > A Z Index > SAP HANA Platform Edition > SAP
HANA Platform Edit. 1.0 > Support Package Stack Download

Copy the Binaries to a Folder on the HANA. For example:


/HANA/IMDB-data/repository/rev55.
All files need to be at the same directory, including the stack.xml.

Prepare the SAP HANA Studio. Navigate to: Window > Preferences > Lifecycle
Management > Service Marketplace and Change it to Stack File, File Location and
Point it to the Folder on the HANA where the bits are located.

Start the SUM on the HANA. Navigate to:


/usr/sap/<SID>/SUM and enter (as <SID>adm) ./sum.sh
or:
Add the file catalina.properties with keystore.password=<password> to the folder
/usr/sap/HPS/SUM/config. After that you dont need to start the SUM upfront and it
will be started during the startup of the Lifecycle Management in the SAP HANA Studio

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 64 of 118
In the SAP HANA Studio, rightclick on the System-Name and Click Lifecycle
Management

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 65 of 118
Enter the Password for the sapadm. (Beware: The standard-Passwort after the
installation is empty. Before you can enter the password you need to change it via
passwd in Linux)

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 66 of 118
The SUM will now check the System in order to get the actual Version installed on the
HANA.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 67 of 118
Here you see an overview about the installed versions and the version to which it will
be updated.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 68 of 118
After youve clicked Update the SUM will check the components and start the
automated update of the SAP HANA Database, Studio, and Client on the HANA itself.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 69 of 118
Now you have the HANA Studio, Client and Database on the HANA itself updated.
Attention: You have just updated the repository of the Studio, in order to update the
complete Studio, proceed as described on the next sides.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 70 of 118
In Order to update also your local SAP HANA Studio on you PC you have to perfom
additional steps. Navigate to Window > Preferences > Install/Update > Available
Software Sites and add the URL: http://<hostname>:8080/studio_repository and click
reload

Uncheck unneeded Entries, as this will just cause a delay in the update process.
In SPS6 the Repository Path is: http://hostname:80<InstanceNo>/sap/hana/studio

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 71 of 118
Click on the Check for Updates Button in the Help Menu

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 72 of 118
The HANA Studio is now checking the Version of the HANA and downloads all
necessary packages.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 73 of 118
Reconfigure the SAP HANA Database
You can reconfigure you SAP HANA Database in several ways. To do so, click on
Rename SAP HANA System. You will more options than just a plain renaming.
You can:
Change the System ID
Change the Instance Number
Change the Hostname
Change the External Hostname
Change the Data Paths
Change the Log Paths
Change the Database User SYSTEM Password
Change the Home Directory of the Linux User
Change the Login Shell
Change the Linux User ID
Change the Time Zone

You can either start the HLM in the SAP HANA Studio, or you can simply open it in your
webbrowser by typing in: https://<ip>:1129/lmsl/HLM/<SID>/ui/

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 74 of 118
Here you can change everything you want. In this example the hostname was changed
from hana5-int to hana5-chris.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 75 of 118
2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 76 of 118
2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 77 of 118
Installation of a 2nd SAP HANA Database
If you are not running productive Systems on your SAP HANA Appliance, you have the
possibility to install further instances on the Server.

Hanaconfig.sh (SPS5)
To install a SAP HANA Database with the hanaconfig.sh tool (located under the Basis-
Installation DVD under DATA_UNITS/HANA_IM_LINUX__X86_64/ is just possible, if
there is already an installed Version of SAP HANA Available.

Start the tool within VNC with the command: ./hanaconfig.sh --gui

Choose Additional HANA System

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 78 of 118
2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 79 of 118
2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 80 of 118
Set the Memory Allocation according to your wishes

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 81 of 118
After the Allocation change

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 82 of 118
2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 83 of 118
2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 84 of 118
Even though Failed to add additional HANA system is printed on the Screen, the
installation was successfully this is a wrong information provided by the SAP

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 85 of 118
HLM (SPS6 and above)
You can either start the HLM in the SAP HANA Studio, or you can simply open it in your
webbrowser by typing in: https://<ip>:1129/lmsl/HLM/<SID>/ui/

Click on Add SAP HANA System

Click on Next.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 86 of 118
Click on Next (there could be a warning concerning the available memory)
To get to the summary screen or Click Run to start the installation immediately.

Youll get a warning, that the SAP HANA systems have to be restarted in order to apply
the memory changes.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 87 of 118
A progress screen appears and finally:

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 88 of 118
Removing SAP HANA Database Instances
At some point you may want to remove previously installed instances from your SAP
HANA Environment. There are two ways of doing that. With the help of the HLM and
with the ./hdbuninst command, located in every Revision.
WARNING: The HLM can only remove Additional Instances and not the last one
located on your System. With the ./hdbuninst command you can remove all instances
located on your SAP HANA Server.

Remove a 2nd Database


When you have installed a 2nd Database with the HLM or the LCM, you can uninstall it
by using the HLM of the SAP HANA Studio, to do so, open the Lifecycle Manager in your
SAP HANA Studio and Choose Remove SAP HANA System

Choose Remove SAP HANA System

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 89 of 118
Navigate to the Base DVD, most likely located under /hana/shared/install

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 90 of 118
Enter the Memory Distribution for the remaining instances

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 91 of 118
Check the conclusion and hit RUN

Remove the last Database


You can remove all instances located on you SAP HANA Server by running
the ./hdbuninst Command. It will show you all parts installed on you SAP HANA Server
and you can choose which one du uninstall.

Navigate to the Base DVD or a Revision you have located on you HANA Server and run
the ./hdbuninst

hana6:/repository/repository_hana/rev74/SAP_HANA_DATABASE
# ./hdbuninst

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 92 of 118
You get an Overview of all the installed Instances and additional Components like HDB
Studio and HDB Client. You need to uninstall them one by one.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 93 of 118
Installing SAP HANA License
When you have installed your SAP HANA Database you have a three month temporary
license without Limitation. After that period your Database will be online, but locked.
All the Data will be stored.

To Install a SAP HANA License open your SAP HANA Studio and Rightclick on the
Instance Name and Choose Properties

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 94 of 118
In the New Window Choose License

In that screen you will find the Hardware Key, which you need to order a License in the
SAP Portal. When you received your license you can simply click Install License Key
and upload the Textfile youve received.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 95 of 118
Backup
You can choose different ways of creating a backup, depending on your Backup
Strategie you need to choose the way which suits your needs best.

Database Filebackup via SAP HANA Studio


To create a Backup via the Studio, open the Studio

On the left hand side, make a right-click on the Instance-Name and say Backup. A
popup will appear.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 96 of 118
Here you can specify the Path where the Backup needs to be stored. The standard
location is /usr/sap/<SID>/HDB<InstanceNo>/backup/data.
You can only perform complete Data Backups, and no delta loads.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 97 of 118
This is just a summary Screen, here you can see Information about the Instance and
the Destination Path. When you press Finish the Backup will start.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 98 of 118
On that Screen you can follow the Process of the ongoing Backup. If you have a Single-
Server Instance, you will see just one Hostname (here: hana6) with the different
Servers. If youre Backing-up a ScaleOut Solution, you will get the Index-Server on all
the different Hosts (here: hana8)

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 99 of 118
Afterwards you get a conclusion about success or failure of the Backup.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 100 of 118
On the Filesystem you can afterwards see the different Files.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 101 of 118
Database Filebackup via SAP Script Backup
The SAP provided a Script (Note: 1651055) in order to to scheduled Backups. With the
linux shell script one can create data and configuration backups of the SAP HANA
Database from the linux command line. It can be used for scheduling database
backups.

Parameterization of the Script


SID
SAP System ID of the SAP HANA Database
INSTANCE
Instance Number of the SAP HANA Database
HOSTNAME
Hostname (short hostname, not fully qualified)
BACKUP_BASE_DIRECTORY
Base path into which the backup script will write all backups. Can also be on an NHS
share, but needs to be mounted prior the Backup.

For full parameter list, please have a look to the Documentation which is also provided
within the SAP Note.

To run the script, enter a crontab entry:


./backup.sh p q --retention=7

WARNING: You are only able to run one backup a day. Even though you have entered a
rentention of 7 it will overwrite the backup previously taken today.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 102 of 118
Database Backup with Backint Interface
The SAP HANA now supports Backups with the Backint Interface. In Order to perform
backups you need to install the Backup-Agent (e.g. DataProtector 7.3) to the HANA and
set the config-file. After that you can perform Backups directly to the Data Protector
environment.

Filesystem Backup
In Order to have a Backup of the Filesystem-Structure of the SAP HANA Appliance, you
can easily run a script provided by HP. Execute this command on the Server you want
to backup. The backups will be written to /hana/osbackup. In order to create a
consistent backup you may shutdown the HANA Database completely before running
these scripts.

This script will backup the filesystem without the shared filesystem (/sapmnt or
/hana/shared)
/opt/hp-hana/bin/hostbackup.sh

This script will backup the shared filesystem


/opt/hp-hana/bin/sapmntbackup.sh

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 103 of 118
Overview of the SAP HANA Studio
General Overview about the status of the HANA

Running Services

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 104 of 118
Configuration of the HANA

Trace Files. Also Located on the Filesystem under:


/sapmnt/<SID>/HDB<instanceNo>/<hostname>/trace

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 105 of 118
Update the SAP HANA Studio
Your local SAP HANA Studio can be connected to your SAP HANA Database, in order to
get the actual HANA Revision via Repository from the Server. However, sometimes you
will run into trouble because of Network Problems (Routes, Swtiches, Ports,)

Please be also aware, that you can connect your local SAP HANA Studio just to one
Instance of the Server. So if youre running multiple Instances with different Revision
Numbers, you will always get that Revision installed to which you connect your SAP
HANA Studio to.

The Actual Version of this Example is Revision 72:


Help > About SAP HANA Studio

If your network setup is correct, you can easily update your local SAP HANA Studio. To
do so, open your Studio and Navigate to:

Window > Preferences > Install/Update > Available Software Sites

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 106 of 118
Depending on your actual Revision you will see here Kepler and other eclipse-based
Download sites. However, you might not reach all of them.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 107 of 118
To update the Eclipse part of your SAP HANA Studio, close that Window again and
Choose Help > Check for Updates

Eclipse will now Download the necessary Files from the Internet.
You need to have a Connection to the Internet to do so. You might need to change your
Network Settings if you are using a Proxy-Server
Window > Preferences > General > Network Settings

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 108 of 118
If there are available Downloads, your SAP HANA Studio will automatically Install it. If
your eclipse part is up to date, you will get this Information.

Now go back to the Available Software Sites under:


Window > Preferences > Install/Update > Available Software Sites

Add a new Software Site.

Enter a desired name and point the Location to your HANA. The Syntax is:
http://<IP>:80<InstNo>/sap/hana/studio. Hit OK.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 109 of 118
Click the Reload-Button so that the Studio will connect to your HANA. It will now try to
reach the repository of your Instance.

The Studio now checks the repository of your Instance

If you have a connection to your HANA, this message will be prompted.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 110 of 118
This is the error you get, when you have troubles with your network. Please ask your
Network-Specialist, which connection route you need to take (Proxy-Server, direct) in
Order to get access to the repository.
Sometimes you also get that error-message when your Eclipse-Part of your SAP HANA
Studio is not up to date. Please always update Kepler (and sometimes other Web-
Links of Eclipse) first.

Close the Software Site Window and navigate again to Help > Check for Updates

It is checking now the Kepler-Site again (wont find anything new) and the Repository
of the Instance 00

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 111 of 118
This are the parts which can be updated.

Here you see a summary of what components will be updated in your local SAP HANA
Studio

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 112 of 118
Accept the Terms and Click Finish.

Your SAP HANA Studio will now Download the Repository from the SAP HANA Server.
This can take some time.

At some part you will get an error message, saying that the content is not signed. Click
OK

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 113 of 118
The Studio needs a restart, so that the Repository can be loaded.

Help > About SAP HANA Studio

My local SAP HANA Studio now runs under Revision 73, just like the SAP HANA
Database.

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 114 of 118
Processes within the SAP HANA

Nameserver:
The Nameserver is the main dictionary for the SAP HANA. It keeps the servername and
the system catalogue; It also holds the topology of the SAP HANA Database (like the
control file in an Oracle Database).

Preprocessor:
The pre-processor parses the SQL Statements

Indexserver:
The Indexserver is the main server. It is responsible for the Client Connection and for
all the tables but the system tables. The Studio also connects to the Indexserver.

Statisticserver:
In general it is an Indexserver with additional statistic functionality. You can deactivate
the Statistikserver within SPS7. With the help of parametrization, the Indexserver can
takeover the work. (For further Information please have a look at the SAP HANA Master
Guide)

xsEngine:
HTTP-Protocoll Server for implementing http-parts to run on SAP HANA

Directory Structures (SPS5)


Software Update Manager: /sapmnt/<SID>/SUM
Home of the SIDadm: /usr/sap/<SID>/home
Software Directory: /sapmnt/<SID>/HDB<InstanceNo>
Backup Directory: /sapmnt/<SID>/backup
Executables: /sapmnt/<SID>/exe
Trace files: /sapmnt/<SID>/<hostname>/trace
Data Directory: /HANA/IMDB-data/<SID>
Log Directory: /HANA/IMDB-log/<SID>

Directory Structures (SPS6 and above)


Software Lifecycle Manager: /hana/shared/<SID>/HLM
Home of the SIDadm: /usr/sap/<SID>/home
Software Directory: /hana/shared/<SID>/HDB##
Backup Directory: /hana/shared/<SID>/HDB##/backup
Executables: /hana/shared/<SID>/exe
Trace files: /hana/shared/<SID>/HDB##/<hostname>/trace
Data Directory: /hana/data/<SID>
Log Directory: /hana/log/<SID>

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 115 of 118
HDB Userstore
The HDB user store manages the connection between the BW System (or other
external Components) and the SAP HANA Database. It is part of the SAP HANA Client,
which is also installed on you SAP HANA Server.

You can enter Credentials and a user to handle a connection to your HANA (e.g. to open
an HANA SQL-Connection to your Database on Operating-System Level.

In order to Add Entries please navigate to:

hana6:/hana/shared/T66/hdbclient #

Parameter you should know:


./hdbuserstore LIST shows the actual values
./hdbuserstore SET sets a new connectionstring to the datfile

In Order to Register your SYSTEM User in the hdbuserstore please use:

hana6:/hana/shared/T66/hdbclient # ./hdbuserstore SET KEY


<host>:3<InstNo>15 SYSTEM <PASSWORD>

With the command ./hdbuserstore LIST you will now see the new entry

HANA SQL
Go to the Blade where the hdbclient is installed.
Navigate to the client, which is located under: /sapmnt/<SID>/hdbclient

So start the SQL:


If you have setup the hdbuserstore on your HANA, you can simply enter:

hana6:/hana/shared/T66/hdbclient # ./hdbsql U <KEY>

If you havent set it up you can login by using

hana6:/hana/shared/T66/hdbclient # ./hdbsql -u SYSTEM -p


<PASSWORD> -n <host>:3<InstNo>15

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 116 of 118
SAP HANA Commands (sidadm)
HDB info: Gives you an information about the actual state of the HANA and which
pocesses are running
HDB version: Shows you the installed Version of the HANA
HDB stop: Stops the actual Blade (not the whole instance)
HDB start: Starts the actual Blade (not the whole instance)

SAP HANA Commands (root)


(under dir /usr/sap/hostctrl/exe)

hana6:/usr/sap/hostctrl/exe # ./sapcontrol -prot NI_HTTP


-nr <InstanceNo> -function GetProcessList

Status of a specific instance

hana6:/usr/sap/hostctrl/exe # ./sapcontrol .prot NI_HTTP


-nr <InstanceNo> -function StartSystem HDB

Start of the whole Instance (If ScaleOut, all Blades)

hana6:/usr/sap/hostctrl/exe # ./sapcontrol .prot NI_HTTP


-nr <InstanceNo> -function StopSystem HDB

Stop of the whole Instance (If ScaleOut, all Blades)

hana6:/usr/sap/hostctrl/exe # ./sapcontrol -prot NI_HTTP


-nr 15 -function GetSystemInstanceList

See on which Blades an Instance is installed, and whether the Services are running

hana6:/usr/sap/hostctrl/exe # ./saphostexec -restart

Restart Host-Control

hana6:/etc/init.d # sapinit {start|stop|status|restart}


hana6:/ # service sapinit {start|stop|status|restart}

Restart SAP HOST Agent (Will drop all running Database Instances)

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 117 of 118
hana6:/ # echo b > /proc/sysrq-trigger

Restarts the whole Blade


Do just use, if you know what you are doing!
This command can be used for a Hardware Failover Test. It will IMMEDIATELY restart
your blade, you wont get back any prompt

2014 Hewlett-Packard GmbH. The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying such products and services.
Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein. This Document was created by HP ES A&DM ch@hp.com
Page 118 of 118

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