AHF is automatically installed under ORACLE_HOME/suptools and is automatically updated by PSU and RU patches.
For OCI Oracle DB Systems (VM), AHF is automatically installed under /u01/app/oracle.ahf and, by default, is automatically updated weekly.
AHF now includes the Trace File Analyzer (TFA) and ORAchk.
AHF requires that /etc/oratab accurately reflects the ORACLE_HOMEs for running instances.
cd /u01/app/oracle.ahf/bin
./ahfctl version
./ahfctl version -a
./ahfctl statusahf
./tfactl toolstatus
./ahfctl startahf
./ahfctl stopahf
tfactl diagcollect -from "Oct/05/2022 20:00:00" -to "Oct/06/2022 03:00:00"
Manual installation should be performed as 'root'.
You should download the installation zip file to /u01/img/AHF and uncompress it before running the installation script...
./ahf_setup
NOTE: AHF requires 11GB of free space in the /opt filesystem.
Although alternative targets can be specified there is a requirement for the target directory structure to be owned by 'root' when AHF is installed as 'root'. This means that subdirectories of /u01 are not valid targets. It is possible to install AHF as a non-root user, which would avoid this problem, but this limits functionality and is thus not recommended.
Version 22.2.1 for AIX
Using default install location: /opt/oracle.ahf
Specifying /opt/oracle.ahf.data as Data Directory... this probably isn't the right thing to do
unzip AHF-AIX-PPC64_v22.2.1.zip
Archive: AHF-AIX-PPC64_v22.2.1.zip inflating: README.txt inflating: ahf_setup extracting: ahf_setup.dat inflating: oracle-tfa.pub./ahf_setup
Do you want to install AHF at [/opt/oracle.ahf] ? [Y]|N : Y
Please Enter AHF Data Directory : /opt/oracle.ahf.data
Enter Email IDs separated by space : myemail@myaddress.com
Do you want AHF to store your My Oracle Support Credentials for Automatic Upload ? Y|[N] : N
AHF is automatically installed and automatically updated each week.
dbcli list-jobs | grep Infra
dbcli describe-job -i $(dbcli list-jobs | grep Infra | tail -1 | cut -f1 -d' ')
Manually update...
dbcli update-infra