Agents Administration - Tests
 

Default Parameters for HanaXsAppLogTest

For each application deployed on SAP HANA XS Advanced system , this test periodically searches the application logs for specific patterns of error/general information/status messages and reports the count and nature of such messages, so as to enable administrators to troubleshoot better. This test also reports the response size and response time of the application towards the requests. Using this test, administrators can determine the application that is frequently prone to errors.

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

  • 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.

  • 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.