Showing posts with label from. Show all posts
Showing posts with label from. Show all posts

Sunday, 16 February 2025

Background job administration - To trigger an event from Operating system(OS)

 To trigger an event from Operating system(OS):

login to os with sidadm
sapevt event=<backgroup job event @ sm64>  name=<sid> mshost=<hostname>

Sunday, 18 October 2020

Conversion of HANA DB from single container to combination of system DB and tenant DB.


 The system can be installed on one or multiple system hosts, which are configured to operate as worker or standby hosts. As of SAP HANA 2.0 Support Package Stack (SPS) 01, the SAP HANA system can only be installed or configured to be a tenant database system. A tenant database system contains one system database and can contain multiple tenant databases. A single-container system will be automatically converted to a tenant database system during the upgrade to SPS 01.


Thursday, 5 March 2020

Access data from file in linux scripts

instead of search for one particular word line by line in file using the below command in scripts

In manual way of running Linux command, more command is useful to search for key word.

The follow method can be used to search for a key word in file in script point of view.

  1. To grep error messages from log file.
                  grep -i error /usr/sap/sid/work/dev_disp.log
      2.To grep warming messages from log file.
                 grep -i warning /usr/sap/sid/work/dev_disp.log
      3. To grep  for fail  key word in the file.
                grep -i fail /usr/sap/sid/work/dev_disp.log


Output to file:To send output  of above cmd to one file use syntax as below:



grep  -i error /usr/sap/sid/work/dev_disp.log > /install/error.log

Thursday, 16 May 2019

SAP HANA COCKPIT NOTES 20:Add or Remove Resources in Resource Groups

          Add or Remove Resources in Resource Groups


  • Add a resource to a resource group or remove a resource from a resource group. 

Prerequisites

Your cockpit user has the assigned role Cockpit Resource Administrator.