How to install AHF:
You should install it as root.
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]
ORAchk/EXAchk compliance check results – To proactively warn you of risks
Trace File Analyzer (TFA) diagnostic collections – Taken automatically on detection of a fault
Once installation is complete TFA will be automatically started.
ORAchk/EXAchk can be started to run automatic compliance checks with the command: orachk -autostart or exachk -autostart
Once autostart has been run ORAchk/EXAchk will perform compliance checks for:
- The most severe problems at 2am, once a day
- All known problems once a week at 3am on a Sunday
- Send an email to the notification addresses, provided during install of any check failures and a diff since the last run
Trace File Analyzer (TFA) will monitor for significant issues.
If any issues are detected TFA will automatically:
- Take a diagnostic collection of everything needed to diagnose & resolve (cluster-wide where necessary)
- Collocate distributed collections
- Analyze collections for known problemsSend an email to the notification addresses, provided during install, containing details of the issues detected, recommended solutions were known, and the location of diagnostic collection(s).
Reference Doc: support.oracle.com
Installation method mentioned below:
[root@oracleagent 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/19.3.0.0/grid/tfa/oracleagent/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/19.3.0.0/grid/tfa/oracleagent/tfa_home
Copying TFA Data Files from /u01/app/19.3.0.0/grid/tfa/oracleagent/tfa_home
Uninstalling TFA : /u01/app/19.3.0.0/grid/tfa/oracleagent/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 |
+——————+———————+———-+——–+—————-+————————————-+
| oracleagent | 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/oracleagent/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/oracleagent/diag/ahf/
Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter: https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8