Gather system info and monitoring data for SAP on AIX
[buzz monitoring] [cy monitoring] [monitoring] [sap system]
Symptom
You where requested to collect system info and monitoring data for SAP on AIX
Solution
Note: The following steps must be performed as root user to work properly. Please also ensure that the directory /tmp/perfsap or the directory you defined has enough space to gather all data (10+ MB free, on larger systems, the amount of data could be much higher) and the execute permissions are set correctly for all files of the script.
To gather the information, download the attached tar archive to your system and copy it to the f.e. /tmp directory. Please choose the package accordingly to your oslevel.
If you have AIX 6.1 TL2 and above, download perfsap_aix_61_
Create the working directory /tmp/perfsap:
mkdir /tmp/perfsap
Change to the working directory and unpack the archive:
cd /tmp/perfsap
gunzip -c /tmp/perfsap.tgz | tar -xvf -
run the collection script:
./perfsap.sh -f -s
sidlist is the comma seperated list of SAP instances on this system for which data should be collected. For example,if you have the SIDs AB1 and CD2 and DE3 on this system, call the collection script with the following commandline:
./perfsap.sh -f -s AB1,CD2,DE3
If there was a problem like not enough space to gather all data, enlarge the filesystem and rerun the script.
after the script has finished, it has created the file
/tmp/perfsap/out/perfsap.tar.Z
Please upload this file to SAP on request.
After the collection of the data and finished uploading the data to SAP, the directory /tmp/perfsap/out should be removed, because it could contain a large amount of data.