
Manual Upgrade Autonomous Health Framework
The Autonomous Health Framework (AHF) is the tool of choice for obtaining information such as health checks or diagnostic collections.
In addition to the documentation and important FAQs, the software can also be found in this MOS Note:
Autonomous Health Framework (AHF) – Including TFA and ORAchk/EXAchk (Doc ID 2550798.1)
The AHF can be updated to the latest version in a few simple steps.
Once this has been downloaded to a staging directory on the appropriate system, the file can be unpacked.
[root@ra01dbadm01 AHF]# mkdir AHF2320
[root@ra01dbadm01 AHF]# mv /tmp/AHF-LINUX_v23.2.0.zip AHF2320
[root@ra01dbadm01 AHF]# cd AHF2320
[root@ra01dbadm01 AHF2320]# ls
AHF-LINUX_v23.2.0.zip
[root@ra01dbadm01 AHF2320]# unzip AHF-LINUX_v23.2.0.zip
Archive: AHF-LINUX_v23.2.0.zip
inflating: README.txt
inflating: ahf_setup
extracting: ahf_setup.dat
inflating: oracle-tfa.pubNow it is possible to update the AHF to a current version.
[root@ra01dbadm01 AHF2320]# ./ahf_setup
AHF Installer for Platform Linux Architecture x86_64
AHF Installation Log : /tmp/ahf_install_232000_186000_2023_04_24-18_35_53.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 23.2.0 Build Date: 202303021115
AHF is already installed at /opt/oracle.ahf
Installed AHF Version: 21.2.3 Build Date: 202109091658
Do you want to upgrade AHF [Y]|N : Y
AHF will also be installed/upgraded on these Cluster Nodes :
1. ra01dbadm02
The AHF Location and AHF Data Directory must exist on the above nodes
AHF Location : /opt/oracle.ahf
AHF Data Directory : /u01/app/oracle/oracle.ahf/data
Do you want to install/upgrade AHF on Cluster Nodes ? [Y]|N : Y
Upgrading /opt/oracle.ahf
Shutting down AHF Services
Upgrading AHF Services
Starting AHF Services
No new directories were added to TFA
Directory /u01/app/oracle/crsdata/ra01dbadm01/trace/chad was already added to TFA Directories.
AHF upgrade completed on ra01dbadm01
Upgrading AHF on Remote Nodes :
AHF will be installed on ra01dbadm02, Please wait.
Upgrading AHF on ra01dbadm02 :
[ra01dbadm02] Copying AHF Installer
[ra01dbadm02] Running AHF Installer
Do you want AHF to store your My Oracle Support Credentials for Automatic Upload ? Y|[N] : N
.-------------------------------------------------------------------.
| Host | TFA Version | TFA Build ID | Upgrade Status |
+-------------+-------------+----------------------+----------------+
| ra01dbadm01 | 23.2.0.0.0 | 23200020230302111526 | UPGRADED |
| ra01dbadm02 | 23.2.0.0.0 | 23200020230302111526 | UPGRADED |
'-------------+-------------+----------------------+----------------'
Setting up AHF CLI and SDK
AHF is successfully upgraded to latest version
Moving /tmp/ahf_install_232000_186000_2023_04_24-18_35_53.log to /u01/app/oracle/oracle.ahf/data/ra01dbadm01/diag/ahf/
The status of the AHF can be displayed with tfactl status.
[root@ra01dbadm01 AHF]# tfactl status
.----------------------------------------------------------------------------------------------------.
| Host | Status of TFA | PID | Port | Version | Build ID | Inventory Status |
+-------------+---------------+--------+------+------------+----------------------+------------------+
| ra01dbadm01 | RUNNING | 197092 | 5000 | 23.2.0.0.0 | 23200020230302111526 | COMPLETE |
| ra01dbadm02 | RUNNING | 297700 | 5000 | 23.2.0.0.0 | 23200020230302111526 | COMPLETE |
'-------------+---------------+--------+------+------------+----------------------+------------------'A general overview of the status is also provided by ahfctl statusahf.
[root@ra01dbadm01 sw_stage]# ahfctl statusahf
.----------------------------------------------------------------------------------------------------.
| Host | Status of TFA | PID | Port | Version | Build ID | Inventory Status |
+-------------+---------------+--------+------+------------+----------------------+------------------+
| ra01dbadm01 | RUNNING | 197092 | 5000 | 23.2.0.0.0 | 23200020230302111526 | COMPLETE |
| ra01dbadm02 | RUNNING | 297700 | 5000 | 23.2.0.0.0 | 23200020230302111526 | COMPLETE |
'-------------+---------------+--------+------+------------+----------------------+------------------'
-------------------------------------+-----------------------------------------------------------------------------------------------
|Parameter | Value |
-------------------------------------+-----------------------------------------------------------------------------------------------
|Master node | ra01dbadm01 |
|exachk daemon version | 232000 |
|Install location | /opt/oracle.ahf/exachk |
|Scheduled exachk collection location | /u01/app/oracle/oracle.ahf/data/ra01dbadm01/exachk/user_root/output on Master node ra01dbadm01|
|Started at | Wed Apr 20 18:34:16 CEST 2023 |
|Scheduler type | TFA Scheduler |
|Scheduler PID | 197092 |
-------------------------------------+-----------------------------------------------------------------------------------------------
|Scheduled runs | |
-------------------------------------+-----------------------------------------------------------------------------------------------
|Scheduler | exachk.autostart_client_exatier1 |
-------------------------------------+-----------------------------------------------------------------------------------------------
|AUTORUN_FLAGS | -usediscovery -profile exatier1 -dball -showpass -tag autostart_client_exatier1 -readenvconfig|
|AUTORUN_SCHEDULE | 3 2 * * 1,2,3,4,5,6 |
|COLLECTION_RETENTION | 7 |
-------------------------------------+-----------------------------------------------------------------------------------------------
|Scheduler | exachk.autostart_client |
-------------------------------------+-----------------------------------------------------------------------------------------------
|AUTORUN_FLAGS | -usediscovery -tag autostart_client -readenvconfig |
|AUTORUN_SCHEDULE | 3 3 * * 0 |
|COLLECTION_RETENTION | 14 |
-------------------------------------+-----------------------------------------------------------------------------------------------
|Previous runs | |
-------------------------------------+-----------------------------------------------------------------------------------------------
|No previous runs | |
-------------------------------------+-----------------------------------------------------------------------------------------------
|Next auto run starts on | Apr 21, 2023 02:03:00 ID:exachk.autostart_client_exatier1 |
-------------------------------------+-----------------------------------------------------------------------------------------------


