Skip to Content

Test SAP HANA, express edition

test
0 %
Test SAP HANA, express edition
Details
// Explore More Tutorials

Test SAP HANA, express edition

07/17/2018

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

You will learn

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


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

Step 1: Test XSC

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

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:

loio511f9acd6591413db454e05b8dc8368c_HiRes

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 2: Test XSA
  1. Go back to your VM. Log in to XSA services:

    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 3: (Optional) Turn on XSA messaging

If you want the XSA messaging service, issue these commands to start the messaging service applications:

xs start messaging-service-hub
xs start messaging-service-node
xs start messaging-service-broker

Step 4: Test SAP Web IDE
  1. Display the status and URL for the application webide. Enter:

    xs apps | grep webide
    
    loio5e7c5697cabd467daa1bd966ab372ae8_LowRes
  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.

    Example: https://hxehost:53075
    
    loiocf1862543d7b495a87d621cf3680580f_LowRes
  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.loioc06ad641e44240b99da7bd10cd275377_LowRes

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

Step 5: Test Cockpit
  1. Go back to your VM. Enter:

    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.

    loio26bc3a5355cf49a49ca8f213fbf28a97_LowRes

    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:

    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.

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

    The Cockpit log in page displays.

    loio241f11bd7ea6480faf28d40428aac80f_LowRes
  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:loio90debd0143f4416799956f26a580c289_LowRes

Step 6: (Optional) Test with HANA Eclipse Plugin

Download and install the HANA Eclipse Plugin to your host OS (not the VM guest) and connect to SAP HANA 2.0, express edition.

  1. Download Eclipse IDE for Java EE Developers from Eclipse, for Neon or Mars releases, 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.

Next Steps

Back to top