January 28, 2020

Update Oracle TFA (linux)

Oracle Trace File Analyzer provides a number of diagnostic tools in a single bundle, making it easy to gather diagnostic information about the Oracle database and clusterware, which in turn helps with problem resolution when dealing with Oracle Support.

You can use Oracle Trace File Analyzer with all supported versions of Oracle Database and Oracle Clusterware. Operating system versions supported are the same as those supported by the Oracle Database. You need to use a Java Runtime Edition of version 1.8 or higher.

You may already have Oracle Trace File Analyzer installed. The Oracle Clusterware install shipped with Oracle Trace File Analyzer since versions and However, that install does not include many of the database tools.

Download the latest version from Oracle – TFA Collector – TFA with Database Support Tools Bundle (Doc ID 1513912.1)

Unzip in any folder…

[root@labo1234 SupportTools]# unzip TFA-LINUX_v18.4.3.zip 
Archive:  TFA-LINUX_v18.4.3.zip
  inflating: README.txt              
  inflating: installTFA-LINUX        
[root@labo1234 SupportTools]# 

Run the installer script and patch your current installed TFA

[root@labo1234 SupportTools]# ./installTFA-LINUX 
TFA Installation Log will be written to File : /tmp/tfa_install_22622_2019_03_05-12_49_49.log

Starting TFA installation

TFA Version: 184300 Build Date: 201902271016

TFA HOME : /u01/app/12.2.0/grid/tfa/labo1234/tfa_home

Installed Build Version: 183200 Build Date: 201810300012

TFA is already installed. Patching /u01/app/12.2.0/grid/tfa/labo1234/tfa_home...
TFA patching typical install from zipfile is written to /u01/app/12.2.0/grid/tfa/labo1234/tfapatch.log

TFA will be Patched on Node labo1234:

Do you want to continue with patching TFA? [Y|N] [Y]: y

Applying Patch on labo1234:

Stopping TFA Support Tools...

Shutting down TFA for Patching...

Shutting down TFA
Removed symlink /etc/systemd/system/multi-user.target.wants/oracle-tfa.service.
Removed symlink /etc/systemd/system/graphical.target.wants/oracle-tfa.service.
. . . . . 
. . . 
Successfully shutdown TFA..

No Berkeley DB upgrade required

Copying TFA Certificates...
Setting TFA Cipher Suite to TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384...

Successfully updated cipherSuite to TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 in TFA...

Running commands to fix init.tfa and tfactl in localhost

Starting TFA in labo1234...

Starting TFA..
Created symlink from /etc/systemd/system/multi-user.target.wants/oracle-tfa.service to /etc/systemd/system/oracle-tfa.service.
Created symlink from /etc/systemd/system/graphical.target.wants/oracle-tfa.service to /etc/systemd/system/oracle-tfa.service.
Waiting up to 100 seconds for TFA to be started..
. . . . . 
Successfully started TFA Process..
. . . . . 
TFA Started and listening for commands

Enabling Access for Non-root Users on labo1234...

| Host    | TFA Version | TFA Build ID         | Upgrade Status |
| labo1234 | | 18430020190227101624 | UPGRADED       |

[root@labo1234 SupportTools]# 

And verify its status

[root@labo1234 ~]# export PATH=$PATH:/u01/app/12.2.0/grid/tfa/labo1234/tfa_home/bin
[root@labo1234 ~]# tfactl status

| Host    | Status of TFA | PID   | Port | Version    | Build ID             | Inventory Status |
| labo1234 | RUNNING       | 19439 | 5000 | | 18430020190227101624 | RUNNING          |
[root@labo1234 ~]#