Agents Administration - Tests
 

Default Parameters for HanaXsAppInstTest

This test monitors all the applications deployed on the specified space in the target organization of SAP HANA XS Advanced system and reports the total number and the uptime of the application instances. This test also reveals the number of instances that are currently starting, running, crashed and stopped. This way, the test alerts the administrators when any applications instances are crashed or stopped and thereby helping them to react proactively and remediate application instance crashes before it negatively affects the performance.

This page depicts the default parameters that need to be configured for the HanaXsAppInstTest.

  • The TEST PERIOD list box helps the user to decide how often this test needs to be executed.

  • Specify the name of the Organization that contains the spaces in which the appplications are deployed on HANA XS in the ORGANIZATION textbox. Example: org

  • Specify a comma-separated list of Spaces for the specified Organization in HANA XS in the SPACES textbox. The Spaces specified in this text box need to be included for monitoring. Example: SAP,PROD.

  • Specify the full path to the location where the HANA XS is installed in the XS PATH textbox. Example: /HANA/shared/HDB/xs/bin/.

  • Typically,to connect to a HANA XS and run tests,the eG agent requires the permissions of a HANA XS client user who has been assigned the role collections as XS_CONTROLLER_ADMIN_READ_ONLY, also assigned the OrgAuditor, SpaceAuditor roles for specified organization and spaces.Ideally, you will have to create a new user role on the HANA XS for this purpose, associate the above-mentioned collections with that role,and assign the new role to an existing HANA XS client user.Once the new role is assigned to a HANA XS client user,specify the name of this user against CLI USER text box. Example: Create user as XSA_ADMIN2. Execute below query in SAP HANA studio.

    CREATE USER XSA_ADMIN2 PASSWORD “admin”;

    Assign roles for HANA XS CLI user using HANA XS Client commands mentioned below:

    • xs assign-role-collection XS_CONTROLLER_ADMIN_READ_ONLY XSA_ADMIN2;

    • xs set-org-role XSA_ADMIN2 orgname OrgAuditor;

    • xs set-space-role XSA_ADMIN2 SAP SpaceAuditor;

  • Specify the password of the specified CLI User in the CLI PASSWORD text box.

  • Confirm the password by retyping it in the CONFIRM PASSWORD text box.

  • The XS CLI client tools are installed by default on the SAP HANA server. However, you can also download and install the client tools locally, if you want to connect to SAP HANA from your local machine. Hence, set the CLI LOCATION flag to Remote or Local based on the location of HANA XS Client.

  • Specify the URL of the API end point to connect to the XS advanced controller on the SAP HANA server in the CLI ENDPOINT text box. Syntax for this CLI endpoint is : https://<Hostname>: 3<Instance Number>30. Example: https://vhcalhdbdb.dummy.nodomain:30030.

  • Specify a comma-separated list of destination patterns that need to be included for monitoring in the INCLUDE APPLICATIONS textbox. Example:hrtt-service,hrtt-core. By default, this parameter is set to Few Applications.

  • Specify a comma-separated list of destination patterns that need to be excluded for monitoring in the EXCLUDE APPLICATIONS textbox. Example:hrtt-service,hrtt-core. By default, this parameter is set to None.

  • By default, MONITORING JAVA APPS flag is set to No. This means that by default, this test does not monitor JAVA APPLICATIONS.Set this flag to YES if you want to monitor the JAVA APPLICATIONS.

  • By default, MONITORING NODEJS APPS flag is set to No. This means that by default, this test does not monitor NODEJS APPLICATIONS.Set this flag to YES if you want to monitor the NODEJS APPLICATIONS.

  • By default, MONITORING PYTHON APPS flag is set to No. This means that by default, this test does not monitor PYTHON APPLICATIONS.Set this flag to YES if you want to monitor the PYTHON APPLICATIONS.

  • By default, MONITORING PHP APPS flag is set to No. This means that by default, this test does not monitor PHP APPLICATIONS.Set this flag to YES if you want to monitor the PHP APPLICATIONS.

  • By default, MONITORING RUBY APPS flag is set to No. This means that by default, this test does not monitor RUBY APPLICATIONS.Set this flag to YES if you want to monitor the RUBY APPLICATIONS.

  • By default, MONITORING OTHER APPS flag is set to No. This means that by default, this test does not monitor OTHER LANGUAGE APPLICATIONS.Set this flag to YES if you want to monitor the OTHER LANGUAGE APPLICATIONS.

  • Once the necessary values have been provided, clicking on the UPDATE button will register the changes made.

When changing default configurations of tests, the values with “$” indicate variables that will be replaced by the eG system according to the specific server being managed - for instance, $hostName is the host/nickname of the target host, $port is the port number of the server being monitored. E.g., for a server xyz:80, $hostName will be changed automatically by the eG manager to “xyz*” and $port will be changed to “80” when configuring a test.