Está en la página 1de 44

Installation Guide PUBLIC

SAP HANA 2.0, express edition 2.0 SPS 01


Document Version: 2.01.00 – 2017-04-18

Getting Started with SAP HANA 2.0, express edition


(Binary Installer Method)
Content

1 Installing SAP HANA 2.0, express edition (Binary Installer Method). . . . . . . . . . . . . . . . . . . . . 4


1.1 Machine Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Download the Installer Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3 Install SAP HANA 2.0, express edition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2 Getting Started with SAP HANA, express edition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10


2.1 Test Your Server Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2 Test XSC and XSA (Applications Package Only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
2.3 Test Web IDE (Applications Package Only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.4 (Optional) Test Your Installation Using the HANA Eclipse Plugin. . . . . . . . . . . . . . . . . . . . . . . . . . . 13

3 Configuring Telemetry. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.1 Disable and Enable Telemetry. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

4 (Optional) Installing Clients. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15


4.1 Download the Clients. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
4.2 Installing XS CLI Client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
XS CLI Client Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Install the XS CLI Client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
4.3 Installing SAP HANA HDB Client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Available Clients. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Install the SAP HANA Client (Windows). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Install the SAP HANA Client (Linux). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
Logging the Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Connect SAP HANA Client to SAP HANA 2.0, express edition. . . . . . . . . . . . . . . . . . . . . . . . . . .21

5 Installing Additional Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22


5.1 (Optional) Install SAP Enterprise Architecture Designer (Applications Package Only). . . . . . . . . . . . 22
5.2 (Optional) Install SAP HANA Interactive Edition (SHINE). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.3 (Optional) Install Text Analysis Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

6 (Optional) Installing SAP HANA Smart Data Streaming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25


6.1 (Optional) Create a Smart Data Streaming User. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.2 Edit the /etc/hosts File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Edit /etc/hosts on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Edit /etc/hosts on Mac and Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.3 Install the Streaming Studio Plugin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
6.4 Configure the Streaming Studio Plugin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
2 PUBLIC Content
6.5 Configure the SAP SDS Service Broker. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
6.6 Configure Streaming Runtime Tool Permissions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

7 Best Practices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
7.1 Deactivate the SYSTEM User. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
7.2 Backups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

8 Updating SAP HANA, express edition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

9 Uninstalling SAP HANA, express edition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37


9.1 Uninstalling SAP HANA, express edition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
9.2 Uninstalling the SAP EA Designer Component. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
9.3 Uninstalling the SAP HANA Client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

10 Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
10.1 HDB Daemon Not Running. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
10.2 SAP HANA XS Applications Run Error. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
10.3 Download Manager Shows Error "Failed to concatenate downloaded files". . . . . . . . . . . . . . . . . . . 40
10.4 Update Fails with Error Message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Content PUBLIC 3
1 Installing SAP HANA 2.0, express edition
(Binary Installer Method)

The SAP HANA 2.0, express edition Binary Installer is for Linux machines running specific installations that
need to meet storage and memory prerequisites. Choose this installation method if you want a custom setup.

Disclaimer

SAP HANA, express edition is officially supported on SLES. SAP Community members have been successful in
running SAP HANA, express edition on other Linux operating systems that are not formally supported by SAP,
such as Ubuntu, openSUSE and Fedora. SAP is not committing to resolving any issues that may arise from
running SAP HANA, express edition on these platforms.

1.1 Machine Requirements

Check if your machine has the recommended software and hardware to successfully install and run SAP HANA
2.0, express edition.

Your server will need the following:

Software Details

Java Runtime Environment (JRE) 8 or Higher If you are planning to install the SAP HANA 2.0, express
edition Download Manager for Windows or Linux, you need
the 64-bit JRE. If you are planning to install the platform-
independent Download Manager, you can use either the 32-
or 64-bit versions.

SUSE Linux Enterprise Server for SAP 12 SP1 Not applicable

Hardware Details

RAM 16 GM minimum (24 GB recommended)

Note
If you are installing on a system with 16 GB of RAM,
increase the amount of swap space to at least 32 GB.

HDD 120 GB HDD recommended

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
4 PUBLIC Installing SAP HANA 2.0, express edition (Binary Installer Method)
Hardware Details

Cores 2 cores (4 recommended)

1.2 Download the Installer Files

Register online and use the Download Manager to download SAP HANA 2.0, express edition installation
packages.

Procedure

1. Go to the registration page at http://sap.com/sap-hana-express . Alternately, you can go to the SAP


HANA, express edition launch page at http://www.sap.com/developer/topics/sap-hana-express.html
and click the Register and download SAP HANA, express edition download manager link.
2. Complete the registration form and click the Register button. The Registration Success page displays.
You will also receive an email indicating successful registration.

Note
If you have an SAP login, click the Login icon at the top of the page to populate the registration form
automatically.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Installing SAP HANA 2.0, express edition (Binary Installer Method) PUBLIC 5
3. On the Registration Success page, under 1A. ON-PREMISE INSTALLATION, click the download manager
that matches your system: Linux or Windows. If you have a Mac, or another type of machine, click
Platform-independent for a platform-independent download manager.

4. Save the download manager installation file to your laptop and open it. If your system displays a security
warning when you open the file, accept the warning.

Note
If you are inside a corporate firewall, you will be prompted for your proxy settings. Contact your IT
administrator.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
6 PUBLIC Installing SAP HANA 2.0, express edition (Binary Installer Method)
5. In the Download Manager, in the Image pull-down, select Binary Installer.

6. Click Browse and select a directory where your downloads will be saved.
7. Select one or more of the following packages:

Package Details

Server only Downloads hxe.tgz; the SAP HANA 2.0, express edition server with Application Function Li­
installer brary. This file is necessary for installing SAP HANA 2.0, express edition.

Applications Downloads the optional package hxexsa.tgz; XSA, Web IDE, and SAP HANA cockpit. Down­
load this and hxe.tgz to install those applications.

Clients Downloads a zip file containing four compressed client-tools bundles. Use the client packages to
access developed SAP HANA 2.0, express edition applications from a client PC. See (Optional)
Installing Clients [page 15].
○ hdb_client_linux.tgz - Reduced HANA client for Linux 64-bit. Contains the HANA
client package, drivers, and required licenses.
○ hdb_client_windows.zip - Reduced HANA client for Windows 64-bit. Contains the
HANA client package, drivers, and required licenses.
○ xs.onpremise.runtime.client_linuxx86_64.zip - Command-line tools for
Linux that enable access to (and control of) the SAP HANA XS advanced run-time environ­
ment.
○ xs.onpremise.runtime.client_ntamd64.zip - Command-line tools for Win­
dows that enable access to (and control of) the SAP HANA XS advanced run-time environ­
ment.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Installing SAP HANA 2.0, express edition (Binary Installer Method) PUBLIC 7
Package Details

Tip
After you develop an application using SAP HANA 2.0, express edition, install Download Man­
ager to a client machine and download the Clients package to that client machine. You can
then use the clients to connect to -- and test -- your HANA applications, emulating a cus­
tomer.

Text analysis files For languages other than English and German, these files are required for the HANA Text Analy­
for additional sis function. (The text analysis files for English and German are already included in the Server
languages only and Applications packages.) Download this and hxe.tgz to install these files. For the text
analysis files installation procedure, see the Installing Additional Components section.

SAP Enterprise Downloads eadesigner.tgz. Extract this in the same directory as hxe.tgz and
Architect hxexsa.tgz to include EA Designer in your installation process.
Designer (XSA
only)

SAP Smart Data Downloads sds.tgz, which contains SAP HANA smart data streaming. Extract this in the same
Streaming option directory as hxe.tgz and hxexsa.tgz to include smart data streaming in your installation
process.

SAP Smart Data Downloads sds_plugin.zip, which contains an Eclipse plugin for creating and deploying
Streaming studio smart data streaming projects. For installation steps, see the Install the Streaming Studio Plugin
plug-in topic.

SAP HANA Downloads shine.tgz. Extract this in the same directory as hxe.tgz and hxexsa.tgz to
Interactive include SHINE in your instllation process.
Education (XSA
only)

8. Click the Download button.

1.3 Install SAP HANA 2.0, express edition

Extract the installation files and setup your SAP HANA 2.0, express edition installation.

Context

Note
You may have to disable your firewall for SAP HANA 2.0, express edition to install successfully.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
8 PUBLIC Installing SAP HANA 2.0, express edition (Binary Installer Method)
Procedure

1. Navigate to the directory where you wish to extract the installation files.
2. Extract the contents of hxe.tgz, hxexsa.tgz (if you are installing the Applications package),
eadesigner.tgz (if you are installing SAP EA Designer), sds.tgz (if you are installing smart data
streaming), and shine.tgz (if you are installing SHINE):

tar -xvzf <download_path>/hxe.tgz


tar -xvzf <download_path>/hxexsa.tgz
tar -xvzf <download_path>/eadesigner.tgz
tar -xvzf <download_path>/sds.tgz
tar -xvzf <download_path>/shine.tgz

Tip
Run the tar command from the command shell as shown, rather than using a GUI-based extraction
tool.

Note
You may have to give these files run permissions. Example:

chmod -R 777 <download_path>/hxe.tgz

3. Navigate to the directory where you extracted the files and run ./setup_hxe.sh as the root user:

cd <extracted_path>
sudo ./setup_hxe.sh

4. Follow the prompts to configure your installation.

Note
The master password you specify during installation is used for the <sid>adm, and sapadm OS users,
the telemetry technical user, and the SYSTEM user. If you are installing the Applications package, this
password is also used for the XSA_ADMIN, XSA_DEV, and XSA_SHINE users. If you are installing smart
data streaming, this password is also used for the SYS_STREAMING and SYS_STREAMING_ADMIN users.

SAP HANA, express edition requires a very strong password that complies with these rules:
○ At least 8 characters
○ At least 1 uppercase letter
○ At least 1 lowercase letter
○ At least 1 number
○ Can contain special characters, but not \ (backslash), " (double quotes), or ` (backtick)
○ Cannot contain dictionary words
○ Cannot contain simplistic or systematic values, like strings in ascending or descending numerical or
alphabetical order

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Installing SAP HANA 2.0, express edition (Binary Installer Method) PUBLIC 9
2 Getting Started with SAP HANA, express
edition

2.1 Test Your Server Installation

Procedure

1. In a terminal, log in as the <sid>adm user.


2. Enter HDB info. The following services must be running:
○ hdbnameserver
○ hdbcompileserver
○ hdbpreprocessor
○ hdbwebdispatcher
○ hdbdiserver (if XSA is installed)
3. If any services are not running, enter HDB start. When the prompt returns, the system is started.

2.2 Test XSC and XSA (Applications Package Only)

If you installed the Applications package (hxexsa.tgz), test your XS installations.

Procedure

1. Check that the XSEngine is running. Open a browser and enter:

http://<hostname>:80<instance-number>

A success page displays:

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
10 PUBLIC Getting Started with SAP HANA, express edition
2. As the <sid>adm user, log in to XSA services:

xs login -u xsa_admin -p "<password>"

3. View the list of XSA applications. Enter xs apps.

Note
When you run the xs apps command for the first time, it may take 1-2 minutes for the system to return
the list of XSA applications.

4. Check that the application cockpit-admin-web-app shows STARTED with 1/1 instances in the list of
XSA applications.

Note
Normally it only takes a few minutes for XSA services to start. However. depending on your machine, it
can take over 30 minutes for XSA services to begin. If the service doesn't show STARTED and doesn't
show 1/1 instances, keep waiting until the service is enabled.

Make a note of the URL for cockpit-admin-web-app.

5. Enter the URL for cockpit-admin-web-app in a browser. The address is the one that displays in your xs
apps command output.
Example: https://my.hostname:51043
6. Log in using the XSA_ADMIN user.

7. If your site uses a proxy for connecting to HTTP and HTTPS servers, select Cockpit Settings Proxy ,
then enable Http(s) Proxy and set the host, port, and non-proxy hosts.

Tip
To find your proxy server information, in a terminal, enter env | grep PROXY.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Getting Started with SAP HANA, express edition PUBLIC 11
Note
If you are using HANA Cockpit to register a resource, both HANA Cockpit and the SAP HANA, express
edition server must be from the same release. SAP does not recommend using a newer HANA Cockpit
to register an older version of SAP HANA, express edition.

2.3 Test Web IDE (Applications Package Only)

Procedure

1. As the <sid>adm user, log in to XSA services:

xs login -u xsa_admin -p "<password>"

2. View the status of the webide application. Enter:

xs apps | grep webide

3. Check that the application webide shows STARTED with 1/1 instances in the list of XSA applications.

Note
Normally it only takes a few minutes for XSA services to start. However. depending on your machine, it
can take over 30 minutes for XSA services to begin. If the service doesn't show STARTED and doesn't
show 1/1 instances, keep waiting until the service is enabled.

Make a note of the URL for webide.


4. Test your Web IDE connection. Enter the URL for webide in a browser. The address is the one that
displays in your xs apps command output.
Example: https://my.hostname:53075
5. Log on to Web IDE using the XSA_DEV user.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
12 PUBLIC Getting Started with SAP HANA, express edition
2.4 (Optional) Test Your Installation Using the HANA
Eclipse Plugin

Download and install the HANA Eclipse Plugin on a client machine and connect to SAP HANA, express edition.

Procedure

1. Download Eclipse IDE for Java EE Developers from http://www.eclipse.org/neon/ to your local file
system.
2. Follow the Eclipse installer prompts.
3. Launch when prompted, or go to the Eclipse folder (example: C:\Users\<path>\eclipse\jee-neon)
and run the eclipse executable file.
4. Follow the tutorial How to download and install the HANA Eclipse plugin to connect to your SAP HANA,
express edition client machine.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Getting Started with SAP HANA, express edition PUBLIC 13
3 Configuring Telemetry

When you install SAP HANA 2.0, express edition, telemetry is enabled by default. You can disable telemetry
after installation is complete. Telemetry sends anonymous performance statistics and usage statistics to SAP,
so that SAP can focus development efforts on areas most vital to the SAP HANA, express edition customer
base.

Note
Your privacy is important to SAP. Telemetry collects anonymous usage information while ensuring
complete privacy. No identifying information or private information is collected, and you can opt out of
telemetry at any time.

If you are inside a corporate firewall and use a proxy for connecting to HTTP and HTTPS servers, you need to
identify your proxy settings, log in to Cockpit, and update the Cockpit Settings Proxy page.

Note
If you do not update the Cockpit proxy settings, telemetry will not work properly. For instructions on
specifying your proxy settings in Cockpit, see the Test XSC and XSA (Applications Package Only) [page 10]
topic.

3.1 Disable and Enable Telemetry

Disable telemetry if you wish to stop sending anonymous telemetry data to SAP.

Procedure

1. Start SAP HANA 2.0, express edition and log in as the <sid>adm user.
2. Run:

/usr/sap/<sid>/home/bin/hxe_telemetry.sh -i <instance-number> -u SYSTEM -p


"<password>" -d SystemDB --disable

3. To re-enable telemetry, run:

/usr/sap/<sid>/home/bin/hxe_telemetry.sh -i <instance-number> -u SYSTEM -p


"<password>" -d SystemDB --enable

To learn more about the hxe_telemetry.sh script, type ./hxe_telemetry.sh --help.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
14 PUBLIC Configuring Telemetry
4 (Optional) Installing Clients

Install the clients if you intend to develop XS applications on a machine that will not have a local SAP HANA
2.0, express edition installation.

The clients let you access SAP HANA 2.0, express edition from your client machine.

You can install the clients on the SAP HANA 2.0, express edition server during server installation, but this how-
to assumes you are installing the clients on a different machine than the machine where SAP HANA 2.0,
express edition is installed.

This how-to refers to the laptop with SAP HANA 2.0, express edition as the server machine, and your local
machine as the client machine.

4.1 Download the Clients

Install the Download Manager to your client machine and download the client package.

Prerequisites

The Download Manager requires Oracle Java SE Runtime Environment 8 (JRE 8) or higher, 64-bit, on your
client machine.

Context

Procedure

1. Save the Download Manager installation file to your client machine and open it. For instructions on
downloading and running the Download Manager, see Installing SAP HANA 2.0, express edition (Binary
Installer Method) [page 4].
2. In Download Manager, in the Image pull-down, select either Virtual Machine or Binary Installer.
3. Click Browse and select a directory where your client package will be saved.
4. Select only Clients. The clients.zip file downloads to your save directory.
5. Extract clients.zip.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
(Optional) Installing Clients PUBLIC 15
○ For Windows machines, use a compression utility like WinZip or Unzip.
○ For Linux, navigate to the directory in which you wish to extract the client files and use the unzip
command.

cd <preferred_filepath>
sudo unzip <download_filepath>/clients.zip

Results

These files are extracted:

● hdb_linux.tgz
● hdb_client_windows.zip
● xs.onpremise.runtime.client_linuxx86_64.zip
● xs.onpremise.runtime.client_ntamd64.zip

4.2 Installing XS CLI Client

You can use the XS command line client to perform a wide variety of developer- and administrator-related
tasks.

The XS advanced client-tools bundle xs.onpremise.runtime.client_<platform>-<version>.zip also


includes the archive xs_javascript-1.3.0-bundle.tar.gz, which includes a selection of mandatory
Node.js packages developed by SAP for use with the Node.js applications running in the XS advanced run time.

For example, in the role of a developer, you can use the XS CLI to connect to the XS advanced run time
installed on the server machine, log on as a specific user, and deploy and manage your applications.

4.2.1 XS CLI Client Prerequisites

Ensure that you have access to an installation of SAP HANA 2.0, express edition with XS advanced installed.

● XS advanced is installed on the SAP HANA 2.0, express edition machine (the server host).
● You have access to the internet from your client machine.
● You have log-on access to the SAP HANA 2.0, express edition database with the privileges to create SAP
HANA users (for example: SYSTEM).

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
16 PUBLIC (Optional) Installing Clients
4.2.2 Install the XS CLI Client

Install the command line client for XS advanced on your client machine.

Context

In this procedure, you learn how to use the XS CLI client to connect to SAP HANA.

Procedure

1. Using a compression utility such as WinZip or Unzip, extract either


xs.onpremise.runtime.client_ntamd64.zip for Windows or
ex.onpremise.runtime.client_linuxx86_64.zip for Linux. The system will create this folder:
xs.onpremise.runtime.client_<version>.
2. Check that the XS advanced run time is installed and available on the server machine. Enter the following
URL in your Web browser: https://<hana_hostname>:3<instance>30/v2/info.

For example, the SAP HANA instance "90" on the host xsa.acme.com: https://xsa.acme.com:
39030/v2/info.

The response displayed in the Web browser is a JSON string with details that indicate a successful
connection to the XSA controller. This connection test is important as you want to make sure the
connection exists before you attempt it from within the API command.
3. Check that the XS client for XS advanced is installed and available. The XS client tools are required to
connect to the XS advanced run time on SAP HANA and deploy your XS advanced applications. On your
client machine, open a command window and run the following commands:

xs help
xs -v

Note
Linux users should run this command as <sid>adm.

If you see output indicated Client version, XS is installed.


4. Connect to the XS advanced controller on the SAP HANA 2.0, express edition server. Specify the URL of
the API end point on the SAP HANA server you want to connect to:

xs api https://<hostname>:3<instance_number>30

Note
This command may fail due to a missing SSL certificate. This note shows you how to set up a certificate
on the client so it can connect to the server. Copy the correct certificate to your client from the SAP
HANA 2.0, express edition server.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
(Optional) Installing Clients PUBLIC 17
Open a command session on the server machine or open a PuTTY session to the server machine. From
the command prompt, login as sudo and navigate to the certificate. The certificate
default.root.crt.pem is typically located here: <installation_path>/<SID>/xs/
controller_data/controller/ssl-pub/router

For example where <installation_path> is /hana/shared and <SID> is HDB

/hana/shared/HDB/xs/controller_data/controller/ssl-pub/router/
default.root.crt.pem

Copy the certificate to a folder on the server where you can easily access it. Using an FTP client or the
scp command, send a copy of the certificate from your server machine to a safe location on your client
machine.

FTP example:

/<path>/default.root.crt.pem

scp example:

scp <server_machine_user>@<ip_address_server>:<file_destination>/
default.root.crt.pem
<client_machine_user>@<client_machine_user>@<ip_address_client>:<your_desire
d_filepath>/

Exit your FTP and PuTTY sessions and return to your client machine. Try the previous command again,
but use the -cacert command and specify the local certificate you just copied.

xs api https://<hostname>:3<instance_number>30 -cacert "<copied_filepath>/


default.root.crt.pem"

5. From the client machine, log on the XS advanced run time. You log on to the SAP HANA instance specified
in the API end point set in a previous step. SAP HANA provides a default user XSA_ADMIN with
administrator permissions; you can use this user ID to test the logon. However, it is recommended to
create a new user with more limited permissions, which you can use to log on for developer tasks.

xs login -u XSA_ADMIN -p "<password>"

Note
The password is assigned to the XSA_ADMIN user during SAP HANA 2.0, express edition installation.

6. Test your connection to XSA. Run the following command to view XS applications on the SAP HANA 2.0,
express edition server.

xs apps

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
18 PUBLIC (Optional) Installing Clients
4.3 Installing SAP HANA HDB Client

SAP HANA 2.0, express edition provides the Reduced SAP Client package for connecting applications.

You can install the client on the server machine during server installation, or on a separate machine as
described here.

4.3.1 Available Clients

When you install the SAP HANA client software package, you install the following clients:

● SQLDBC
● ODBC
● JDBC
● Python (PyDBAPI)
● Node.js
● Ruby

4.3.2 Install the SAP HANA Client (Windows)

Use either a graphical user interface or a command line to install the SAP HANA Client on your Windows
machine.

Context

To install the SAP HANA client on a Windows machine, do the following:

Procedure

1. Using a compression utility like WinRar or WinZip, extract hdb_client_windows.zip.

The file is located in the clients.zip file.

The following folder is created:

hdb_client_windows\HDB_CLIENT_WINDOWS_X86_64

2.
○ In a file explorer, go to the HDB_CLIENT_WINDOWS_X86_64 folder.
○ Open a command prompt and navigate to HDB_CLIENT_WINDOW_X86_64.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
(Optional) Installing Clients PUBLIC 19
3.
○ In the file explorer, double-click:
○ hdbsetup.exe - GUI installation
○ hdbinst.exe - command line installation
○ From a command prompt, call the program hdbsetup (GUI installation) or hdbinst (command line
installation) by entering one of the following commands

Option Description

GUI hdbsetup [-a client]

Command Line hdbinst [-a client] [<option list>

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.

4.3.3 Install the SAP HANA Client (Linux)

Unpack your installation file to install the SAP HANA Client on your Linux machine.

Context

To install the SAP HANA client on a Linux machine, do the following:

Procedure

1. Navigate to the directory where you wish to unpack the hdb_client_linux.tgz files.

cd <your_destination>

2. Unpack hdb_client_linux.tgz:

sudo tar -xvzf <unzipped_filepath>/hdb_client_linux.tgz

The directory HDB_CLIENT_LINUX_X86_64 is created.


3. Move into the HDB_CLIENT_LINUX_X86_64 directory and run hdbinst.

cd HDB_CLIENT_LINUX_X86_64
sudo ./hdbinst

Follow the onscreen instructions to install the SAP HANA client.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
20 PUBLIC (Optional) Installing Clients
4.3.4 Logging the Installation

The SAP HANA client installation is automatically logged by the system.

The log files are stored at %TEMP%\hdb_client_<time_stamp> for Windows and /var/temp/
hdb_client_<time_stamp> for Linux.

4.3.5 Connect SAP HANA Client to SAP HANA 2.0, express


edition

Connect to an SAP HANA 2.0, express edition system.

See these How-tos:

● Connect to HXE using JDBC


● How to connect to SAP HANA database server in Python

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
(Optional) Installing Clients PUBLIC 21
5 Installing Additional Components

5.1 (Optional) Install SAP Enterprise Architecture Designer


(Applications Package Only)

Context

If you downloaded and extracted the Applications package (hxexsa.tgz) and SAP Enterprise Architecture
Designer (SAP EA Designer) package (eadesigner.tgz), the installation file for SAP EA Designer is located
at <extracted_path>/HANA_EXPRESS_20/install_eadesigner.sh.

SAP EA Designer lets you capture, analyze, and present your organization's landscapes, strategies,
requirements, processes, data, and other artifacts in a shared environment. Using industry-standard notations
and techniques, organizations can leverage rich metadata and use models and diagrams to drive
understanding and promote shared outcomes in creating innovative systems, information sets, and processes
to support goals and capabilities.

Install SAP EA Designer in your SAP HANA 2.0, express edition system using the installation script.

Procedure

1. Log in as <sid>adm.

sudo su -l <sid>adm

2. Run the following to install SAP EA Designer:

<extracted_path>/HANA_EXPRESS_20/install_eadesigner.sh

3. When the installation is complete, enter the following command to confirm the status of SAP EA Designer:

xs apps

The output will include all the applications of your organization and space. You should see:
○ eadesigner - The SAP EA Designer application
○ eadesigner-service - The SAP EA Designer Node application
○ eadesigner-backend - The SAP EA Designer Java application

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
22 PUBLIC Installing Additional Components
○ eadesigner-db - The SAP EA Designer database creation application. This application will have a
state of stopped when the installation is complete.
4. Note the URL for eadesigner and enter it in your web browser address bar to go to the SAP EA Designer
login screen.
5. Enter the following credentials:
○ User Name - ADMIN

Note
Account names managed by SAP EA Designer are case-sensitive.

○ Password - Enter the password you created when you installed SAP EA Designer.
You are prompted to change the password. You are logged in as administrator of SAP EA Designer.

5.2 (Optional) Install SAP HANA Interactive Edition


(SHINE)

SAP HANA Interactive Education (SHINE) makes it easy to learn how to build applications on SAP HANA
Extended Application Services Advanced Model.

SHINE is provided as an optional component for SAP HANA, express edition. Download the SHINE installation
file, shine.tgz, from the SAP HANA, express edition Download Manager. This download includes installation
files for installing SHINE on XSC and XSA.

Install SHINE for XSC

Installation files for SHINE for XSC are located at:

<extracted_path>/HANA_EXPRESS_20/DATA_UNITS/HCO_HANA_SHINE

To install SHINE for XSC, see the SAP HANA Interactive Education (SHINE) guide.

Note
The HANA JDBC port number for SAP HANA, express edition is different than the default port number
30015 mentioned in the SHINE guide. You need to update the port parameter for the resources
CrossSchemaSys and CrossSchemaSysBi in the mtaext file to 3<instance-number>13.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Installing Additional Components PUBLIC 23
Install SHINE for XSA

Installation files for SHINE for XSA are located at:

<extracted_path>/HANA_EXPRESS_20/DATA_UNITS/XSA_CONTENT_10

To install SHINE for XSA, run the following as <sid>adm:

<extracted_path>/HANA_EXPRESS_20/install_shine.sh

5.3 (Optional) Install Text Analysis Files

If you are using SAP HANA 2.0, express edition in a language other than English or German, you can download
the Text analysis files for additional languages package in the Download Manager.

Prerequisites

You downloaded the package Text analysis files for additional languages using Download Manager.

Procedure

1. Log in as <sid>adm.
2. Navigate to /hana/shared/<SID>/global/hdb/custom/config/lexicon.
3. Extract the contents of additional_lang.tgz to this directory:

tar -xvzf <download_path>/additional_lang.tgz

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
24 PUBLIC Installing Additional Components
6 (Optional) Installing SAP HANA Smart
Data Streaming

Install the SAP HANA client package and SAP HANA smart data streaming on an SAP HANA, express edition
system.

Procedure

1. Use the Download Manager to download the smart data streaming installation package, sds.tgz.
2. Extract the contents of sds.tgz:

tar -xvzf <download_path>/sds.tgz

Tip
Run the tar command from the command shell as shown, rather than using a GUI-based extraction
tool.

Note
You may have to give these files run permissions. Example:

chmod -R 777 <download_path>/sds.tgz

3. Navigate to the HANA_EXPRESS_20 directory where you extracted the files and run install_sds.sh as
the root user:

cd <extracted_path>/HANA_EXPRESS_20
sudo ./install_sds.sh

4. Follow the prompts to configure your installation.

Note
The system database user (SYSTEM) password you enter during installation is used for the
SYS_STREAMING and SYS_STREAMING_ADMIN users.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
(Optional) Installing SAP HANA Smart Data Streaming PUBLIC 25
6.1 (Optional) Create a Smart Data Streaming User

Create a new user with permissions to perform all smart data streaming tasks.

Context

By default, the SYSTEM user has permission to perform all tasks in smart data streaming. If you have disabled
the SYSTEM user, or plan to do so, follow these steps to create a new user with the same permissions.

Procedure

1. In a terminal, log in as the <sid>adm user:

sudo su -l <sid>adm

2. Create a new user, SDS_USER:

/usr/sap/<SID>/HDB<instance-number>/exe/hdbsql -i <instance-number> -d <SID> -


u SYSTEM -p "<SYSTEM-password>" "CREATE USER SDS_USER PASSWORD <password> NO
FORCE_FIRST_PASSWORD_CHANGE;"

3. If you have the applications package installed, grant the CATALOG READ permission to the user:

/usr/sap/<SID>/HDB<instance-number>/exe/hdbsql -i <instance-number> -d <SID> -


u SYSTEM -p "<SYSTEM-password>" "GRANT CATALOG READ TO SDS_USER;"

4. Grant smart data streaming permissions to the user:

$STREAMING_HOME/bin/streamingclusteradmin --uri=esps://<HXE-hostname>:
3<instance-number>16 --username=SYS_STREAMING --password=<password> --
admin_policy --command="grant perm all to user SDS_USER"

6.2 Edit the /etc/hosts File

If you're running SAP HANA, express edition in a virtual machine or cloud server instance, then depending on
the network configuration, you may need to edit the /etc/hosts file on your local machine so Eclipse can
connect to the smart data streaming server.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
26 PUBLIC (Optional) Installing SAP HANA Smart Data Streaming
6.2.1 Edit /etc/hosts on Windows

If you are running Eclipse on a Windows machine, follow these steps to update the /etc/hosts file.

Procedure

1. On your Windows laptop, navigate to C:\Windows\System32\drivers\etc.


2. In Administrator mode, open hosts in Notepad. See your operating system Help for information on opening
applications in Administrator mode.
3. In a new uncommented row, add the IP address and hostname of the machine where SAP HANA, express
edition is installed. Save your changes.

Spacing is important. Make sure your hosts file in Notepad looks like this image.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
(Optional) Installing SAP HANA Smart Data Streaming PUBLIC 27
6.2.2 Edit /etc/hosts on Mac and Linux

If you are running Eclipse on a Mac or Linux machine, follow these steps to update the /etc/hosts file.

Procedure

1. On your Mac or Linux machine, start the Terminal application.


2. Enter the following command:

sudo sh - c 'echo <IP address> <hostname> >> /etc/hosts'

6.3 Install the Streaming Studio Plugin

Install the smart data streaming plugin to develop and test streaming projects in Eclipse.

Prerequisites

You have installed Eclipse and the HANA Eclipse plugin. See the (Optional) Test Your Installation Using the
HANA Eclipse Plugin [page 13] tutorial for steps.

Procedure

1. Use the Download Manager to download the streaming studio plugin, sds_plugin.zip
2. Extract the contents of the sds_plugin.zip file:

unzip <download_path>/sds_plugin.zip

3. Open Eclipse and select Help Install New Software .


4. Click Add.
5. In the Add Repository dialog, click Local, select the <extracted_path>/<platform>/
SAP_HANA_STREAMING/repository folder, and click OK:

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
28 PUBLIC (Optional) Installing SAP HANA Smart Data Streaming
6. In the Install dialog, check SAP HANA smart data streaming, then click Next.
7. Review the items to be installed, then click Next.
8. Review the license, accept the terms and conditions to continue, then click Finish.
9. For any security warning prompts, click OK.
10. At the prompt to restart Eclipse, select Yes.
11. If you are installing the plugin into Eclipse for Linux, log off of the machine and log back in.

6.4 Configure the Streaming Studio Plugin

Add a connection to the smart data streaming server and create a HANA service.

Prerequisites

● You have installed the smart data streaming plugin for Eclipse.
● If necessary for your network configuration, you have edited the /etc/hosts file on the machine where you
are using Eclipse. See Edit the /etc/hosts File for more information.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
(Optional) Installing SAP HANA Smart Data Streaming PUBLIC 29
Procedure

1. In Eclipse, select Window Perspective Open Perspective Other , then select the SAP HANA
Streaming Development perspective and click OK.

2. Select Window Perspective Open Perspective SAP HANA Streaming Run-Test .


3. In the SAP HANA Streaming Run-Test perspective, in the Server view, select New Server URL:

4. Enter the following connection details:


○ Host Name: the hostname or IP address of the machine where SAP HANA, express edition is installed
○ Port: 3<instance-number>16
Enable SSL, then click OK.
5. Right-click on the new server and and select Change User Name and Password.
6. Enter the credentials for SYSTEM and click OK.

Note
To automatically connect to the streaming server when starting Eclipse, check Use Secure Storage for
Streaming Credentials.

7. Right-click on the server and select Connect Server.

8. Open Window Preferences and select SAP HANA smart data streaming from the list.
9. Set Default Server URL to the new server and click OK.
10. Switch to the SAP HANA Streaming Development perspective and select the Data Services tab:

11. Right-click on the new server and select Load Workspaces.

12. Right-click on the Server-wide folder and select Add HANA Service.
13. Select newservice1 and, in the Properties view:

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
30 PUBLIC (Optional) Installing SAP HANA Smart Data Streaming
a. Enter the credentials for SYSTEM.
b. Uncheck Use Default HANA Server.
c. Select Multi Tenant.
d. Set Database Name to HXE.
e. Set HANA Hostname to the hostname or IP address for your SAP HANA, express edition installation.
f. Set HANA Instance Number to the instance number for your installation.
14. Right-click on newservice1 and select Rename Service. Name the service hanadb.
15. To confirm that the HANA service is configured properly, right-click on it and select Discover:

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
(Optional) Installing SAP HANA Smart Data Streaming PUBLIC 31
6.5 Configure the SAP SDS Service Broker

If you want to use the WebIDE to develop streaming projects, configure the SAP SDS service broker to enable
the smart data streaming plugin for WebIDE.

Procedure

1. As the <sid>adm user, enter the following command to add diserver to the tenant database:

hdbsql -d SystemDB -u SYSTEM -p <password> "ALTER DATABASE <DB> ADD


'diserver'"

2. Log in to the XS Advanced Administration and Monitoring Tools as the XSA_ADMIN user.

Note
To find the URL, log in to XSA services and find xsa-admin on the applications list:

xs login -u xsa_admin -p "<password>"


xs apps | grep xsa-admin

3. Select the SAP HANA Logical Database Setup tile.


4. Select Enable on the your tenant database.
5. Enter the credentials for the SYSTEM user and select OK.
6. Return to the main menu and select the SAP HANA Service Broker Configuration tile.
7. Select the HANAExpress / SAP organization and space and click Map.
8. Check the box next to your tenant database and select OK.
9. Return to the main menu and select the Service Broker Configuration tile in the SAP Smart Data
Streaming section.
10. Open the HANA System Database Provisioning tab and click Edit.
11. Fill in the login information for the SYSTEM user, then click Save.
12. Open the Streaming Service Provisioning tab.
13. Choose your tenant database and click Register.
If the streaming service status is Not Provisioned, the service has not been provisioned to the tenant
database, or has not been initiated.
14. Enter the SYS_STREAMING password when prompted, then click Save.

Note
By default, the password for the SYS_STREAMING user is the same as the password for the database
user (SYSTEM) you used when installing smart data streaming.

You can now use the smart data streaming plugin in the SAP HANA Web IDE.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
32 PUBLIC (Optional) Installing SAP HANA Smart Data Streaming
6.6 Configure Streaming Runtime Tool Permissions

Update the DEVX_DEVELOPER role to give XSA_DEV access to the streaming runtime tool.

Procedure

1. Log in to the XS Advanced Administration and Monitoring Tools as the XSA_ADMIN user.

Note
To find the URL, log in to XSA services and find xsa-admin on the applications list:

xs login -u xsa_admin -p "<password>"


xs apps | grep xsa-admin

2. Open the Application Role Builder tile.


3. Select Configure Role Collections.
4. In the Role Collections list, select DEVX_DEVELOPER.
5. On the Roles tab for DEVX_DEVELOPER, select Add Application Role.
6. Select the following options, then click OK:
○ Application Name: com-sap-xsa-sds-rtt!i1
○ Template Name: xsa_sds_rtt_developer_template
○ Application Role: xsa_sds_rtt_developer_template
7. Select Save.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
(Optional) Installing SAP HANA Smart Data Streaming PUBLIC 33
7 Best Practices

7.1 Deactivate the SYSTEM User

SYSTEM is the database superuser and is not intended for day-to-day activities in production systems. For
better security, you can create other database users with only the privileges that they require for their tasks
(for example, user administration), then deactivate the SYSTEM user.

Procedure

1. In a terminal, log in as the <sid>adm user:

sudo su -l <sid>adm

2. Create a new admin user with the USER ADMIN system privilege:

/usr/sap/<SID>/HDB<instance-number>/exe/hdbsql -i <instance-number> -d
SystemDB -u SYSTEM -p "<SYSTEM-password>" "CREATE USER <admin-username>
PASSWORD <admin-password> NO FORCE_FIRST_PASSWORD_CHANGE;"
/usr/sap/<SID>/HDB<instance-number>/exe/hdbsql -i <instance-number> -d
SystemDB -u SYSTEM -p "<SYSTEM-password>" "GRANT USER ADMIN TO <admin-
username> WITH ADMIN OPTION;"

3. Use the new admin user to deactivate the SYSTEM user:

/usr/sap/<SID>/HDB<instance-number>/exe/hdbsql -i <instance-number> -d
SystemDB -u <admin-username> -p "<admin-password>" "ALTER USER SYSTEM
DEACTIVATE USER NOW;"

7.2 Backups

Make regular data backups to save your work.

For information on data backup, recovery, and log file growth, see the SAP HANA Administration Guide.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
34 PUBLIC Best Practices
8 Updating SAP HANA, express edition

Update SAP HANA 2.0, express edition when new patches are released.

Procedure

1. Using the Download Manager, select Binary Installer and download the Server only package (hxe.tgz). If
the installation you are updating has the Applications package, download the Applications package
(hxe.tgz) as well.
2. Login as <sid>adm.
3. Extract the contents of the hxe.tgz, and hxexsa.tgz for Applications if applicable, to the same
directory.

tar -zxf hxe.tgz


tar -zxf hxexsa.tgz

4. Navigate to the directory where you extracted the packages:

cd <extract_path>/HANA_EXPRESS_20/

5. As the root user, run the upgrade script to update the server:

sudo ./hxe_upgrade.sh

6. Follow the prompts to complete the update.

Note
hxe_upgrade.sh detects the Server and Applications packages. The script will upgrade the server and
XSA (if available).

Note
Upgrading is supported only for SAP HANA, express edition 2.0 SP 00 to SAP HANA, express edition
2.0 SP 01.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Updating SAP HANA, express edition PUBLIC 35
Results

Note
If you receive the error message Installation of archive file(s) '/usr/sap/HXE_2_SP1/
HANA_EXPRESS_20/DATA_UNITS/HANA_COCKPIT_20/XSACCOCKPIT02_5.zip' failed., see
troubleshooting topic Update Fails with Error Message [page 41].

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
36 PUBLIC Updating SAP HANA, express edition
9 Uninstalling SAP HANA, express edition

9.1 Uninstalling SAP HANA, express edition

Procedure

1. Start the hdblcm tool:

sudo /hana/shared/<SID>/hdblcm/hdblcm

2. Select uninstall.
3. Choose to uninstall all components.
4. Uninstall the SAP Host Agent:

sudo /usr/sap/hostctrl/exe/saphostexec -uninstall

9.2 Uninstalling the SAP EA Designer Component

Procedure

1. As the <sid>adm user, log in to XSA:

xs login -u xsa_admin -p "<password>" -s SAP

2. Uninstall the SAP EA Designer software component. To uninstall the component plus the HDI container
and repository database, use the following command:

xs uninstall XSAC_HANA_EA_D --delete-services

To delete the component but retain the HDI container and repository database, use the following
command:

xs uninstall XSAC_HANA_EA_D

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Uninstalling SAP HANA, express edition PUBLIC 37
9.3 Uninstalling the SAP HANA Client

Each installation of the SAP HANA Client has its own uninstallation tool.

Procedure

1. Use the hdbuninst command to uninstall the client software from your command prompt.

sudo <unzipped_filepath>/HDB_CLIENT_<version>/hdbuninst

2. Follow the onscreen instructions to uninstall the SAP HANA Client.

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
38 PUBLIC Uninstalling SAP HANA, express edition
10 Troubleshooting

10.1 HDB Daemon Not Running

Issue: You are installing SAP HANA 2.0, express edition on a Linux server using hdblcm. You receive this error:
Cannot start system. Start instance 00 on host 'hxehost.localdomain.com' failed.
FAIL: process hdbdaemon HDB Daemon not running.

Solution:

1. Use zypper to check the util-linux, util-linux-systemd, and uuidd packages to make sure they
are the correct versions:

zypper info util-linux util-linux-systemd uuidd

The results need to show that you have at least the following versions installed:
○ util-linux: util-linux-2.25-22.1
○ util-linux-systemd: 2.25-22.1
○ uuidd: uuidd-2.25-22
2. If you are missing any of the packages, or if the versions are outdated, install them using the zypper
install command.
3. Check that socket activation is enabled and started. In a shell, enter:

systemctl status uuidd.socket

4. If the status is inactive, start socket activation:

systemctl start uuidd.socket

10.2 SAP HANA XS Applications Run Error

Issue: You are trying to run an SAP HANA service on your SAP HANA 2.0, express edition installation and are
receiving an error.

Solution: Log in to your SAP HANA 2.0, express edition as <sid>adm:

sudo su -l <sid>adm

Check which services are enabled on your machine:

xs apps

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Troubleshooting PUBLIC 39
This operation may take 1-2 minutes to return the list of apps. You should see the following:

If the service you're trying to use is shown as STOPPED, start it:

xs start <app>

It may take a few minutes for the system to get started. Run xs apps again to see if the app has started and
that under instances the app shows 1/1.

10.3 Download Manager Shows Error "Failed to concatenate


downloaded files"

Issue: You are downloading packages using the Download Manager. The Status area and Progress Detail area
show the error Failed to concatenate downloaded files.

Solution:

1. Check the log file for details. The log file is in the temp directory:
○ Linux: /tmp/hxedm[yymmdd].log

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
40 PUBLIC Troubleshooting
○ Windows: %TEMP%\hxedm_[yymmdd].log
2. If the log indicates a simple issue such as lack of disk space or file permissions, fix the problem and
download again.
3. If the problem is less obvious, do the following:
○ Go to the Save directory. Delete all downloaded files, including incomplete download files. Download
again
or
○ Change the Save directory. Download again.

10.4 Update Fails with Error Message

Issue: When upgrading SAP HANA, express edition 2.0 SP 00 to SAP HANA, express edition 2.0 SP 01, the
update fails with an error message.

The error message is:

Installation of archive file(s) '/usr/sap/HXE_2_SP1/HANA_EXPRESS_20/DATA_UNITS/


HANA_COCKPIT_20/XSACCOCKPIT02_5.zip' failed.
Installation of the component XSAC_COCKPIT (sap.com) 2.2.5 failed during
deployment.
Installation of SAP HANA Cockpit failed
Update of SAP HANA Express Edition components failed.
Installation of XS Advanced components failed
Update of SAP HANA Cockpit failed

Solution: If you encounter this error, use this workaround procedure to complete the upgrade:

1. As <SID>adm user, login to XSA.

xs login -u xsa_admin -p <password>

2. Run the following command to update the Cockpit application.

xs install <extract_path>/HANA_EXPRESS_20/DATA_UNITS/HANA_COCKPIT_20/
XSACCOCKPIT02_5.zip

3. Run the following command to update the SAPUI5 SDK 1.44 application.

xs install <extract_path>/HANA_EXPRESS_20/DATA_UNITS/HANA_COCKPIT_20/
XSACUI5FESV344_10.zip

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Troubleshooting PUBLIC 41
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 willful 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).

Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
42 PUBLIC Important Disclaimers and Legal Information
Getting Started with SAP HANA 2.0, express edition (Binary Installer Method)
Important Disclaimers and Legal Information PUBLIC 43
go.sap.com/registration/
contact.html

© 2017 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.

También podría gustarte