Usually you can use the option ‘–help’ and ‘–help General’ on each scripts. Be careful before you execute one, these scripts can impact the system.
You can use HDBSettins.sh combined with the script, which passes the necessary variables towards.
Example:
HDBSettings.sh fullSystemInfoDump.py –help
Let us get hands dirty with python scripts:
1.fullSystemInfoDump.py
1. login to server through putty.
2. su - <sid>adm
3.navigate to /usr/sap/<sid>/HDBXX/exe/python_support> or use shortcut cdpy
4. To get the list of python scripts /usr/sap/<sid>/HDBXX/exe/python_support> ls
---------------------------------------------------------------------------------------------------------------------------
Note:
SAP Support asked you to provide a collection of the relevant diagnosis files (also known as "full-system-info-dump").
You try to collect the files via command line with a command like 'python fullSystemInfoDump.py [--days=<number_of_days>]'.
This command fails with the following error:
/usr/sap/SID/HDB01/exe/python_support/fullSystemInfoDump.py
----------------------------------------------------------------------------------------------------------------------------------------------
5.execute the script with syntax:
/usr/sap/<sid>/HDBXX/exe/python_support> python fullSystemInfoDump.py
6.the result of above python script in point 5,will be available in the path:
/usr/sap/<sid>/SYS/global/sapcontrol/snapshots.
Supporting documents & my references:
S Note: 2446324 --> support.sap.com link for the Snote
No comments:
Post a Comment