|
Configuration of 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.
The default parameters associated with this test are:
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;
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 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.
To make diagnosis more efficient and accurate, eG embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test, by default, for a particular server, choose the On option against DETAILED DIAGNOSIS. To disable the capability, click on the Off option.
The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:
When changing the configuration for specific servers, a “*” beside the text box corresponding to the parameter signifies that these values have to be manually configured by the user. The parameter values that require to be configured will typically be prefixed with a “$” or contain a series of “*”. A value of “none” in the parameter value indicates that the corresponding parameter value can be changed if required.
|