Tuesday, November 12, 2013

Uninstalling Performance Analyzer.

Blog on how to remove the PA ( both the Base PA and the application support is listed here )


The steps are listed in this page.

http://publib.boulder.ibm.com/infocenter/tivihelp/v15r1/index.jsp?topic=%2Fcom.ibm.kpa.analytic.doc%2Ft_instal_uninstall.html








Before you start  uninstalling, record these below.

cinfo -t  should have listed the PA components:

*********** Tue Nov 12 12:20:53 IST 2013 ******************
User: root Groups: root bin daemon sys adm disk wheel
Host name : nc9118040059         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          20131108 1033
ax   IBM Tivoli Monitoring Shared Libraries                    lx8263  06.23.01.00   d2050a          20131108 1023
ax   IBM Tivoli Monitoring Shared Libraries                    lx8266  06.23.01.00   d2050a          20131108 1023
cq   Tivoli Enterprise Portal Server                           lx8263  06.23.01.00   d2050a          20131108 1025
cw   Tivoli Enterprise Portal Browser Client                   lx8263  06.23.01.00   d2050a          20131108 1024
gs   IBM GSKit Security Interface                              li6243  07.40.27.00   d2031a          -
gs   IBM GSKit Security Interface                              lx8266  07.40.27.00   d2031a          -
hd   Warehouse Proxy                                           lx8266  06.23.01.00   d2050a          20131108 1033
iu   IBM HTTP Server                                           li6263  07.00.00.00   d2031a          20131108 1024
iw   IBM Tivoli Enterprise Portal Server Extensions            li6263  07.00.19.00   d2031a          20131108 1025
jr   Tivoli Enterprise-supplied JRE                            li6263  06.09.02.00   d2031a          -
jr   Tivoli Enterprise-supplied JRE                            lx8266  06.09.02.00   d2031a          -
kf   IBM Eclipse Help Server                                   li6263  06.23.01.00   d2031a          20131108 1025
lz   Monitoring Agent for Linux OS                             lx8266  06.23.01.00   20471           20131108 1050
ms   Tivoli Enterprise Monitoring Server                       lx8266  06.23.01.00   d2050a          20131108 1023
pa   Tivoli Performance Analyzer                               lx8266  06.23.01.00   20551           20131108 1033
sh   Tivoli Enterprise Monitoring SOAP Server                  lx8266  06.23.01.00   d2050a          20131108 1023
sy   Summarization and Pruning Agent                           lx8266  06.23.01.00   d2047a          20131108 1023
t1   ITCAM File Transfer Enablement                            lx8263  07.21.01.00   201211232112    20131108 1221
t1   ITCAM File Transfer Enablement                            lx8266  07.30.00.00   20100000-0000   -
t3   ITCAM Console                                             lx8263  07.30.01.20   201306060420    20131108 1220
t4   ITCAM for Client Response Time                            lx8263  07.30.01.00   201211232112    20131108 1221
t5   ITCAM for Web Response Time                               lx8266  07.30.01.00   201211232112    20131108 1222
t6   ITCAM for Robotic Response Time                           lx8263  07.30.01.00   201211232112    20131108 1221
ue   Tivoli Enterprise Services User Interface Extensions      lx8266  06.23.01.00   d2050a          20131108 1023
ui   Tivoli Enterprise Services User Interface                 lx8263  06.23.01.00   d2050a          20131108 1023
ui   Tivoli Enterprise Services User Interface                 lx8266  06.23.01.00   d2050a          20131108 1023


PC   APPLICATION SUPPORT DESC                                  PLAT    APP VER       BUILD           INSTALL DATE

a4   Monitoring Agent for i5/OS                                tms     06.23.01.00   20511           20131108 1033
a4   Monitoring Agent for i5/OS                                tps     06.23.01.00   20511           20131108 1038
a4   Monitoring Agent for i5/OS                                tpw     06.23.01.00   20511           20131108 1037
hd   Warehouse Proxy                                           tms     06.23.01.00   d2050a          20131108 1033
hd   Warehouse Proxy                                           tps     06.23.01.00   d2050a          20131108 1039
hd   Warehouse Proxy                                           tpw     06.23.01.00   d2050a          20131108 1038
it   TEC GUI Integration                                       tps     06.23.01.00   d2031a          20131108 1038
it   TEC GUI Integration                                       tpw     06.23.01.00   d2031a          20131108 1037
lz   Monitoring Agent for Linux OS                             tms     06.23.01.00   20471           20131108 1033
lz   Monitoring Agent for Linux OS                             tps     06.23.01.00   20471           20131108 1038
lz   Monitoring Agent for Linux OS                             tpw     06.23.01.00   20471           20131108 1037
ms   Tivoli Enterprise Monitoring Server                       tms     06.23.01.00   d2050a          20131108 1033
nt   Monitoring Agent for Windows OS                           tms     06.23.01.00   20471           20131108 1033
nt   Monitoring Agent for Windows OS                           tps     06.23.01.00   20471           20131108 1038
nt   Monitoring Agent for Windows OS                           tpw     06.23.01.00   20471           20131108 1037
p0   Performance Analyzer Domain for DB2                       tpa     06.23.01.00   20552           20131108 1349
p3   Performance Analyzer Domain for OS agent                  tms     06.23.01.00   20552           20131108 1349
p3   Performance Analyzer Domain for OS agent                  tpa     06.23.01.00   20552           20131108 1349
p3   Performance Analyzer Domain for OS agent                  tps     06.23.01.00   20552           20131108 1349
p3   Performance Analyzer Domain for OS agent                  tpw     06.23.01.00   20552           20131108 1348
p4   Performance Analyzer Domain for Oracle                    tpa     06.23.01.00   20552           20131108 1349
p6   Performance Analyzer Domain for System p                  tpa     06.23.01.00   20552           20131108 1349
pa   Tivoli Performance Analyzer                               tms     06.23.01.00   20551           20131108 1033
pa   Tivoli Performance Analyzer                               tps     06.23.01.00   20551           20131108 1038
pa   Tivoli Performance Analyzer                               tpw     06.23.01.00   20551           20131108 1037
pi   Performance Analyzer Domain for ITCAM RT                  tms     06.23.01.00   20552           20131108 1349
pi   Performance Analyzer Domain for ITCAM RT                  tpa     06.23.01.00   20552           20131108 1349
pi   Performance Analyzer Domain for ITCAM RT                  tps     06.23.01.00   20552           20131108 1349
pi   Performance Analyzer Domain for ITCAM RT                  tpw     06.23.01.00   20552           20131108 1348
pu   Performance Analyzer Domain for VMware                    tpa     06.23.01.00   20552           20131108 1349




Login to the database, and check that the KPA tables are present ( or missing if they are corrupted  )




( Hint: These gets installed when we are installing the base ITM PA component,  Option 1 )
 
 On a RHEL 64 server
Step b: above.

cd /opt/IBM/ITM/lx8266/pa/bin

[root@nc9118040059 bin]# pwd
/opt/IBM/ITM/lx8266/pa/bin
[root@nc9118040059 bin]# uname -p
x86_64



Step c:
Before issuing the Drop PA tables
Check that the Database is started,  ( In this blog I have used DB2 )
check that the paconf.,jar is in the folder where I am looking to run the above command ( .. -destroyDB)
check that the db2jcc.jar and db2jcc_license.jar  -
Get that figured out first - before executing the command.

The command is

/opt/IBM/ITM/JRE/lx8266/bin/java -cp paconf.jar:/opt/IBM/ITM/classes/kjrall.jar:/opt/ibm/db2/V9.7/java/db2jcc.jar:/opt/ibm/db2/V9.7/java/db2jcc_license_cu.jar com.ibm.tivoli.pa.config.PAConfigMain -destroyDB
Nov 12, 2013 12:54:38 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: Dropping all tables
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPATASKS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPAPROPS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPAATTR. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPACONSTRAINTS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPANODES. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPAOUTPUTS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPAIDENTDESTS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPAIDENTSRCS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPAJOINS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPAOUTPUTSETS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPALOCK. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPATFRAMES. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPAEXCEPTIONS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPAEXCCONSTR. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPAFOLDERS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPADOMAINS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPASPSSTASKS. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: SQLException caught dropping table: KPACONF. Continue...
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.data.DBTaskStorage dropAllTables
INFO: All tables dropped
Nov 12, 2013 12:54:41 PM com.ibm.tivoli.pa.config.PAConfigMain process
INFO: Done




The above message was because the KPATASKS etc were not created to begin with and was corrupted - hence the exception - but assuming it is there then the output would be different.

Now, run the
db2 list tables for all
the KPATASKS and others should all be gone.


Step 2 and 3:
Stop all the processes first ( itmcmd agent stop cq hd sy lz all )

./uninstall.sh





This will leave you with the product uninstalled.


But the Application support will still be there.

Link to remove the app support is :

http://www-01.ibm.com/support/docview.wss?uid=swg21296601

Follow steps below :

bin/uninstall-appsupp.sh -c tps ${XX}

Remove TEPS App support.

[root@nc9118040059 ITM]# bin/uninstall-appsupp.sh -c tps ${XX}
uninstall-appsupp.sh        : Application support for pa tps will be removed..
Processing. Please wait...
Stopping Tivoli Enterprise Portal Server ...
KCIIN0196E Agent is not running...
Processing. Please wait...
Stopping IBM Eclipse Help Server ...
KCIIN0196E Agent is not running...
Starting user script...
The Tivoli Enterprise Portal Server (TEPS) was not found to be running.
. /opt/IBM/ITM/lx8263/cq/bin/migrate-export.sh /opt/IBM/ITM/lx8263/cq/bin/migrate-env.sh         2>&1 > /opt/IBM/ITM/logs/migrate-export.log
Starting the Tivoli Enterprise Portal Server (TEPS) in script mode.
Execution of migrate-export.sh complete
Starting user script...
Starting user script...
The Tivoli Enterprise Portal Server (TEPS) was not found to be running.
. /opt/IBM/ITM/lx8263/cq/bin/migrate-import.sh /opt/IBM/ITM/lx8263/cq/bin/migrate-env.sh         2>&1 > /opt/IBM/ITM/logs/migrate-import.log
Starting the Tivoli Enterprise Portal Server (TEPS) in script mode.
Execution of migrate-import.sh complete
uninstall-appsupp.sh        : Application support for pa tpw will be removed..
Agent configuration started...
... running InstallPresentation.sh
... InstallPresentation.sh completed
Agent configuration completed...


Remove TEMS app support
[root@nc9118040059 ITM]# bin/uninstall-appsupp.sh -c tms -t TEMS ${XX}
uninstall-appsupp.sh        : Application support for pa tms will be removed..
Stopping TEMS...
It can take up to ten minutes.
KCIIN0083E TEMS is not running...
Starting TEMS...
It can take up to ten minutes.
TEMS started...
Stopping TEMS...
It can take up to ten minutes.
TEMS stopped...



Next ,

Each time - run the cinfo - t and check that the pa stuff is removed.
now,

Remove the application support for p3, pi and other domains that were installed.
[root@nc9118040059 bin]# ./uninstall-appsupp.sh -c tps p3
uninstall-appsupp.sh        : Application support for p3 tps will be removed..
Processing. Please wait...
Stopping Tivoli Enterprise Portal Server ...
KCIIN0196E Agent is not running...
        Processing. Please wait...
Stopping IBM Eclipse Help Server ...
KCIIN0196E Agent is not running...
Starting user script...
The Tivoli Enterprise Portal Server (TEPS) was not found to be running.
. /opt/IBM/ITM/lx8263/cq/bin/migrate-export.sh /opt/IBM/ITM/lx8263/cq/bin/migrate-env.sh         2>&1 > /opt/IBM/ITM/logs/migrate-export.log
Starting the Tivoli Enterprise Portal Server (TEPS) in script mode.
Execution of migrate-export.sh complete
Starting user script...
Starting user script...
The Tivoli Enterprise Portal Server (TEPS) was not found to be running.
. /opt/IBM/ITM/lx8263/cq/bin/migrate-import.sh /opt/IBM/ITM/lx8263/cq/bin/migrate-env.sh         2>&1 > /opt/IBM/ITM/logs/migrate-import.log
Starting the Tivoli Enterprise Portal Server (TEPS) in script mode.
Execution of migrate-import.sh complete
uninstall-appsupp.sh        : Application support for p3 tpw will be removed..
Agent configuration started...
... running InstallPresentation.sh
... InstallPresentation.sh completed
Agent configuration completed...



[root@nc9118040059 bin]# ./uninstall-appsupp.sh -c tps pi
uninstall-appsupp.sh        : Application support for pi tps will be removed..
Processing. Please wait...
Stopping Tivoli Enterprise Portal Server ...
KCIIN0196E Agent is not running...
Processing. Please wait...
Stopping IBM Eclipse Help Server ...
KCIIN0196E Agent is not running...
Starting user script...
The Tivoli Enterprise Portal Server (TEPS) was not found to be running.
. /opt/IBM/ITM/lx8263/cq/bin/migrate-export.sh /opt/IBM/ITM/lx8263/cq/bin/migrate-env.sh         2>&1 > /opt/IBM/ITM/logs/migrate-export.log
Starting the Tivoli Enterprise Portal Server (TEPS) in script mode.
The Tivoli Enterprise Portal Server (TEPS) was not found to be running.
. /opt/IBM/ITM/lx8263/cq/bin/migrate-import.sh /opt/IBM/ITM/lx8263/cq/bin/migrate-env.sh         2>&1 > /opt/IBM/ITM/logs/migrate-import.log
Starting the Tivoli Enterprise Portal Server (TEPS) in script mode.
Execution of migrate-import.sh complete
uninstall-appsupp.sh        : Application support for pi tpw will be removed..
Agent configuration started...
... running InstallPresentation.sh
... InstallPresentation.sh completed
Agent configuration completed...






Reboot it after done.





Now, install the Base ITM and choose Performance Analyzer.



------------- Cut and Paste of removal of application support ---------------




How can I remove Application Support for a specific product?
Cause
Programmatic Application Support removal is not supported by any ITM based product.
Answer
APAR IY95965 describes a procedure that, when executed, removes Application Support for a specific Product Code. The APAR applies to IBM Tivoli Monitoring releases ITM 6.1 through ITM 6.2.2
To remove Application Support, follow one of the attached procedures.
There are separate instructions and files for both Unix/Linux platforms and Windows platforms.

The attached document files explain in detail how to remove Application Support from TEMS, TEPS, TEPW (browser client) and TEPD (desktop client).
The zip and tar files contain utilities to aid in the removal process.

The instructions must be followed exactly as stated or errors may occur. Be sure to have a complete backup of your ITM environment including external databases before you use either of these procedures.

NOTE: For Webstart users.
If you are using the TEP Webstart console, additional steps are no longer required. The instructions and utilities have been updated to cause tep.jnlp to be properly regenerated.

Windows Files:
[
IY95965.AppSupp.Uninstall.Windows.doc



iy95965.utils.zip

Unix/Linux Files:


IY95965.AppSupp.Uninstall.Unix.doc


iy95965.utils.tar















1 comment:

  1. Business intelligence analyst
    SQIAR (http://www.sqiar.com/services/bi-strategy/) is a leading Business Intelligence company.Sqiar Provide business intelligence Services Which help the company to present Information in Meaningful form.

    ReplyDelete