Monday, August 12, 2013

What happens if "lz" OSA agent is installed on ITM .

If the Linux OS Agent is installed on a RHEL server after installing the ITM base components.,

If the user runs the cinfo -t  to check the list of installed products......






cinfo -t
*********** Mon Aug 12 08:10:12 CDT 2013 ******************
User: root Groups: root bin daemon sys adm disk wheel
Host name : nc184132     Installer Lvl:06.23.01.00
CandleHome: /opt/IBM/ITM
Version Format: VV.RM.FF.II (V: Version; R: Release; M: Modification; F: Fix; I: Interim Fix)
***********************************************************
...Product inventory



PC   PRODUCT DESC                                              PLAT    VER           BUILD           INSTALL DATE
lz   Monitoring Agent for Linux OS                             li6263  06.23.01.00   20471           20130812 0809  <====



PC   APPLICATION SUPPORT DESC                                  PLAT    APP VER       BUILD           INSTALL DATE

a4   Monitoring Agent for i5/OS                                tms     06.23.01.00   20511           20130812 0532
a4   Monitoring Agent for i5/OS                                tpd     06.23.01.00   20511           20130812 0545
a4   Monitoring Agent for i5/OS                                tps     06.23.01.00   20511           20130812 0547
a4   Monitoring Agent for i5/OS                                tpw     06.23.01.00   20511           20130812 0543
hd   Warehouse Proxy                                           tms     06.23.01.00   d2050a          20130812 0532
hd   Warehouse Proxy                                           tpd     06.23.01.00   d2050a          20130812 0545
hd   Warehouse Proxy                                           tps     06.23.01.00   d2050a          20130812 0547
hd   Warehouse Proxy                                           tpw     06.23.01.00   d2050a          20130812 0543
it   TEC GUI Integration                                       tpd     06.23.01.00   d2031a          20130812 0545
it   TEC GUI Integration                                       tps     06.23.01.00   d2031a          20130812 0547
it   TEC GUI Integration                                       tpw     06.23.01.00   d2031a          20130812 0543
lz   Monitoring Agent for Linux OS                             tms     06.23.01.00   20471           20130812 0532  <============
lz   Monitoring Agent for Linux OS                             tpd     06.23.01.00   20471           20130812 0544
lz   Monitoring Agent for Linux OS                             tps     06.23.01.00   20471           20130812 0546
lz   Monitoring Agent for Linux OS                             tpw     06.23.01.00   20471           20130812 0542


Note: This output is after we have installed the ITM - base components. ( ITPA Reports and Domain Definitions is not installed at this point )

Thursday, August 8, 2013

If ONLY the ITM Tivoli Monitoring Components are installed.

If TEPS is going to be installed on a separate server.

1. install.sh
Product packages are available for this operating system and component support categories:

 1) IBM Tivoli Monitoring components for this operating system


2. In this case I have installed the DB2 on the same server where the ITM  TEPS is installed.






3. Configure the TEPS to talk to a TEMS on a "different" server.









4. Once done - the TEPS GUI will come up and the PA configuration button will be on it.
On clicking - since the PA is not installed - you will get this error message .






- So, I installed the "lz" so that it will go into the product section - but is not required .

( This is really not required - as the application supports for the "lz" agent gets installed during the ITM components installation )


[root@nc184132 itm_623fp1]# diff itm_and_agent_components_only itm_components_only
2c2
< *********** Wed Aug  7 04:13:14 CDT 2013 ******************
---
> *********** Tue Aug  6 01:14:33 CDT 2013 ******************
22d21
< lz   Monitoring Agent for Linux OS                             li6263  06.23.01.00   20471           20130807 0401

The lz gets added in the productdescription - but not required I think.



Now, I added the ITPA component and ran the cinfo -t

[root@nc184132 itm_623fp1]# diff itm_components_only  itm_agent_itpa_components_only
2c2
< *********** Tue Aug  6 01:14:33 CDT 2013 ******************
---
> *********** Wed Aug  7 05:00:41 CDT 2013 ******************
21a22
> lz   Monitoring Agent for Linux OS                             li6263  06.23.01.00   20471           20130807 0401
52a54,61
> p0   Performance Analyzer Domain for DB2                       tpa     06.23.01.00   20552           20130807 0427
> p3   Performance Analyzer Domain for OS agent                  tms     06.23.01.00   20552           20130807 0428
> p3   Performance Analyzer Domain for OS agent                  tpa     06.23.01.00   20552           20130807 0427
> p3   Performance Analyzer Domain for OS agent                  tpd     06.23.01.00   20552           20130807 0426
> p3   Performance Analyzer Domain for OS agent                  tps     06.23.01.00   20552           20130807 0427
> p3   Performance Analyzer Domain for OS agent                  tpw     06.23.01.00   20552           20130807 0425
> p4   Performance Analyzer Domain for Oracle                    tpa     06.23.01.00   20552           20130807 0427
> p6   Performance Analyzer Domain for System p                  tpa     06.23.01.00   20552           20130807 0427
56a66,67
> pi   Performance Analyzer Domain for ITCAM RT                  tpa     06.23.01.00   20552           20130807 0427
> pu   Performance Analyzer Domain for VMware                    tpa     06.23.01.00   20552           20130807 0427



The ones in red got added to the Application Support paragraph.

=== IF YOU DO NOT CONFIGURE THE CQ THEN THE PA CONFIGURATION APPLET WILL NOT COME UP RIGHT.==

Run the configuration now.





Select one of the following:

1) Install products to the local host.
2) Install products to depot for remote deployment (requires TEMS).
3) Install TEMS support for remote seeding
4) Exit install.


Please enter a valid number:  1

Initializing ...
International Program License Agreement

Part 1 - General Terms

BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, CLICKING ON
AN "ACCEPT" BUTTON, OR OTHERWISE USING THE PROGRAM,
LICENSEE AGREES TO THE TERMS OF THIS AGREEMENT. IF YOU ARE
ACCEPTING THESE TERMS ON BEHALF OF LICENSEE, YOU REPRESENT
AND WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND LICENSEE
TO THESE TERMS. IF YOU DO NOT AGREE TO THESE TERMS,

* DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, CLICK ON AN
"ACCEPT" BUTTON, OR USE THE PROGRAM; AND

* PROMPTLY RETURN THE UNUSED MEDIA, DOCUMENTATION, AND

Press Enter to continue viewing the license agreement, or
enter "1" to accept the agreement, "2" to decline it, "3"
to print it, "4" to read non-IBM terms, or "99" to go back
to the previous screen.

Product packages are available for this operating system and component support categories:

 1) IBM Tivoli Monitoring components for this operating system
 2) Tivoli Enterprise Portal Browser Client support
 3) Tivoli Enterprise Portal Desktop Client support
 4) Tivoli Enterprise Portal Server support
 5) Tivoli Enterprise Monitoring Server support
 6) Other operating systems

Type the number or type "q" to quit selection
[ number "1" or "IBM Tivoli Monitoring components for this operating system" is default ]:

Type the number or type "q" to quit selection
[ number "1" or "IBM Tivoli Monitoring components for this operating system" is default ]:  1

You selected number "1" or "IBM Tivoli Monitoring components for this operating system"

Is the selection correct [ 1=Yes, 2=No ; default is "1" ] ? 1

The following products are available for installation:

 1) Summarization and Pruning Agent  V06.23.01.00
 2) Tivoli Enterprise Monitoring Server  V06.23.01.00
 3) Tivoli Enterprise Portal Desktop Client  V06.23.01.00
 4) Tivoli Enterprise Portal Server  V06.23.01.00
 5) Tivoli Enterprise Services User Interface Extensions  V06.23.01.00
 6) Tivoli Performance Analyzer  V06.23.01.00
 7) Warehouse Proxy  V06.23.01.00
 8) all of the above

Type the numbers for the products you want to install, type "b" to change operating system, or type "q" to quit selection.
If you enter more than one number, separate the numbers by a comma or a space.

Type your selections here:

[[ shashi ; I installed the  "1) IBM Tivoli Monitoring components for this operating system  "  and all the   client support  options ]]

cinfo -t
*********** Tue Aug  6 01:14:33 CDT 2013 ******************
User: root Groups: root bin daemon sys adm disk wheel
Host name : nc184132     Installer Lvl:06.23.01.00
CandleHome: /opt/IBM/ITM
Version Format: VV.RM.FF.II (V: Version; R: Release; M: Modification; F: Fix; I: Interim Fix)
***********************************************************
...Product inventory

PC   PRODUCT DESC                                              PLAT    VER           BUILD           INSTALL DATE

ax   IBM Tivoli Monitoring Shared Libraries                    li6263  06.23.01.00   d2050a          20130805 0424
cj   Tivoli Enterprise Portal Desktop Client                   li6263  06.23.01.00   d2050a          20130805 0425
cq   Tivoli Enterprise Portal Server                           li6263  06.23.01.00   d2050a          20130805 0430
cw   Tivoli Enterprise Portal Browser Client                   li6263  06.23.01.00   d2050a          20130805 0426
gs   IBM GSKit Security Interface                              li6243  07.40.27.00   d2031a          -
hd   Warehouse Proxy                                           li6263  06.23.01.00   d2050a          20130805 0439
iu   IBM HTTP Server                                           li6263  07.00.00.00   d2031a          20130805 0427
iw   IBM Tivoli Enterprise Portal Server Extensions            li6263  07.00.19.00   d2031a          20130805 0429
jr   Tivoli Enterprise-supplied JRE                            li6263  06.09.02.00   d2031a          -
kf   IBM Eclipse Help Server                                   li6263  06.23.01.00   d2031a          20130805 0430
ms   Tivoli Enterprise Monitoring Server                       li6263  06.23.01.00   d2050a          20130805 0425
pa   Tivoli Performance Analyzer                               li6263  06.23.01.00   20551           20130805 0439  <== This gets installed when ITM components are installed ( ITPA is not even installed at this point )
sh   Tivoli Enterprise Monitoring SOAP Server                  li6263  06.23.01.00   d2050a          20130805 0425
sy   Summarization and Pruning Agent                           li6263  06.23.01.00   d2047a          20130805 0424
t1   File Transfer Enablement                                  li6263  07.30.00.00   20100000-0000   -
ue   Tivoli Enterprise Services User Interface Extensions      li6263  06.23.01.00   d2050a          20130805 0425
ui   Tivoli Enterprise Services User Interface                 li6263  06.23.01.00   d2050a          20130805 0424


PC   APPLICATION SUPPORT DESC                                  PLAT    APP VER       BUILD           INSTALL DATE

a4   Monitoring Agent for i5/OS                                tms     06.23.01.00   20511           20130805 0439
a4   Monitoring Agent for i5/OS                                tpd     06.23.01.00   20511           20130805 0445
a4   Monitoring Agent for i5/OS                                tps     06.23.01.00   20511           20130805 0446
a4   Monitoring Agent for i5/OS                                tpw     06.23.01.00   20511           20130805 0444
hd   Warehouse Proxy                                           tms     06.23.01.00   d2050a          20130805 0439
hd   Warehouse Proxy                                           tpd     06.23.01.00   d2050a          20130805 0446
hd   Warehouse Proxy                                           tps     06.23.01.00   d2050a          20130805 0447
hd   Warehouse Proxy                                           tpw     06.23.01.00   d2050a          20130805 0444
it   TEC GUI Integration                                       tpd     06.23.01.00   d2031a          20130805 0446
it   TEC GUI Integration                                       tps     06.23.01.00   d2031a          20130805 0446
it   TEC GUI Integration                                       tpw     06.23.01.00   d2031a          20130805 0444
lz   Monitoring Agent for Linux OS                             tms     06.23.01.00   20471           20130805 0439
lz   Monitoring Agent for Linux OS                             tpd     06.23.01.00   20471           20130805 0445
lz   Monitoring Agent for Linux OS                             tps     06.23.01.00   20471           20130805 0446
lz   Monitoring Agent for Linux OS                             tpw     06.23.01.00   20471           20130805 0443
ms   Tivoli Enterprise Monitoring Server                       tms     06.23.01.00   d2050a          20130805 0439
nt   Monitoring Agent for Windows OS                           tms     06.23.01.00   20471           20130805 0439
nt   Monitoring Agent for Windows OS                           tpd     06.23.01.00   20471           20130805 0445
nt   Monitoring Agent for Windows OS                           tps     06.23.01.00   20471           20130805 0446
nt   Monitoring Agent for Windows OS                           tpw     06.23.01.00   20471           20130805 0443
pa   Tivoli Performance Analyzer                               tms     06.23.01.00   20551           20130805 0439
pa   Tivoli Performance Analyzer                               tpd     06.23.01.00   20551           20130805 0446
pa   Tivoli Performance Analyzer                               tps     06.23.01.00   20551           20130805 0446
pa   Tivoli Performance Analyzer                               tpw     06.23.01.00   20551           20130805 0444
r2   Agentless Monitoring for Windows Operating Systems        tms     06.23.01.00   201111221341    20130805 0439
r2   Agentless Monitoring for Windows Operating Systems        tpd     06.23.01.00   201111221341    20130805 0445
r2   Agentless Monitoring for Windows Operating Systems        tps     06.23.01.00   201111221341    20130805 0446
r2   Agentless Monitoring for Windows Operating Systems        tpw     06.23.01.00   201111221341    20130805 0443
r3   Agentless Monitoring for AIX Operating Systems            tms     06.23.01.00   201111221343    20130805 0439
r3   Agentless Monitoring for AIX Operating Systems            tpd     06.23.01.00   201111221343    20130805 0445
r3   Agentless Monitoring for AIX Operating Systems            tps     06.23.01.00   201111221343    20130805 0446
r3   Agentless Monitoring for AIX Operating Systems            tpw     06.23.01.00   201111221343    20130805 0442
r4   Agentless Monitoring for Linux Operating Systems          tms     06.23.01.00   201111221345    20130805 0439
r4   Agentless Monitoring for Linux Operating Systems          tpd     06.23.01.00   201111221345    20130805 0445
r4   Agentless Monitoring for Linux Operating Systems          tps     06.23.01.00   201111221345    20130805 0446
r4   Agentless Monitoring for Linux Operating Systems          tpw     06.23.01.00   201111221345    20130805 0443
r5   Agentless Monitoring for HP-UX Operating Systems          tms     06.23.01.00   201111221347    20130805 0439
r5   Agentless Monitoring for HP-UX Operating Systems          tpd     06.23.01.00   201111221347    20130805 0445
r5   Agentless Monitoring for HP-UX Operating Systems          tps     06.23.01.00   201111221347    20130805 0446
r5   Agentless Monitoring for HP-UX Operating Systems          tpw     06.23.01.00   201111221347    20130805 0443
r6   Agentless Monitoring for Solaris Operating Systems        tms     06.23.01.00   201111221348    20130805 0439
r6   Agentless Monitoring for Solaris Operating Systems        tpd     06.23.01.00   201111221348    20130805 0445
r6   Agentless Monitoring for Solaris Operating Systems        tps     06.23.01.00   201111221348    20130805 0446
r6   Agentless Monitoring for Solaris Operating Systems        tpw     06.23.01.00   201111221348    20130805 0443
sy   Summarization and Pruning Agent                           tms     06.23.01.00   d2047a          20130805 0439
sy   Summarization and Pruning Agent                           tpd     06.23.01.00   d2047a          20130805 0445
sy   Summarization and Pruning Agent                           tps     06.23.01.00   d2047a          20130805 0446
sy   Summarization and Pruning Agent                           tpw     06.23.01.00   d2047a          20130805 0444
tm   Monitoring Agent for IBM Tivoli Monitoring 5.x Endpoint   tms     06.23.01.00   d2031a          20130805 0439
tm   Monitoring Agent for IBM Tivoli Monitoring 5.x Endpoint   tps     06.23.01.00   d2031a          20130805 0446
ul   Monitoring Agent for UNIX Logs                            tms     06.23.01.00   13531           20130805 0439
ul   Monitoring Agent for UNIX Logs                            tpd     06.23.01.00   13531           20130805 0445
ul   Monitoring Agent for UNIX Logs                            tps     06.23.01.00   13531           20130805 0446
ul   Monitoring Agent for UNIX Logs                            tpw     06.23.01.00   13531           20130805 0443
um   Universal Agent                                           tms     06.23.01.00   d2025a          20130805 0439
um   Universal Agent                                           tpd     06.23.01.00   d2025a          20130805 0446
um   Universal Agent                                           tps     06.23.01.00   d2025a          20130805 0447
um   Universal Agent                                           tpw     06.23.01.00   d2025a          20130805 0444
ux   Monitoring Agent for UNIX OS                              tms     06.23.01.00   20541           20130805 0439
ux   Monitoring Agent for UNIX OS                              tpd     06.23.01.00   20541           20130805 0445
ux   Monitoring Agent for UNIX OS                              tps     06.23.01.00   20541           20130805 0446
ux   Monitoring Agent for UNIX OS                              tpw     06.23.01.00   20541           20130805 0443

Wednesday, June 26, 2013

Mapping Performance Analyzer tasks to the back end Database

How does the tasks in ITPA map to OS Agent attribute.

In other words - where does the ITPA look for in the Database - to get the data and render this.

Here,I will try to delve into just 1 attribute of the UNIX agent - i.e Unix_Memory, and one ITPA task "Available Memory' and connected to DB2 data base.


 



Requirements : Historical collections for UNIX agent has to be configured first.
Next, the Summarization and Pruning for the Unix Attribute has to be configured.
The UNIX agent has these columns for "Available Memory ".

If you look at the DB2 Database, and the Historical colleciton for the UnixOS agent is configured and active.


Unix_Memory                     ITMUSER         T     2013-06-26-12.19.15.589568
Unix_Memory_D                   ITMUSER         T     2013-06-26-12.20.50.073287
Unix_Memory_DV                  ITMUSER         V     2013-06-26-12.20.53.727654
Unix_Memory_H                   ITMUSER         T     2013-06-26-12.20.45.292147
Unix_Memory_HV                  ITMUSER         V     2013-06-26-12.20.49.760437
Unix_Memory_W                   ITMUSER         T     2013-06-26-12.20.54.066615
Unix_Memory_WV                  ITMUSER         V     2013-06-26-12.20.58.156429


Unix Memory_D means the daily sumarization is configured.
_H and _W - are the Hourly and the Weekly.

// lists all the records.
select count(*) from itmuser."Unix_Memory"  <== typically will have  245 records for example.

// lists summarized data.
Summarized data:
select count(*) from itmuser."Unix_Memory_D" <== will have 2 - since we have had daily - and its two days since the agent was started.

select count(*) from itmuser."Unix_Memory_H" <== will have based on the hours - for 2 hours it will have 7 or 8 entries.
7 <========= This is what we will focus in this blog.

Since we have set the ITPA task to forecast based on the Hourly - the TEP GUI will show 7 entries. ( and it has been close to 2 hours since I started monitoring the agent.
and at 15 minutes each, there will be 7 summarized entries)



describe table itmuser."Unix_Memory"

                                Data type                     Column
Column name                     schema    Data type name      Length     Scale Nulls
------------------------------- --------- ------------------- ---------- ----- ------
TMZDIFF                         SYSIBM    INTEGER                      4     0 No    
WRITETIME                       SYSIBM    CHARACTER                   16     0 No    
System_Name                     SYSIBM    VARCHAR                     64     0 No    
Timestamp                       SYSIBM    CHARACTER                   16     0 Yes  
Total_Virtual_Storage_MB        SYSIBM    INTEGER                      4     0 Yes  
Used_Virtual_Storage_MB         SYSIBM    INTEGER                      4     0 Yes  
Avail_Virtual_Storage_MB        SYSIBM    INTEGER                      4     0 Yes  
Virtual_Storage_Pct_Used        SYSIBM    DECIMAL                     31     1 Yes  
Virtual_Storage_Pct_Avail       SYSIBM    DECIMAL                     31     1 Yes  
Total_Swap_Space_MB             SYSIBM    INTEGER                      4     0 Yes  
Used_Swap_Space_MB              SYSIBM    INTEGER                      4     0 Yes  
Avail_Swap_Space_MB             SYSIBM    INTEGER                      4     0 Yes  
Used_Swap_Space_Pct             SYSIBM    DECIMAL                     31     1 Yes  
Avail_Swap_Space_Pct            SYSIBM    DECIMAL                     31     1 Yes  
Total_Real_Mem_MB               SYSIBM    INTEGER                      4     0 Yes  
Used_Real_Mem_MB                SYSIBM    INTEGER                      4     0 Yes  
Avail_Real_Mem_MB               SYSIBM    INTEGER                      4     0 Yes  
Used_Real_Mem_Pct               SYSIBM    DECIMAL                     31     1 Yes  
Avail_Real_Mem_Pct              SYSIBM    DECIMAL                     31     1 Yes  
Page_Faults                     SYSIBM    INTEGER                      4     0 Yes  
Page_Reclaims                   SYSIBM    INTEGER                      4     0 Yes  
Page_Ins                        SYSIBM    INTEGER                      4     0 Yes  
Page_Outs                       SYSIBM    INTEGER                      4     0 Yes  
Page_In_Reqs                    SYSIBM    INTEGER                      4     0 Yes  
Page_Out_Reqs                   SYSIBM    INTEGER                      4     0 Yes  
Page_In_KB_S                    SYSIBM    INTEGER                      4     0 Yes  
Page_Out_KB_S                   SYSIBM    INTEGER                      4     0 Yes  
Page_In_1Min                    SYSIBM    INTEGER                      4     0 Yes  
Page_In_5Min                    SYSIBM    INTEGER                      4     0 Yes  
Page_In_15Min                   SYSIBM    INTEGER                      4     0 Yes  
Page_In_60Min                   SYSIBM    INTEGER                      4     0 Yes  
Page_Out_1Min                   SYSIBM    INTEGER                      4     0 Yes  
Page_Out_5Min                   SYSIBM    INTEGER                      4     0 Yes  
Page_Out_15Min                  SYSIBM    INTEGER                      4     0 Yes  
Page_Out_60Min                  SYSIBM    INTEGER                      4     0 Yes  
Page_Scan                       SYSIBM    INTEGER                      4     0 Yes  
Page_Scan_KB                    SYSIBM    INTEGER                      4     0 Yes  
Page_Scan_1Min                  SYSIBM    INTEGER                      4     0 Yes  
Page_Scan_5Min                  SYSIBM    INTEGER                      4     0 Yes  
Page_Scan_15Min                 SYSIBM    INTEGER                      4     0 Yes  
Page_Scan_60Min                 SYSIBM    INTEGER                      4     0 Yes  
ARC_Size_MB                     SYSIBM    INTEGER                      4     0 Yes  
Net_Memory_Used                 SYSIBM    INTEGER                      4     0 Yes  
Net_Memory_Avail                SYSIBM    INTEGER                      4     0 Yes  
Net_Memory_Used_Pct             SYSIBM    DECIMAL                     31     1 Yes  
Net_Memory_Avail_Pct            SYSIBM    DECIMAL                     31     1 Yes  
Non_Comp_Memory                 SYSIBM    INTEGER                      4     0 Yes  
Comp_Memory                     SYSIBM    INTEGER                      4     0 Yes  
Decay_Rate                      SYSIBM    INTEGER                      4     0 Yes  
Repaging_Rate                   SYSIBM    INTEGER                      4     0 Yes  
Pages_Read_per_Sec              SYSIBM    INTEGER                      4     0 Yes  
Pages_Written_per_Sec           SYSIBM    INTEGER                      4     0 Yes  
Paging_Space_Free_Pct           SYSIBM    INTEGER                      4     0 Yes  
Paging_Space_Used_Pct           SYSIBM    INTEGER                      4     0 Yes  
Paging_Space_Read_per_Sec       SYSIBM    INTEGER                      4     0 Yes  
Paging_Space_Write_per_Sec      SYSIBM    INTEGER                      4     0 Yes  

  56 record(s) selected.

these 7 records are what will be visible to the user in the TEP GUI panel.


On the ITPA side this is what was configured.




--

Now, what if I change the ITPA to change the forecast granularity from Hourly to Daily ? will it change the TEP GUI measurement count ? to number of days.
Let's see.
Yes, the number of measurements = 2 - ( its; almost 2 days I started the monitoring - the first day - I had it on and off for a bit )



Note, that the ITPA task config changed to Daily.


This tells me that the ITPA configuration from Hourly, Daily, Weekly , Monthly, Quarterly,  will depend on the number of summarized data in the DB2 for UNIX OS Agent.

i.e
Unix_Memory                     ITMUSER         T     2013-06-26-12.19.15.589568
Unix_Memory_D                   ITMUSER         T     2013-06-26-12.20.50.073287 <===  for Daily. ( in this case we have 2 records -since its 2 days since I started it on/off )
Unix_Memory_DV                  ITMUSER         V     2013-06-26-12.20.53.727654
Unix_Memory_H                   ITMUSER         T     2013-06-26-12.20.45.292147  <==  For hourly ( in this case I have 7 entries, one for every 15 mins, and its been close to 2 hrs )
Unix_Memory_HV                  ITMUSER         V     2013-06-26-12.20.49.760437
Unix_Memory_W                   ITMUSER         T     2013-06-26-12.20.54.066615  <==  for weekly
Unix_Memory_WV                


Now, lets look at ITPA  Forecast and Status tables.
Memory Overall tables
Mem_Utilization_LT_Fcast        ITMUSER         T     2013-06-26-12.23.33.169192
Mem_Utilization_LT_Status       ITMUSER         T     2013-06-26-12.23.31.573179

Memory Forecast Summarized tables.
Mem_Utilization_LT_Fcast        ITMUSER         T     2013-06-26-12.23.33.169192
Mem_Utilization_LT_Fcast_D      ITMUSER         T     2013-06-26-12.35.23.324907
Mem_Utilization_LT_Fcast_DV     ITMUSER         V     2013-06-26-12.35.25.954956
Mem_Utilization_LT_Fcast_H    

Memory Status Summarized tables.
Mem_Utilization_LT_Status_D     ITMUSER         T     2013-06-26-12.35.40.951635
Mem_Utilization_LT_Status_DV    ITMUSER         V     2013-06-26-12.35.43.587620
Mem_Utilization_LT_Status_H     ITMUSER         T     2013-06-26-12.35.37.870105
Mem_Utilization_LT_Status_HV    ITMUSER         V     2013-06-26-12.35.40.716305
Mem_Utilization_LT_Status_M     ITMUSER         T     2013-06-26-12.35.46.

Wednesday, June 19, 2013

Tivoli Performance Analyzer -Some best practices.

Often I have come across an installation where the end user has not configured the Performance Analyzer, and hence is not functional.

Here I will discuss some points about validating if the Tivoli Performance Analyzer component of IBM is installed and configured and is operational.

This blog mainly describes about detecting that the PA Report and Domain Definitions is not installed.

Here are some symptoms:

First , during the configuration, the Manage TEMS might show the Performance Analyzer in the window, however will complain that the PA tables are not installed.

This usually signals the the end user has *NOT installed the "Performance Analyzer Domain and Report Support", however has only installed the Base ITM component where the Performance Analyzer infrastructure is installed .





So cancel the operation and let's look at some background on this.

[[ I have described the Tivoli 6.3.0 which is the last released version of ITM ]]

The Base ITM 6.3.0 for a platform for ITM installs the Performance Analyzer infrastructure, if selected during the installation.

Next,install the agent (s) application support that we are interested in doing the Performance Analysis. ( i.e the OS Agent, ITCAM, DB2, SystemP and Oracle ), since these are the agents that the Performance Analyzer supports.

Followed by the Performance Analyzer  'Report and Domain definitions' component.
This installs the final piece required for the Base ITPA component for full functionality.

 




Other symptoms are listed below.

2.  cinfo -t   ( redirect this output to an external file and view it)
There are two paragraphs to the output.

One is the "PRODUCT DESCRIPTION" and another is the 'APPLICATION SUPPORT DESCRIPTION'.
In the Product Description paragraph you will see that the 'pa' agent is installed.

In the APPLICATION SUPPORT paragraph, if the lines mentioned in red (i.e p3, p0 and others ) is missing - this is clear indication that the 'Report and Domain support" for the Performance Agent is not installed.

At this point I'd assume that you have installed the OS Agent and application support for them , or other agents ( like the ITCAM, DB2, Oracle, or SystemP) before installing the PA 'Report and Domain support' component.
When I mention 'application support - I mean the TEPS, TEMS application support.

This "Report and Domain Support for Performance Analyzer" component is critical for the Performance Analyzer agent for full functionality, and has to be installed.

So, if this is not installed - then stop PA, reinstall the 'Report and Domain support', and watch for these lines in the cinfo output. If the agents application support ( and/or ) agent is **not installed, then the 'PA Report and Domain installer will complain that it is not installed and if you wish to continue the installation. This might install the 'Report and Domain support' but might have other undesirable effects, which I'd recommend not to do..

 
*********** Tue Jun 18 16:18:01 IST 2013 ******************
User: root Groups: system bin sys security cron audit lp
Host name : taddm234         Installer Lvl:06.23.01.00
CandleHome: /opt/IBM/ITM623FP1
Version Format: VV.RM.FF.II (V: Version; R: Release; M: Modification; F: Fix; I: Interim Fix)
***********************************************************
...Product inventory

PC   PRODUCT DESC                                              PLAT    VER           BUILD           INSTALL DATE    

ax   IBM Tivoli Monitoring Shared Libraries                    aix526  06.23.01.00   d2050a          20130612 1622  
ax   IBM Tivoli Monitoring Shared Libraries                    aix533  06.23.01.00   d2050a          20130612 1442  
ax   IBM Tivoli Monitoring Shared Libraries                    aix536  06.23.01.00   d2050a          20130612 1418  
cq   Tivoli Enterprise Portal Server                           aix536  06.23.01.00   d2050a          20130612 1429  
cw   Tivoli Enterprise Portal Browser Client                   aix536  06.23.01.00   d2050a          20130612 1420  
gs   IBM GSKit Security Interface                              aix523  07.40.27.00   d2031a          -              
gs   IBM GSKit Security Interface                              aix526  07.40.27.00   d2031a          -              
hd   Warehouse Proxy                                           aix536  06.23.01.00   d2050a          20130612 1443  
iu   IBM HTTP Server                                           aix536  07.00.00.00   d2031a          20130612 1423  
iw   IBM Tivoli Enterprise Portal Server Extensions            aix536  07.00.19.00   d2031a          20130612 1426  
jr   Tivoli Enterprise-supplied JRE                            aix523  06.09.02.00   d2031a          -              
jr   Tivoli Enterprise-supplied JRE                            aix526  06.09.02.00   d2031a          -              
kf   IBM Eclipse Help Server                                   aix533  06.23.01.00   d2031a          20130612 1428  
ms   Tivoli Enterprise Monitoring Server                       aix536  06.23.01.00   d2050a          20130612 1419  
pa   Tivoli Performance Analyzer                               aix533  06.23.01.00   20551           20130612 1443  
sh   Tivoli Enterprise Monitoring SOAP Server                  aix536  06.23.01.00   d2050a          20130612 1419  
sy   Summarization and Pruning Agent                           aix536  06.23.01.00   d2047a          20130612 1418  
t1   File Transfer Enablement                                  aix536  07.30.00.00   20100000-0000   -              
ue   Tivoli Enterprise Services User Interface Extensions      aix536  06.23.01.00   d2050a          20130612 1419  
ui   Tivoli Enterprise Services User Interface                 aix526  06.23.01.00   d2050a          20130612 1622  
ui   Tivoli Enterprise Services User Interface                 aix533  06.23.01.00   d2050a          20130612 1442  
ui   Tivoli Enterprise Services User Interface                 aix536  06.23.01.00   d2050a          20130612 1418  
ux   Monitoring Agent for UNIX OS                              aix526  06.23.01.00   20541           20130612 1622  


PC   APPLICATION SUPPORT DESC                                  PLAT    APP VER       BUILD           INSTALL DATE    

a4   Monitoring Agent for i5/OS                                tms     06.23.01.00   20511           20130612 1443  
a4   Monitoring Agent for i5/OS                                tps     06.23.01.00   20511           20130612 1450  
a4   Monitoring Agent for i5/OS                                tpw     06.23.01.00   20511           20130612 1448  
hd   Warehouse Proxy                                           tms     06.23.01.00   d2050a          20130612 1443  
hd   Warehouse Proxy                                           tps     06.23.01.00   d2050a          20130612 1450  
hd   Warehouse Proxy                                           tpw     06.23.01.00   d2050a          20130612 1448  
it   TEC GUI Integration                                       tps     06.23.01.00   d2031a          20130612 1450  


p3   Performance Analyzer Domain for OS agent                  tms     06.23.01.00   20552           20140108 0206
p3   Performance Analyzer Domain for OS agent                  tpa     06.23.01.00   20552           20140108 0206
p3   Performance Analyzer Domain for OS agent                  tpd     06.23.01.00   20552           20140108 0205
p3   Performance Analyzer Domain for OS agent                  tps     06.23.01.00   20552           20140108 0205
p3   Performance Analyzer Domain for OS agent                  tpw     06.23.01.00   20552           20140108 0205
p4   Performance Analyzer Domain for Oracle                    tpa     06.23.01.00   20552           20140108 0206
p6   Performance Analyzer Domain for System p                  tpa     06.23.01.00   20552           20140108 0206

pa   Tivoli Performance Analyzer                               tms     06.23.01.00   20551           20140107 1055
pa   Tivoli Performance Analyzer                               tpd     06.23.01.00   20551           20140107 1057
pa   Tivoli Performance Analyzer                               tps     06.23.01.00   20551           20140107 1056
pa   Tivoli Performance Analyzer                               tpw     06.23.01.00   20551           20140107 1057
pi   Performance Analyzer Domain for ITCAM RT                  tpa     06.23.01.00   20552           20140108 0206


Clicking on the Performance Analyzer Configuration icon on the TEPS GUI and getting the below message is another indication that the " Report and Domain Definitions" for PA is not installed.





So,the best practice is to install the Base ITM and choose the ITPA components,  (i.e select the Performance Analyzer), followed by installing agent applicaiton support for the agents that we are interested in, followed by the the " Report and Domain Definitions for the Performance Analyzer as shown in one of the snapshots above.

This has to be followed by 
- Configuring the TEPS "itmcmd config -A cq" on Unix or 'Reconfigure TEPS' using the MTEMS and
- Configure the Performance Analyzer agent. 


=============================================================

The Performance Analyzer supports these following six agents 

p0      Performance Analyzer Domain for DB2
p3      Performance Analyzer Domain for OS agent
p4      Performance Analyzer Domain for Oracle
p6      Performance Analyzer Domain for System p
pi      Performance Analyzer Domain for ITCAM RT
pu      Performance Analyzer Domain for VMware
 
If these agents are to be supported - install the agents first, followed by
installing the Performance Analyzer Report and Domain component.
 
Check that the Application support paragraph in the " cinfo -t "   have these respective
paragraphs.
 
This ensures that you will see the correct naming convention for the agent 
in the TEPS GUI - Performance Analyzer navigation bar, and also when you bring up 
the Performance Analyzer Configuration Java panel, for configuring the tasks.
 
 
=============================================================
 
Best Practices Installation :Install ITM
Intall Agent ( like OS etc )
Install PA
Configure the TEPS ( CQ ) so that the respective domains are understood by the ITM.
 
Best Practices Debugging :
 
- Check if the ITM is installed. ( cinfo -t )
- Check if the ITPA Report and Domain component is installed ( i.e the PA,P3 , P3 etc show up in the 
Application Support paragraph.

- Enable tracing in the agent.cfg which will load more debug information in the 
kpacma.log .Change Info to Debug, Restart PA and watch for the kpacma.log debug messages.
 
AgentIdUniqueId__file=local.cfg
ConsolePassword__file=local.cfg
DisableVACM=true
EngineBoots__file=local.cfg
LogCount=3
LogFile=/opt/IBM/ITM/logs/kpacma.log
LogLevel=Debug  <<<<<<<<<<<<<<<<=======================
LogSize=10000000
NotificationQueueLimit=50
UdpPort=-1
 
 
 
If DB2 - then this line ( change it appropriately ) should show up 
     2014-04-02 04:17:08: Using jvm classpath /opt/IBM/ITM/li6263/pa/bin/kpaxjdbc.jar:/opt/ibm/db2/V9.7/java/db2jcc_license_cu.jar:/opt/ibm/db2/V9.7/java/db2jcc.jar