f 升級TFA 至 19.3.2 ~ 迪貝之家

Pages

升級TFA 至 19.3.2

怎麼感覺安裝好像又變了
雖然只需要下一個指令
[root@dbha1 ~]# ./ahf_setup
AHF Installer for Platform Linux Architecture x86_64
AHF Installation Log : /tmp/ahf_install_23936_2020_03_06-11_34_10.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 193200 Build Date: 201911251327
TFA is already installed at : /u01/app/12.2.0/grid/tfa/dbha1/tfa_home
Installed TFA Version : 192100 Build ID : 20190425110550
Default AHF Location : /opt/oracle.ahf
Do you want to change AHF Location (/opt/oracle.ahf) ? Y|[N] : N
AHF Location : /opt/oracle.ahf
AHF Data Directory stores diagnostic collections and metadata.
AHF Data Directory requires at least 5GB (Recommended 10GB) of free space.
Choose Data Directory from below options :
1. /opt/oracle.ahf [Free Space : 66678 MB]
2. /u01/app/grid [Free Space : 10172 MB]
3. Enter a different Location
Choose Option [1 - 3] : 1
AHF Data Directory : /opt/oracle.ahf/data
orachk scheduler is already running at : /u01/app/12.2.0/grid/tfa/dbha1/tfa_home/ext/orachk
Installed orachk version : ORACHK VERSION: 19.2.0_20190403
Stopping orachk scheduler
Copying orachk configuration from /u01/app/12.2.0/grid/tfa/dbha1/tfa_home/ext/orachk
Shutting down TFA : /u01/app/12.2.0/grid/tfa/dbha1/tfa_home
Copying TFA Data Files from /u01/app/12.2.0/grid/tfa/dbha1/tfa_home
Uninstalling TFA : /u01/app/12.2.0/grid/tfa/dbha1/tfa_home
Do you want to add AHF Notification Email IDs ? [Y]|N : N
AHF will also be installed/upgraded on these Cluster Nodes :
1. dbha2
The AHF Location and AHF Data Directory must exist on the above nodes
AHF Location : /opt/oracle.ahf
AHF Data Directory : /opt/oracle.ahf/data
Do you want to install/upgrade AHF on Cluster Nodes ? [Y]|N : Y
Extracting AHF to /opt/oracle.ahf
Configuring TFA Services
Copying TFA Data Files to AHF
Discovering Nodes and Oracle Resources
Starting TFA Services
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.
Oracle TFA Status
Running TFA Inventory...
Adding default users to TFA Access list...
 Summary of AHF Configuration
Retrieving legacy orachk wallet details ...
Storing orachk wallet details into AHF config/wallet ...
Starting orachk daemon from AHF ...
AHF install completed on dbha1
Installing AHF on Remote Nodes :
AHF will be installed on dbha2, Please wait.
Installing AHF on dbha2 :
[dbha2] Copying AHF Installer
[dbha2] Running AHF Installer
AHF binaries are available in /opt/oracle.ahf/bin
AHF is successfully installed
Moving /tmp/ahf_install_23936_2020_03_06-11_34_10.log to /opt/oracle.ahf/data/dbha1/diag/ahf/