sap hana client installation update guide en

Upload: chimpi

Post on 13-Oct-2015

44 views

Category:

Documents


0 download

TRANSCRIPT

  • PUBLICSAP HANA Platform SPS 07Document Version: 1.0 - 13-03-2014

    SAP HANA Database - Client Installation and Update Guide

  • Table of Contents1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.1 Supported Platforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.2 SAP HANA Guides. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.3 SAP Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41.4 Software Download. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    2 Planning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62.1 Planning on UNIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

    2.1.1 Available Clients on UNIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62.1.2 Default Installation Paths for UNIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

    2.2 Planning on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62.2.1 Available Clients on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62.2.2 Default Installation Paths for Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

    3 Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83.1 Installation on UNIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

    3.1.1 Install the Client on UNIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83.1.2 Logging the Installation on UNIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

    3.2 Installation on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93.2.1 Install the Client on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93.2.2 Logging the Installation on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

    3.3 Commands and Call Options for Client Installation with hdbinst. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

    4 Additional Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134.1 Uninstallation of the Client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134.2 Uninstallation on UNIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

    4.2.1 Uninstall on UNIX in Interactive Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134.2.2 Uninstall on UNIX in Batch Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

    4.3 Uninstall on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

    5 Important Disclaimers on Legal Aspects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

    2P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved.

    SAP HANA Database - Client Installation and Update GuideTable of Contents

  • 1 IntroductionUntil SAP HANA SPS 06, the installation of the SAP HANA client was performed as administrator (Windows) or root user (Linux). As of SAP HANA SPS 07, the installation of the SAP HANA client can also be performed without administration rights or being a root user. When installing the SAP HANA client without administrative rights the installed SAP HANA client is only available to the user who installed it. The default installation folder for MS Windows is %USERPROFILE%\sap\hdbclient and for Linux is $HOME/sap/hdbclient.

    1.1 Supported PlatformsThe following platform types are supported: AIX HP-UX Linux Microsoft Windows SolarisFor more information about supported platforms, see the tabs Operating Systems Clients for your release in the SAP Product Availability Matrix (PAM) .

    1.2 SAP HANA GuidesLinks are provided here to documentation for the current Support Package Stack of the SAP HANA Platform Edition, on the SAP Help Portal, and for previous Support Package Stacks, on the SAP HANA Knowledge Center on SAP Service Marketplace.For information about SAP HANA landscape, security, installation, and administration, see the resources listed below:Topic Location Quick Link

    SAP HANA landscape, deployment, and installation

    SAP HANA Knowledge Center on the SAP Help Portal

    http://help.sap.com/hana_platform: SAP HANA Master Guide SAP HANA Server Installation Guide SAP HANA Master Update Guide SAP HANA Update and Configura

    tion Guide

    SAP HANA administration and security

    SAP HANA Knowledge Center on the SAP Help Portal

    http://help.sap.com/hana_platform:

    SAP HANA Database - Client Installation and Update GuideIntroduction

    P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved. 3

  • Topic Location Quick Link

    SAP HANA Technical Operations Manual

    SAP HANA Administration Guide SAP HANA Security Guide

    SAP HANA documentation for previous Support Package Stacks

    SAP HANA Knowledge Center on SAP Service Marketplace

    https://service.sap.com/hana

    1.3 SAP NotesSAP Note Description

    1577128 Supported clients for SAP HANA

    1.4 Software DownloadIn the SAP Software Download Center, you have access to the installation media and components for SAP HANA.You can find the installation media and components for SAP HANA in the following locations: Installation media for an SAP HANA SPS:

    SAP Software Download Center Installations and Upgrades A-Z Index Installations and Upgrades - HSAP In-Memory (SAP HANA) HANA Platform Edition SAP HANA PLATFORM EDITION SAP HANA PLATFORM EDIT. 1.0 Installation

    Support Packages and Patches for SAP HANA:SAP Software Download Center Support Packages and Patches A-Z Index Installations and Upgrades

    - H SAP HANA PLATFORM EDITION SAP HANA PLATFORM EDIT. 1.0The responsibility for acquiring and installing SAP HANA depends on the chosen deployment model: If a customer chooses the SAP HANA tailored data center integration, the components of SAP HANA have

    to be installed on validated hardware by a certified administrator. If a customer chooses an SAP HANA appliance, the components of SAP HANA can only be installed by

    certified hardware partners on validated hardware running a specific operating system. Any other system or content developed with systems of this type is not supported by SAP. For more information, see the information page of the product version. Support Package Stacks (SPS) can be downloaded and applied to appliances in accordance with agreements with the respective hardware partner.

    4P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved.

    SAP HANA Database - Client Installation and Update GuideIntroduction

  • Related Information

    SAP Software Download Center

    SAP HANA Database - Client Installation and Update GuideIntroduction

    P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved. 5

  • 2 Planning

    2.1 Planning on UNIX

    2.1.1 Available Clients on UNIX

    When you install the client software package, the following clients are installed: SQLDBC ODBC

    When using unixODBC, install release 2.3.0 or higher (check with command isql --version). JDBC

    2.1.2 Default Installation Paths for UNIX

    Note: If you do not specify an installation path during installation, the following default values apply:

    Platform Package Version Installation Path

    Linux x86, 32-bit 32-bit /usr/sap/hdbclient

    Linux x86, 64-bit 64-bit /usr/sap/hdbclient

    Linux x86, 64-bit 32-bit /usr/sap/hdbclient32

    Other platforms - /usr/sap/hdbclient

    2.2 Planning on Windows

    2.2.1 Available Clients on Windows

    When you install the client software package, the following clients are installed: SQLDBC ODBO ODBC JDBC

    6P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved.

    SAP HANA Database - Client Installation and Update GuidePlanning

  • NoteTo access the SAP HANA database from Microsoft Excel, you can install the 32-bit SAP HANA client for Microsoft Excel. This is a self-extracting archive, which you can install independently of the other Windows clients. It uses an ODBC driver.

    For more information on the supported clients for SAP HANA, see 1577128 .

    2.2.2 Default Installation Paths for WindowsNote: If you do not specify an installation path during installation, the following default values apply:

    Platform Package Version Installation Path

    Microsoft Windows x86, 32-bit 32-bit C:\Program Files\sap\hdbclient

    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

    SAP HANA Database - Client Installation and Update GuidePlanning

    P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved. 7

  • 3 Installation

    3.1 Installation on UNIX

    3.1.1 Install the Client on UNIX

    Prerequisites

    You need a local X11 graphical environment and an X server on the machine where you perform the installation.

    Context

    To install the SAP HANA database client software:

    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 one of the

    following commands:Option DescriptionGUI ./hdbsetup [-a client]Command line ./hdbinst [-a client] []

    You can omit the call option -a client if you only have one installation kit - that is, one installation variant - on your system.

    4. Follow the instructions displayed by the installation tool.5. Add the installation path to the library path environment variable for all users of the client, including the user

    adm. The library path environment variable differs according to the operating system: Operating System Library Path Environment VariableAIX LIBPATHHP-UX SHLIB_PATHLinux LD_LIBRARY_PATH Solaris LD_LIBRARY_PATH

    For information on how to set environment variables, see your operating system documentation.

    8P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved.

    SAP HANA Database - Client Installation and Update GuideInstallation

  • Results

    The client software is installed.

    Related Information

    Commands and Call Options for Client Installation with hdbinst [page 10]

    3.1.2 Logging the Installation on UNIXThe 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 interfaceThe log files are stored here:/var/tmp/hdb_client_

    3.2 Installation on Windows

    3.2.1 Install the Client on Windows

    Context

    To install the client software on Windows:

    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 one of the

    following commands:Option DescriptionGUI hdbsetup [-a client]Command line hdbinst [-a client] []

    SAP HANA Database - Client Installation and Update GuideInstallation

    P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved. 9

  • You can omit the call option -a client if you only have one installation kit - that is, one installation variant - on your system.

    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.6. To install the 32-bit SAP HANA client for Microsoft Excel, double-click the self-extracting file

    HDBCLIENTXLS.exe and follow the instructions in the installation manager.

    Results

    The client software is installed.

    Related Information

    Commands and Call Options for Client Installation with hdbinst [page 10]

    3.2.2 Logging the Installation on WindowsThe 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 interfaceThe log files are stored here:%TEMP%\hdb_client_

    3.3 Commands and Call Options for Client Installation with hdbinstTable 1: CommandsOperating System Syntax

    UNIX ./hdbinst [-a client] [] :: = ...

    Microsoft Windows hdbinst [-a client] []

    10P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved.

    SAP HANA Database - Client Installation and Update GuideInstallation

  • Operating System Syntax

    :: = ...

    Table 2: Call OptionsOption - Long Option - Short Description--archive_dir= -a Installation variant - specifies the directory con

    taining the installation kit. For the client installation, specify -a client.

    NoteYou can omit this call option if you only have one installation kit - that is, one installation variant - on your system. This is generally the case when you are installing from the DVD or from SAP Service Marketplace.

    --batch -b Runs the program in batch mode using default values for any relevant call options that are not specified

    --check_files Checks whether components of the installation kit are already installed on this host

    --configfile= Specifies a configuration file for using a preconfigured setupThe file must be in regular ini file format.The specified name is interpreted by the installation program as relative to the installation directory. If the installation kit is located on a read-only file system (for example DVD), specify the absolute path to the configuration file.

    --help -h Displays the list of installation options--hostname= -H Specifies a virtual host name

    If this option is not specified on the command line, the value is taken from the entry Hostname in the file /install/installation.ini (UNIX) or \install\installation.ini (Windows), if present.Default: system host name, as returned by the operating system command hostname. This is

    SAP HANA Database - Client Installation and Update GuideInstallation

    P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved. 11

  • Option - Long Option - Short Description

    generally the computer name without domain suffix.

    --list_packages -l Displays available software components and their versions

    --list_systems Displays a list of the installed SAP HANA systems, clients and studio on the host

    --no_debug_packages Suppresses the installation of debug packages--path= Specifies the installation path

    The default values are given here:Default Installation Paths for UNIX [page 6]Default Installation Paths for Windows [page 7]

    --version -v Displays the version of the installation program

    12P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved.

    SAP HANA Database - Client Installation and Update GuideInstallation

  • 4 Additional Information4.1 Uninstallation of the ClientEach installation has its own uninstallation tool.Use the hdbuninst program of the software package for which you want to uninstall the client software.

    4.2 Uninstallation on UNIX

    4.2.1 Uninstall on UNIX in Interactive ModePrerequisites

    You are logged on to the host where the client software is installed.

    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.

    4.2.2 Uninstall on UNIX in Batch ModeContext

    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.

    SAP HANA Database - Client Installation and Update GuideAdditional Information

    P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved. 13

  • 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 -b

    4.3 Uninstall on WindowsProcedure

    1. Open a command prompt and go to the directory where you unpacked the software for this installation.2. Enter the following command:

    hdbuninst3. Enter the installation ID assigned to the client software installation and press Enter.

    Results

    The client software is removed from this host.

    NoteYou can also use the standard Windows functionality Start Control Panel Add or remove programs to remove the client software.

    14P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved.

    SAP HANA Database - Client Installation and Update GuideAdditional Information

  • 5 Important Disclaimers on Legal AspectsThis document is for informational purposes only. Its content is subject to change without notice, and SAP does not warrant that it is error-free. SAP MAKES NO WARRANTIES, EXPRESS OR IMPLIED, OR OF MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.Coding SamplesAny 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.AccessibilityThe 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 specifically disclaims any liability with respect to this document and no contractual obligations or commitments are formed either directly or indirectly by this document.Gender-Neutral LanguageAs 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 HyperlinksThe 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. Regarding link classification, see: http://help.sap.com/disclaimer

    SAP HANA Database - Client Installation and Update GuideImportant Disclaimers on Legal Aspects

    P U B L I C 2014 SAP AG or an SAP affiliate company. All rights reserved. 15

  • www.sap.com/contactsap

    2014 SAP AG 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 AG. The information contained herein may be changed without prior notice.Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. National product specifications may vary.These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.Please see http://www.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.

    SAP HANA Database - Client Installation and Update GuideTable of Contents1 Introduction1.1 Supported Platforms1.2 SAP HANA Guides1.3 SAP Notes1.4 Software Download

    2 Planning2.1 Planning on UNIX2.1.1 Available Clients on UNIX2.1.2 Default Installation Paths for UNIX

    2.2 Planning on Windows2.2.1 Available Clients on Windows2.2.2 Default Installation Paths for Windows

    3 Installation3.1 Installation on UNIX3.1.1 Install the Client on UNIX3.1.2 Logging the Installation on UNIX

    3.2 Installation on Windows3.2.1 Install the Client on Windows3.2.2 Logging the Installation on Windows

    3.3 Commands and Call Options for Client Installation with hdbinst

    4 Additional Information4.1 Uninstallation of the Client4.2 Uninstallation on UNIX4.2.1 Uninstall on UNIX in Interactive Mode4.2.2 Uninstall on UNIX in Batch Mode

    4.3 Uninstall on Windows

    5 Important Disclaimers on Legal AspectsCopyright and Trademarks