Test SAP HANA, express edition
You’ll learn how to connect to the server from applications, and check if the applications installed correctly.
Prerequisites
- Tutorials: You have completed Edit the Hosts File
Note:
Make sure you edited your/etc/hosts
file before starting this procedure.
- Step 1
-
In your VM, log in to XSA services:
bashCopyxs-admin-login
-
When prompted for the
XSA_ADMIN
password, enter the master passwordYou specified this password when you were prompted for the HANA database master password earlier in Start SAP HANA, express edition Server.
-
- Step 2
If you want the XSA messaging service, issue these commands to start the messaging service applications:
bashCopyxs start messaging-service-hub xs start messaging-service-node xs start messaging-service-broker
- Step 3
-
Display the status and URL for the application
webide
. Enter:bashCopyxs apps | grep webide
-
Check that the application
webide
showsSTARTED
in the list of XSA applications, and has 1/1 instances. (If the output shows 0/1 in the instance column, the application is not started.)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 showSTARTED
and doesn’t show1/1
instances, keep waiting until the service is enabled.Make a note of the URL for
webide
. -
Test your Web IDE connection. Enter the URL for Web IDE in a browser on your laptop.
bashCopyExample: https://hxehost:53075
-
For HANA Username, enter
XSA_DEV
.You specified this password when you were prompted for
HANA database master password
in Start SAP HANA, express edition Server.Web IDE displays.
If you are prompted to change your password, follow the instructions.
-
- Step 4
-
Go back to your VM. Enter:
bashCopyxs apps | grep cockpit-admin-web-app
-
Check that the application
cockpit-admin-web-app
showsSTARTED
in the list of XSA applications and has 1/1 instances.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 showSTARTED
and doesn’t show1/1
instances, keep waiting until the service is enabled.Make a note of the URL for
cockpit-admin-web-app
. -
Check that the application
xsa-cockpit
showsSTARTED
in the list of XSA applications and has 1/1 instances. Enter:bashCopyxs apps | grep xsa-cockpit
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 showSTARTED
and doesn’t show1/1
instances, keep waiting until the service is enabled. -
In a browser on your laptop, enter the
cockpit-admin-web-app
URL you noted earlier.The Cockpit log in page displays.
-
For HANA Username, enter
XSA_ADMIN
. -
For HANA Password, enter the master password.
You specified this password when you were prompted for
HANA database master password
earlier in this tutorial.Cockpit displays:
-
- Step 5
Check that the XSEngine is running. From your host OS (not the VM guest) open a browser and enter:
bashCopyhttp://<hxehost IP address>:8090
You recorded the IP address earlier in Start SAP HANA, express edition Server. A success page displays. This indicates that XSC is running:
Note:
SAP plans to remove SAP HANA extended application services, classic model (XSC) and the corresponding SAP HANA Repository with the next major product version of SAP HANA.These components will be removed:
-
SAP HANA extended application services, classic model
-
SAP HANA Repository (XS classic)
-
SAP HANA Studio (Development, Modeling, and Administration perspectives)
-
SAP HANA Web-based Development Workbench (XS classic)
SAP strongly advises you to plan the transition of existing content and applications from XSC to SAP HANA extended application services, advanced model (XS Advanced).
-
- Step 6
-
Drivers and connectors for Python, Node.js, .NET, Java and others: Check sample applications using different drivers and languages such as Node.js and Python.
-
Learn XS Advanced basics: Explore the basics of XS Advanced tools, such as the administration cockpit or SAP Web IDE for SAP HANA. This tutorial includes a step for mapping the tenant database to the development space. See SAP HANA XS Advanced, explore the basic tools.
-