Please find the below steps to upgrade AHF to latest version
Download latest AHF version and copy to db host
Unzip software:
[root@racnode01 ahf_stg]# unzip -oq AHF-LINUX_v21.3.4.zip
run setup command to upgrade:
[root@racnode01 ahf_stg]# ./ahf_setup
AHF Installer for Platform Linux Architecture x86_64
AHF Installation Log : /tmp/ahf_install_213400_50508_2021_12_28-20_47_27.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 21.3.4 Build Date: 202112151432
AHF is already installed at /opt/oracle.ahf
Installed AHF Version: 20.2.2 Build Date: 202008260643
Do you want to upgrade AHF [Y]|N : Y
Upgrading /opt/oracle.ahf
Shutting down AHF Services
Stopped OSWatcher
Nothing to do !
Shutting down TFA
Removed symlink /etc/systemd/system/graphical.target.wants/oracle-tfa.service.
Removed symlink /etc/systemd/system/multi-user.target.wants/oracle-tfa.service.
. . . . .
. . .
Successfully shutdown TFA..
Starting AHF Services
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
No new directories were added to TFA
Directory /app/grid/crsdata/racnode01/trace/chad was already added to TFA Directories.
INFO: Starting orachk scheduler in background. Details for the process can be found at /app/grid/oracle.ahf/data/racnode01/diag/orachk/compliance_start_281221_205029.log
Do you want AHF to store your My Oracle Support Credentials for Automatic Upload ? Y|[N] : N
AHF is successfully upgraded to latest version
.---------------------------------------------------------------------.
| Host | TFA Version | TFA Build ID | Upgrade Status |
+---------------+-------------+----------------------+----------------+
| racnode01 | 21.3.4.0.0 | 21340020211215143236 | UPGRADED |
'---------------+-------------+----------------------+----------------'
Moving /tmp/ahf_install_213400_50508_2021_12_28-20_47_27.log to /app/grid/oracle.ahf/data/racnode01/diag/ahf/
[root@racnode01 ahf_stg]# tfactl status
.-----------------------------------------------------------------------------------------------------.
| Host | Status of TFA | PID | Port | Version | Build ID | Inventory Status |
+---------------+---------------+-------+------+------------+----------------------+------------------+
| racnode01 | RUNNING | 58382 | 5000 | 21.3.4.0.0 | 21340020211215143236 | COMPLETE |
'---------------+---------------+-------+------+------------+----------------------+------------------'
No comments:
Post a Comment