Tuesday, September 25, 2012

ITPA Short term historical directory size , KHD_HISTSIZE_EVAL_INTERVAL , ITPA

On a ITM 623 FP1 / 630 and on a Linux environment...

Symptom:

If the  TEPS GUI does not show any data after ITPA agent is brought up - it could be that the data is clogged.
And you have checked that the 'itpa' agent is running, ware house proxy, S&P ( Summarization and Pruning ) hd, sy and others are all running - and there is disk space.
BUT the ITPA GUI for Performance Analyzer is not rendering the data or the statistics.



If you happen to look at the logs files ITM_FOLDER/logs/*_pa* - and in the last file

If this error shows up in the _pa_*.log file.
(not in the kpacma.log file )

(5061DAD9.000A-B:khdxhwst.cpp,96,"CTHistWriteStatus") KHD_HISTSIZE_EVAL_INTERVAL (20) < 60, defaulting to 900
(5061DAD9.000B-B:khdxhwst.cpp,263,"setHistWriteStatus") ATTENTION: Stopped writing short-term historical data to files in directory /opt/IBM/ITM630/lx8266/pa/hist//.
(5061DAD9.000C-B:khdxhwst.cpp,265,"setHistWriteStatus") Total size of historical files 64284KB exceeded the maximum of 2048KB.


This is because of the following lines in the ITM_FOLDER/config/pa.ini

The KHD_HISTSIZE_EVAL_INTERVAL=20   <== Incorrect.        

It means the interval cannot be set to 20 secs.

It has to be above 60. ( or else it sets it self to 15 mins , 15 * 60 )


2. ( the sample I am showing here is on a Linux server )
The size of the historical folder ( Directory Size - "du -s" ) has to be 2M  after which the WPA sends it to the DB.
KHD_TOTAL_HIST_MAXSIZE=2

du -s  on the hist folder shows

[root@lin02-tfam config]# du -s
6560    .  <== this is why the data collection was stopped in the short term historical folder.

Resolution:
http://pic.dhe.ibm.com/infocenter/tivihelp/v15r1/index.jsp?topic=%2Fcom.ibm.itm.doc_6.2.2fp1%2Fitm_historyshortterm_limitgrowth.htm


3. Tip : to see what the Warehouse proxy is doing - then set this ....
In the ITPA you can set a trace unit of (unit:khdx all) to see history-related (KHD) processing.. maybe that will give more information.


No comments:

Post a Comment