SAP HANA Client Installation and Update Guide

SAP HANA Client Installation and Update Guide
PUBLIC
SAP HANA Platform SPS 12
Document Version: 1.0 – 2016-05-11
SAP HANA Client Installation and Update Guide
Reduced SAP HANA Client for Third-Party Cloud Applications
Content
1
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1
Supported Platforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2
SAP HANA Client on UNIX or Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1
Planning on UNIX or Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Available Clients on UNIX or Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Default Installation Paths for UNIX or Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2
Installing the SAP HANA Client on UNIX or Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Install the SAP HANA Client on UNIX or Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Logging the Installation on UNIX or Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
2.3
Uninstalling the SAP HANA Client on UNIX or Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Uninstall on UNIX or Linux in Interactive Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Uninstall on UNIX or Linux in Batch Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3
SAP HANA Client on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.1
Planning on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Available Clients on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Default Installation Paths for Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2
Installing the SAP HANA Client on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Install the SAP HANA Client on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Logging the Installation on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3
Uninstall the SAP HANA Client on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4
Command and Call Option Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
SAP HANA Client Installation and Update Guide
Content
1
Introduction
SAP HANA provides client interfaces for connecting applications as part of the SAP HANA client software
package. The SAP HANA client can be installed on both UNIX/Linux and Microsoft Windows operating
systems.
1.1
Supported Platforms
The SAP HANA client software can be installed on various platforms.
The following platform types are supported:
● Linux (x86, x86_64, Power PC BE, IA64, zSeries 64-bit)
● Microsoft Windows (x86, x64)
SAP HANA Client Installation and Update Guide
Introduction
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
3
2
SAP HANA Client on UNIX or Linux
The SAP HANA client can be installed or uninstalled on supported UNIX and Linux operating systems.
2.1
Planning on UNIX or Linux
Before installing the SAP HANA client on a supported UNIX or Linux operating system, review the available
supported clients and the default installation paths.
2.1.1 Available Clients on UNIX or Linux
When you install the SAP HANA client software package, supported clients are installed and available.
The clients available on UNIX and Linux platforms are as follows:
● ODBC
When using unixODBC, install release 2.3.0 or higher (check with command isql --version).
● JDBC
● Python (PyDBAPI)
● Node.js
● Ruby
2.1.2 Default Installation Paths for UNIX or Linux
The SAP HANA client software is unpacked to a default path during installation, depending on the platform
type and user. Change the default value can by using the path call option.
Note
If you do not specify an installation path during installation, then the following default values apply:
Table 1:
Platform
Package Version
Installation Path
Linux x86, 32-bit
32-bit
/usr/sap/hdbclient
Linux x86, 64-bit
64-bit
/usr/sap/hdbclient
4
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
SAP HANA Client Installation and Update Guide
SAP HANA Client on UNIX or Linux
Platform
Package Version
Installation Path
Linux x86, 64-bit
32-bit
/usr/sap/hdbclient32
When installing the SAP HANA client without administrative rights, the installed SAP HANA client is only
available to the user who installed it, and the default installation folder is <$HOME>/sap/hdbclient.
Related Information
Command and Call Option Reference [page 12]
2.2
Installing the SAP HANA Client on UNIX or Linux
The SAP HANA client can be installed on the command line.
Until SAP HANA SPS 06, the installation of the SAP HANA client was performed as root user. As of SAP HANA
SPS 07, the installation of the SAP HANA client can also be performed without administrative rights and is only
available to the user who installed it.
2.2.1 Install the SAP HANA Client on UNIX or Linux
Install the SAP HANA client on the command line.
Procedure
1. Download and extract the software to an empty directory.
2. Open a shell and go to the directory where you unpacked the software.
3. Call the program hdbsetup (GUI installation) or hdbinst (command-line installation) by entering the
following command:
Option
Command line
Description
./hdbinst [-a client] [<option list>]
You can omit the call option -a client if you only have one installation kit (one installation variant) on
your system.
4. Follow the instructions displayed by the installation tool.
SAP HANA Client Installation and Update Guide
SAP HANA Client on UNIX or Linux
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
5
5. For the environment of users that will use the client, including the user <sid>adm, add the installation
path to the library path environment variable:
Operating System
Library Path Environment Variable
Linux
LD_LIBRARY_PATH
For information on how to set environment variables, see your operating system documentation.
Results
The client software is installed.
2.2.2 Logging the Installation on UNIX or Linux
The SAP HANA client installation is logged by the system. There are two log files written during installation.
● *.log: can be read using a text editor
● *.msg: XML format for the display in the installation tool with the graphical user interface
The log files are stored here:
/var/tmp/hdb_client_<timestamp>
2.3
Uninstalling the SAP HANA Client on UNIX or Linux
Each installation has its own uninstallation tool. Use the hdbuninst program of the software package for which
you want to uninstall the client software.
2.3.1 Uninstall on UNIX or Linux in Interactive Mode
Each installation has its own uninstallation tool. Use the hdbuninst program of the software package for which
you want to uninstall the client software. Interactive mode requires call options to be accepted or changed
during installation. Defaults are offered for some call options.
Prerequisites
You are logged on to the host where the client software is installed.
6
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
SAP HANA Client Installation and Update Guide
SAP HANA Client on UNIX or Linux
Procedure
1. Open a shell and go to the directory where you unpacked the software for this installation.
2. Enter the following command:
./hdbuninst
3. Enter the ID of the client software installation and press Enter .
Results
The client software is removed from this host.
2.3.2 Uninstall on UNIX or Linux in Batch Mode
Each installation has its own uninstallation tool. Use the hdbuninst program of the software package for which
you want to uninstall the client software. Batch mode runs the installation without interaction. Required call
options must be specified with the command; defaults are accepted for all un-specified call options.
Context
To call the hdbuninst program in batch mode, specify the installation path of the client software using the –
path option.
If you omit the installation path, the program does not run in batch mode but instead queries the installation
ID.
Procedure
1. Open a shell and go to the directory where you unpacked the software for this installation.
2. Enter the following command:
./hdbuninst --path <installation path> -b
Results
The client software is removed from this host.
SAP HANA Client Installation and Update Guide
SAP HANA Client on UNIX or Linux
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
7
3
SAP HANA Client on Windows
The SAP HANA client can be installed or uninstalled on supported Windows operating systems.
3.1
Planning on Windows
Before installing the SAP HANA client on Windows, review the available supported clients and the default
installation paths.
3.1.1 Available Clients on Windows
When you install the SAP HANA client software package, supported clients are installed and available.
The clients available on Microsoft Windows platforms are as follows:
● ODBC
● JDBC
● Python (PyDBAPI)
● Node.js
● Ruby
3.1.2 Default Installation Paths for Windows
The SAP HANA client software is unpacked to a default path during installation, depending on the platform
type and user. The default value can be changed by using the path call option.
Note
If you do not specify an installation path during installation, then the following default values apply:
Table 2:
Platform
Package Version
Installation Path
Microsoft Windows x86, 32-bit
32-bit
C:\Program Files\sap
\hdbclient
8
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
SAP HANA Client Installation and Update Guide
SAP HANA Client on Windows
Platform
Package Version
Installation Path
Microsoft Windows x86, 64-bit
64-bit
C:\Program Files\sap
\hdbclient
Microsoft Windows x86, 64-bit
32-bit
C:\Program Files (x86)\sap
\hdbclient
When installing the SAP HANA client without administrative rights, the installed SAP HANA client is only
available to the user who installed it, and the default installation folder is <%USERPROFILE%>\sap
\hdbclient.
Related Information
Command and Call Option Reference [page 12]
3.2
Installing the SAP HANA Client on Windows
The SAP HANA client can be installed on the command line.
Until SAP HANA SPS 06, the installation of the SAP HANA client was performed as administrator. As of SAP
HANA SPS 07, the installation of the SAP HANA client can also be performed without administrative rights and
is only available to the user who installed it.
3.2.1 Install the SAP HANA Client on Windows
Install the SAP HANA client on the command line.
Procedure
1. Download and extract the software to an empty directory.
2. Open a command prompt and go to the directory where you unpacked the software.
3. Call the program hdbsetup (GUI installation) or hdbinst (command-line installation) by entering the
following command:
SAP HANA Client Installation and Update Guide
SAP HANA Client on Windows
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
9
Option
Command line
Description
hdbinst [-a client] [<option list>]
If you only have one installation kit (one installation variant) on your system, then you can omit the call
option -a client.
4. Follow the instructions displayed by the installation tool.
5. Add the installation path to the PATH environment variable.
For information on setting environment variables, see the documentation for your operating system.
Results
The client software is installed.
3.2.2 Logging the Installation on Windows
The SAP HANA client installation is logged by the system. There are two log files written during installation.
● *.log: can be read using a text editor
● *.msg: XML format for the display in the installation tool with the graphical user interface
The log files are stored here:
%TEMP%\hdb_client_<time stamp>
3.3
Uninstall the SAP HANA Client on Windows
Each installation has its own uninstallation tool. Use the hdbuninst program of the software package for which
you want to uninstall the client software.
Procedure
1. Open a command prompt and go to the directory where you unpacked the software for this installation.
2. Enter the following command:
hdbuninst
3. Enter the installation ID assigned to the client software installation and press Enter .
10
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
SAP HANA Client Installation and Update Guide
SAP HANA Client on Windows
Results
The client software is removed from this host.
Note
You can also use the standard Windows functionality
to remove the client software.
SAP HANA Client Installation and Update Guide
SAP HANA Client on Windows
Start
Control Panel
Add or remove programs
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
11
4
Command and Call Option Reference
The SAP HANA installation tool, hdbinst, can be called on the command line in combination with call options.
Table 3: Commands
Operating System
Syntax
UNIX or Linux
./hdbinst [-a client] [<option list>]
<option list> :: = <option> <option> ...
Microsoft Windows
hdbinst [-a client] [<option list>]
<option list> :: = <option> <option> ...
The following call options can be used in combination with the call to the SAP HANA lifecycle management tool
hdbinst.
archive_dir
Description
Specifies the installation variant - a directory containing the installation kit.
Syntax
In the command line, the following syntax is used:
--archive_dir=<dir>
or, in short form:
-a <dir>
Remarks
The default for this parameter is --archive_dir=server. If the server installation kit
is not present, default values are (in order): client, studio.
batch
Description
12
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
SAP HANA Client Installation and Update Guide
Command and Call Option Reference
Runs the SAP HANA lifecycle management tool from the command line in batch mode
using default values for unspecified parameters. If mandatory values are omitted or if
invalid values are specified, the program issues an error message.
Syntax
In the command line, the following syntax is used:
--batch
or, in short form:
-b
check_files
Description
Checks whether components of the installation kit are already installed on this host.
Syntax
In the command line, the following syntax is used:
--check_files
configfile
Description
Loads a configuration file of call option key-value pairs to be passed to the SAP HANA
lifecycle management program.
Syntax
In the command line, the following syntax is used:
--configfile=<file path>
Remarks
The configuration file makes installation and configuration tasks more efficient and
reliable. For more information, see Related Information.
This complement to this call option is the call option dump_configfile_template.
dump_configfile_template
Description
SAP HANA Client Installation and Update Guide
Command and Call Option Reference
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
13
Specifies a file path to which a template configuration file is exported. The call options
in the template configuration file are set to their default values, and can be edited.
Syntax
In the command line, the following syntax is used:
--dump_configfile_template=<file path>
Remarks
The configuration file makes installation and configuration tasks more efficient and
reliable. For more information, see Related Information.
This complement to this call option is the call option configfile.
help
Description
Displays the inline help information.
Syntax
In the command line, the following syntax is used:
--help
or, in short form:
-h
Remarks
A general help output is available for all SAP HANA lifecycle management programs.
Task-specific help output is available for some programs. Refer to the task
documentation for more details.
hostname
Description
Specifies the host name of the machine.
Syntax
In the command line, the following syntax is used:
--hostname=<host name>
or, in short form:
-H <host name>
14
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
SAP HANA Client Installation and Update Guide
Command and Call Option Reference
Remarks
Restrictions apply to host names in SAP systems. For more information, see SAP Note
661361.
The default for this parameter is the host name of the current machine.
ignore
Description
Ignores failing prerequisite checks. Refer to the inline help output for program-specific
checks that can be ignored.
Syntax
In the command line, the following syntax is used:
--ignore=<check1>[,<check2>]...
list_packages
Description
Displays available software components and their versions.
Syntax
In the command line, the following syntax is used:
--list_packages
or, in short form:
-l
list_systems
Description
Displays a list of the installed SAP HANA systems on the current host, including the
SAP system ID (SID), instance number, version number, and hosts.
Syntax
In the command line, the following syntax is used:
--list_systems
SAP HANA Client Installation and Update Guide
Command and Call Option Reference
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
15
or, in short form:
-L
no_debug_packages
Description
Suppresses the installation of debug packages.
Syntax
In the command line, the following syntax is used:
--no_debug_packages
path
Description
Specifies the installation path of a client or studio installation.
Syntax
In the command line, the following syntax is used:
--path=<path>
or, in short form:
-p <path>
Remarks
The default for this parameter is --path=/usr/sap/hdbclient or -path=/usr/sap/hdbstudio.
This parameter is available in interactive mode.
sapmnt
Description
Specifies the path to the SAP mount directory, which can be used as a shared directory
between multiple hosts.
Syntax
In the command line, the following syntax is used:
--sapmnt=<installation path>
16
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
SAP HANA Client Installation and Update Guide
Command and Call Option Reference
Remarks
The default for this parameter is --sapmnt=/hana/shared.
sid
Description
Specifies a system ID. The SAP system ID (SID) is the identifier for the SAP HANA
system.
Syntax
In the command line, the following syntax is used:
--sid=<SID>
or, in short form:
-s <SID>
version
Description
Displays the version of the SAP HANA lifecycle management tool.
Syntax
In the command line, the following syntax is used:
--version
or, in short form:
-v
Related Information
Default Installation Paths for UNIX or Linux [page 4]
Default Installation Paths for Windows [page 8]
SAP HANA Client Installation and Update Guide
Command and Call Option Reference
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
17
Important Disclaimer for Features in SAP
HANA Platform, Options and Capabilities
SAP HANA server software and tools can be used for several SAP HANA platform and options scenarios as
well as the respective capabilities used in these scenarios. The availability of these is based on the available
SAP HANA licenses and the SAP HANA landscape, including the type and version of the back-end systems the
SAP HANA administration and development tools are connected to. There are several types of licenses
available for SAP HANA. Depending on your SAP HANA installation license type, some of the features and
tools described in the SAP HANA platform documentation may only be available in the SAP HANA options and
capabilities, which may be released independently of an SAP HANA Platform Support Package Stack (SPS).
Although various features included in SAP HANA options and capabilities are cited in the SAP HANA platform
documentation, each SAP HANA edition governs the options and capabilities available. Based on this,
customers do not necessarily have the right to use features included in SAP HANA options and capabilities.
For customers to whom these license restrictions apply, the use of features included in SAP HANA options and
capabilities in a production system requires purchasing the corresponding software license(s) from SAP. The
documentation for the SAP HANA optional components is available in SAP Help Portal at http://
help.sap.com/hana_options. If you have additional questions about what your particular license provides, or
wish to discuss licensing features available in SAP HANA options, please contact your SAP account team
representative.
18
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
SAP HANA Client Installation and Update Guide
Important Disclaimer for Features in SAP HANA Platform, Options and Capabilities
Important Disclaimers and Legal Information
Coding Samples
Any software coding and/or code lines / strings ("Code") included in this documentation are only examples and are not intended to be used in a productive system
environment. The Code is only intended to better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and
completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, unless damages were caused by SAP
intentionally or by SAP's gross negligence.
Accessibility
The information contained in the SAP documentation represents SAP's current view of accessibility criteria as of the date of publication; it is in no way intended to be
a binding guideline on how to ensure accessibility of software products. SAP in particular disclaims any liability in relation to this document. This disclaimer, however,
does not apply in cases of wilful misconduct or gross negligence of SAP. Furthermore, this document does not result in any direct or indirect contractual obligations of
SAP.
Gender-Neutral Language
As far as possible, SAP documentation is gender neutral. Depending on the context, the reader is addressed directly with "you", or a gender-neutral noun (such as
"sales person" or "working days") is used. If when referring to members of both sexes, however, the third-person singular cannot be avoided or a gender-neutral noun
does not exist, SAP reserves the right to use the masculine form of the noun and pronoun. This is to ensure that the documentation remains comprehensible.
Internet Hyperlinks
The SAP documentation may contain hyperlinks to the Internet. These hyperlinks are intended to serve as a hint about where to find related information. SAP does
not warrant the availability and correctness of this related information or the ability of this information to serve a particular purpose. SAP shall not be liable for any
damages caused by the use of related information unless damages have been caused by SAP's gross negligence or willful misconduct. All links are categorized for
transparency (see: http://help.sap.com/disclaimer).
SAP HANA Client Installation and Update Guide
Important Disclaimers and Legal Information
PUBLIC
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
19
go.sap.com/registration/
contact.html
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any
form or for any purpose without the express permission of SAP SE
or an SAP affiliate company. The information contained herein may
be changed without prior notice.
Some software products marketed by SAP SE and its distributors
contain proprietary software components of other software
vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company
for informational purposes only, without representation or warranty
of any kind, and SAP or its affiliated companies shall not be liable for
errors or omissions with respect to the materials. The only
warranties for SAP or SAP affiliate company products and services
are those that are set forth in the express warranty statements
accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well
as their respective logos are trademarks or registered trademarks
of SAP SE (or an SAP affiliate company) in Germany and other
countries. All other product and service names mentioned are the
trademarks of their respective companies.
Please see http://www.sap.com/corporate-en/legal/copyright/
index.epx for additional trademark information and notices.
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising