Thursday, November 4, 2021

how to installed exacheck and AHF in exadata ?

[root@testserver1 exachk]# tfactl version -all TFA Version : 201100 TFA Build ID : 20200317092524 TFA Build Label : TFA_MAIN_GENERIC_200316.0101 EXACHK VERSION: 20.1.1_20200317 AHF VERSION: 20.1.1 [root@testserver1 exachk]# cat /etc/oracle.ahf.loc /opt/oracle.ahf [root@testserver1 exachk]# clear [root@testserver1 exachk]# pwd /opt/oracle.SupportTools/exachk [root@testserver1 exachk]# ls AHF-LINUX_v21.3.0.zip [root@testserver1 exachk]# unzip AHF-LINUX_v21.3.0.zip Archive: AHF-LINUX_v21.3.0.zip inflating: README.txt inflating: ahf_setup extracting: ahf_setup.dat inflating: oracle-tfa.pub [root@testserver1 exachk]# ls AHF-LINUX_v21.3.0.zip ahf_setup ahf_setup.dat oracle-tfa.pub README.txt [root@testserver1 exachk]# ps -ef | grep pmon oracle 73302 1 0 2020 ? 00:27:28 asm_pmon_+ASM1 oracle 83548 1 0 2020 ? 00:28:47 apx_pmon_+APX1 oracle 87213 1 0 2020 ? 01:07:58 ora_pmon_g0db1db11 root 388435 324559 0 13:39 pts/0 00:00:00 grep --color=auto pmon [root@testserver1 exachk]# ./ahf_setup -ahf_loc /opt -data_dir /u01/app/oracle/ AHF Installer for Platform Linux Architecture x86_64 AHF Installation Log : /tmp/ahf_install_213000_392797_2021_11_04-13_40_36.log Starting Autonomous Health Framework (AHF) Installation AHF Version: 21.3.0 Build Date: 202110290347 AHF is already installed at /opt/oracle.ahf Installed AHF Version: 20.1.1 Build Date: 202003170925 Do you want to upgrade AHF [Y]|N : Y AHF will also be installed/upgraded on these Cluster Nodes : 1. testserver2 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 Nothing to do ! Shutting down TFA Removed symlink /etc/systemd/system/multi-user.target.wants/oracle-tfa.service. Removed symlink /etc/systemd/system/graphical.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 Running Inventory ... Successfully added directory to TFA INFO: Starting exachk scheduler in background. Details for the process can be found at /u01/app/oracle/oracle.ahf/data/testserver1/diag/exachk/compliance_start_041121_134432.log AHF upgrade completed on testserver1 Upgrading AHF on Remote Nodes : AHF will be installed on testserver2, Please wait. Upgrading AHF on testserver2 : [testserver2] Copying AHF Installer [testserver2] Running AHF Installer Do you want AHF to store your My Oracle Support Credentials for Automatic Upload ? Y|[N] : Y Mos setup is unsuccessfull do you want to retry ? Y|N: N AHF is successfully upgraded to latest version .-----------------------------------------------------------------------. | Host | TFA Version | TFA Build ID | Upgrade Status | +-----------------+-------------+----------------------+----------------+ | testserver1 | 21.3.0.0.0 | 21300020211029034711 | UPGRADED | | testserver2 | 21.3.0.0.0 | 21300020211029034711 | UPGRADED | '-----------------+-------------+----------------------+----------------' Moving /tmp/ahf_install_213000_392797_2021_11_04-13_40_36.log to /u01/app/oracle/oracle.ahf/data/testserver1/diag/ahf/ [root@testserver1 exachk]# exachk -v EXACHK VERSION: 21.3.0_20211029

No comments:

Post a Comment