Baixe a versão mais atual do TFA no site da Oracle através do Doc ID 1513912.1: TFA Collector – TFA with Database support Tools Bundle!
Clique em Download TFA 19.2.1
Selecione a versão do seu sistema operacional. No meu caso é o Linux x86-64:
Vá até a pasta que você selecionou para salvar o download e copie o arquivo TFA-LINUX_v19.2.1.zip para /tmp do servidor:
Copie o arquivo baixado para a pasta /tmp do servidor e verificar ela consta no diretório /tmp:
[root@server01 tmp]# ls -l TFA-LINUX_v19.2.1.zip
-rwxr-xr-x 1 root root 264751391 Aug 7 11:04 TFA-LINUX_v19.2.1.zip
Descompacte o arquivo baixado:
[root@server01 tmp]# unzip TFA-LINUX_v19.2.1.zip
Archive: TFA-LINUX_v19.2.1.zip
inflating: README.txt
inflating: installTFA-LINUX
Execute o instalador do TFA ! Se a versão do seu TFA for a mais atual, ele retornará a seguinte mensagem: TFA is already running latest version. No need to patch !
[root@server01 tmp]# ./installTFA-LINUX
TFA Installation Log will be written to File : /tmp/tfa_install_9220_2019_08_07-11_13_18.log
Starting TFA installation
TFA Version: 192100 Build Date: 201904251105
TFA HOME : /u01/app/oracle/tfa/server01/tfa_home
Installed Build Version: 192100 Build Date: 201904251105
TFA-00022: TFA is already running latest version. No need to patch.
Se sua versão estiver desatualizada, o instalador irá atualizar o TFA com a versão desejada e retornará a seguinte mensagem: TFA is already installed. Upgrading TFA !
[root@server01 tmp]# ./installTFA-LINUX
TFA Installation Log will be written to File : /tmp/tfa_install_7068_2019_08_07-11_15_10.log
Starting TFA installation
TFA Version: 192100 Build Date: 201904251105
TFA HOME : /u01/app/oracle/tfa/server01/tfa_home
Installed Build Version: 122100 Build Date: 201611221703
TFA is already installed. Upgrading TFA
TFA Upgrade Log : /u01/app/oracle/tfa/server01/tfapatch.log
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
TFA will be upgraded on Node server01:
Digite Y para atualizar o seu TFA:
Do you want to continue with TFA Upgrade ? [Y|N] [Y]: Y
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
Upgrading TFA on server01 :
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…
Starting TFA in server01…
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 server01…
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
Ao término do upgrade, a seguinte tela será exibida mostrando que o TFA foi atualizado com sucesso:
Feito isso, basta checar o status do TFA:
[root@server01 tmp]# cd /u01/app/oracle/tfa/server01/tfa_home/bin/
[root@server01 bin]# ./tfactl status
Verifique a versão e o status das ferramentas instaladas/atualizadas pelo TFA
[root@server01 tmp]# cd /u01/app/oracle/tfa/server01/tfa_home/bin/
[root@server01 bin]# ./tfactl toolstatus
Feito isso, você poderá usar os recursos como: oratop, orachk, dbchk dente outros.