Wednesday, 28 April 2021

SAP HANA XSCONTROLLER service does not start | Techrelam

 

 
 
SAP HANA XSCONTROLLER service does not start

If you have an issue in the startup or runtime of the SAP HANA Extended Application Services Advanced Model (XSA), How to troubleshoot it. Let's see

If your are using the XSA 1.0.86 or higher we need to follow the steps.

Run the following command in the XSA host:

> XSA collect-traces -o <zip file>

Example: XSA collect-traces -o techrelam.zip

Note: To use the XSA command, you must log on as the operating-system user <SID>adm.

If you are using lower versions of XSA:

Collect the logs manually:


    The relevant traces are (for all versions):

  1. xscontroller_<n>.log
  2. xscontroller.out
  3. xsexeagent*.log
  4. xsexeagent.out
  5. xsuaaserver.out
  6. uaa.log

      Starting with XSA 1.0.71 there is also:    

  1. xsuaaserver_*.log

    Starting with HANA SPS 03 there is also:

  1. xshanabroker_*.log
  2. xsinstancemanager_*.log

Those files can be retrieved from:

    /usr/sap/<SID>/HDB00/<hostname>/trace

    or

    /hana/shared/<SID>/xs/controller_data/controller/tracing/log

Friday, 9 April 2021

SAP ABAP RFC backup Export and Import using R3trans | Techrelam

 

 

SAP ABAP system and you want to export and import ABAP RFC .

Export and Import the RFC at Operating System level using R3trans

Steps

1. Create export script with following commands , we named this script as "rfc_backup".

export
file '/<dir>/rfc_data'
select * from RFCATTRIB
select * from RFCDES
select * from RFCSYSACL
select * from RSECACHK
select * from RSECACTB
select * from RSECTAB

2. Create import/restore script with following commands ,we named it as "rfc_restore"

import
file='/<dir>/rfc_data'

Before export the SAP RFC check the Script as below screen shot. Once we execute the export script using R3trans, it will export the RFC in the output file named "rfc_data".


3.   Run following command at OS level : " R3trans rfc_backup"



4. Run following command at OS level : " R3trans rfc_restore"



5. After executing the R3trans  RFC export/import script Check the trans.log - Log file will be created in current directory. One can verify the steps executed in trans.log.