How to install Trace File Analyzer (TFA)
Description:
Step 1: If possible you should install as root. This will give you the richest capabilities.
To install as root:
- Download the appropriate installer from above, copy to a target machine and unzip
- Run the TFA & ORAchk/EXAchk install command ./ahf_setup [-ahf_loc install_dir] [-data_dir data_dir]
Step 2: Run the below command to install
./ahf_setup -data_dir /u01/ahf/output -ahf_loc /u01/ahf
[root@atlora01 u01]# ./ahf_setup -data_dir /u01/ahf/output -ahf_loc /u01/ahf AHF Installer for Platform Linux Architecture x86_64 AHF Installation Log : /tmp/ahf_install_212100_8431_2021_08_30-18_09_41.log Starting Autonomous Health Framework (AHF) Installation AHF Version: 21.2.1 Build Date: 202108130422 TFA is already installed at : /u01/app/12.2.0.1/grid/tfa/atlora01/tfa_home Installed TFA Version : 181100 Build ID : 20180328025002 AHF Location : /u01/ahf/oracle.ahf AHF Data Directory : /u01/ahf/output/oracle.ahf/data Shutting down TFA : /u01/app/12.2.0.1/grid/tfa/atlora01/tfa_home Copying TFA Data Files from /u01/app/12.2.0.1/grid/tfa/atlora01/tfa_homeUninstalling TFA : /u01/app/12.2.0.1/grid/tfa/atlora01/tfa_home
Do you want to add AHF Notification Email IDs ? [Y]|N : N
Extracting AHF to /u01/ahf/oracle.ahf
Configuring TFA Services
Copying TFA Data Files to AHF
Discovering Nodes and Oracle Resources
Starting TFA Services
.-----------------------------------------------------------------------------. | Host | Status of TFA | PID | Port | Version | Build ID | +----------+---------------+-------+------+------------+----------------------+ | atlora01 | RUNNING | 12593 | 5000 | 21.2.1.0.0 | 21210020210813042249 | '----------+---------------+-------+------+------------+----------------------'
Running TFA Inventory...
Adding default users to TFA Access list...
.-----------------------------------------------------------------. | Summary of AHF Configuration | +-----------------+-----------------------------------------------+ | Parameter | Value | +-----------------+-----------------------------------------------+ | AHF Location | /u01/ahf/oracle.ahf | | TFA Location | /u01/ahf/oracle.ahf/tfa | | Orachk Location | /u01/ahf/oracle.ahf/orachk | | Data Directory | /u01/ahf/output/oracle.ahf/data | | Repository | /u01/ahf/output/oracle.ahf/data/repository | | Diag Directory | /u01/ahf/output/oracle.ahf/data/atlora01/diag | '-----------------+-----------------------------------------------' Starting orachk scheduler from AHF ...
Adding rpm Metadata to rpm database on ODA system RPM File /u01/ahf/oracle.ahf/rpms/oracle-ahf-212100-20210813042249.x86_64.rpm Preparing... ########################################### [100%] Using Dummy RPM Installer for oracle-ahf Tool Install Base /opt/oracle.ahf
1:oracle-ahf ########################################### [100%] Installing oracle-ahf
AHF binaries are available in /u01/ahf/oracle.ahf/bin
AHF is successfully installed
Do you want AHF to store your My Oracle Support Credentials for Automatic Upload ? Y|[N] : N Moving /tmp/ahf_install_212100_8431_2021_08_30-18_09_41.log to /u01/ahf/output/oracle.ahf/data/atlora01/diag/ahf/
Viewing System and Cluster Summary
To find all errors in the last one day
To find all occurrences of a specific error (in this case ORA-00600 errors)
To set the notification email to use
Enable or disable Automatic collections (ON by default)
Adjusting the Diagnostic Data Collection Period
Analyze, trim and zip all files updated in the last 12 hours, including Cluster Health Monitor and OSWatcher data, from across all nodes the cluster