在AIX下升级AHF,详见如下。

test002#./ahf_setup

AHF Installer for Platform AIX Architecture PPC64

AHF Installation Log : /tmp/ahf_install_212300_10748358_2021_10_08-15_41_22.log

Starting Autonomous Health Framework (AHF) Installation

AHF Version: 21.2.3 Build Date: 202109091658

AHF is already installed at /opt/oracle.ahf

Installed AHF Version: 20.4.4 Build Date: 202103031514

Do you want to upgrade AHF [Y]|N : Y

AHF will also be installed/upgraded on these Cluster Nodes :

1. test001

The AHF Location and AHF Data Directory must exist on the above nodes
AHF Location : /opt/oracle.ahf
AHF Data Directory : /u01/app/grid/oracle.ahf/data

Do you want to install/upgrade AHF on Cluster Nodes ? [Y]|N : y

Upgrading /opt/oracle.ahf
error: cannot delete old /tmp/.ahf.10748358/oracle.ahf/python/lib/python3.9/site-packages/psutil-5.7.2-py3.9.egg-info
Not owner
TFA-00002 Oracle Trace File Analyzer (TFA) is not running

Shutting down AHF Services
TFA-00002 Oracle Trace File Analyzer (TFA) is not running
Shutting down TFA
TFA-00002 Oracle Trace File Analyzer (TFA) is not running
. . . . .
. . .
Successfully shutdown TFA..

Telemetry adapter is not running

Starting AHF Services
Starting TFA..
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 /u01/app/grid/crsdata/test002/trace/chad was already added to TFA Directories.


AHF upgrade completed on test002

Upgrading AHF on Remote Nodes :

AHF will be installed on test001, Please wait.

Please Enter the password for test001 :

Is password same for all the nodes? [Y]|N : Y

Upgrading AHF on test001 :

[test001] Copying AHF Installer

[test001] Running AHF Installer

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 |
+-------------+-------------+----------------------+----------------+
| test002 | 21.2.3.0.0 | 21230020210909165804 | UPGRADED |
| test001 | 21.2.3.0.0 | 21230020210909165804 | UPGRADED |
'-------------+-------------+----------------------+----------------'


Moving /tmp/ahf_install_212300_10748358_2021_10_08-15_41_22.log to /u01/app/grid/oracle.ahf/data/test002/diag/ahf/

版权声明:本文为博主原创文章,未经博主允许不得转载。

oracle