Skip to Content

Test SAP HANA, express edition

Test your XSA, SAP Web IDE, Cockpit, and XSC installations.
You will learn

You’ll learn how to connect to the server from applications, and check if the applications installed correctly.

JCurrie27John CurrieOctober 28, 2020
Created by
JCurrie27
April 13, 2018
Contributors
JCurrie27

Prerequisites

Note:
Make sure you edited your /etc/hosts file before starting this procedure.

  • Step 1
    1. In your VM, log in to XSA services:

      bash
      Copy
      xs-admin-login
      
    2. When prompted for the XSA_ADMIN password, enter the master password

      You 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:

    bash
    Copy
    xs start messaging-service-hub
    xs start messaging-service-node
    xs start messaging-service-broker
    
    
  • Step 3
    1. Display the status and URL for the application webide. Enter:

      bash
      Copy
      xs apps | grep webide
      
      hxe_webide_url_rev031_2
    2. Check that the application webide shows STARTED 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 show STARTED and doesn’t show 1/1 instances, keep waiting until the service is enabled.

      Make a note of the URL for webide.

    3. Test your Web IDE connection. Enter the URL for Web IDE in a browser on your laptop.

      bash
      Copy
      Example: https://hxehost:53075
      
      hxe_webide_login_0
    4. 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.

      hxe_webide_splash_1

      If you are prompted to change your password, follow the instructions.

  • Step 4
    1. Go back to your VM. Enter:

      bash
      Copy
      xs apps | grep cockpit-admin-web-app
      
    2. Check that the application cockpit-admin-web-app shows STARTED in the list of XSA applications and has 1/1 instances.

      hxe_cockpit_wa_url_rev031_6

      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.

    3. Check that the application xsa-cockpit shows STARTED in the list of XSA applications and has 1/1 instances. Enter:

      bash
      Copy
      xs 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 show STARTED and doesn’t show 1/1 instances, keep waiting until the service is enabled.

      hxe_xsacockpit_url_rev031_5
    4. In a browser on your laptop, enter the cockpit-admin-web-app URL you noted earlier.

      The Cockpit log in page displays.

      hxe_cockpit_login_3
    5. For HANA Username, enter XSA_ADMIN.

    6. 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:

      hxe_cockpit_splash_7

  • Step 5

    Check that the XSEngine is running. From your host OS (not the VM guest) open a browser and enter:

    bash
    Copy
    http://<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:

    HXE_XS_Success_4

    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.

Back to top