Академический Документы
Профессиональный Документы
Культура Документы
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
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
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
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:
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
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 the Location where the Home Directory of the sidadm should be located (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.
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.
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.
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
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
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]
[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=
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
[LifecycleManager]
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]
[Studio]
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
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
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.
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)
hana5:/hana/shared/<SID>/global/hdb/install/bin
# ./hdbaddhost
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
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.
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
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
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
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
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
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
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.
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
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 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.
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
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.
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.
For full parameter list, please have a look to the Documentation which is also provided
within the SAP Note.
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
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
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.
If your network setup is correct, you can easily update your local SAP HANA Studio. To
do so, open your Studio and Navigate to:
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.
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.
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.
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
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.
hana6:/hana/shared/T66/hdbclient #
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
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)
See on which Blades an Instance is installed, and whether the Services are running
Restart Host-Control
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
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