ORACLE/ADMIN

오라클 AHF(Autonomous Health Framework) 설치

[PineTree] 2025. 9. 21. 12:38
반응형

RAC에서 AHF Version: 25.8.0 Build Date: 202509071420  설치 

1번 서버는 /opt/oracle.ahf디렉토리를 oracle.ahf.old로 리네임 하고 2번 서버는 그냥 놔두고 1번에서 설치

2번 서버의 root패스워드만 입력 하면 2번 까지 자동으로 설치 된다.

 

[root@rac1 oracle.ahf]# ./ahf_setup

AHF Installer for Platform Linux Architecture x86_64

AHF Installation Log : /tmp/ahf_install_258000_18542_2025_09_21-12_23_27.log

Starting Autonomous Health Framework (AHF) Installation

AHF Version: 25.8.0 Build Date: 202509071420

Default AHF Location : /opt/oracle.ahf

Do you want to install AHF at [/opt/oracle.ahf] ? [Y]|N : y

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. /u01/app/oracle [Free Space : 41392 MB]
2. Enter a different Location

Choose Option [1 - 2] : 1

AHF Data Directory : /u01/app/oracle/oracle.ahf/data

Do you want to add AHF Notification Email IDs ? [Y]|N : y

Enter Email IDs separated by space : 

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

1. rac2

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 AHF on Cluster Nodes ? [Y]|N : y

Extracting AHF to /opt/oracle.ahf

Setting up AHF CLI and SDK

Setting up compliance autoruns from AHF

Configuring TFA Services

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.

.--------------------------------------------------------------------------.
| Host | Status of TFA | PID   | Port | Version    | Build ID              |
+------+---------------+-------+------+------------+-----------------------+
| rac1 | RUNNING       | 20923 | 5000 | 25.8.0.0.0 | 250800020250907142011 |
'------+---------------+-------+------+------------+-----------------------'

Running TFA Inventory...

Adding default users to TFA Access list...

.--------------------------------------------------------------.
|                 Summary of AHF Configuration                 |
+-----------------+--------------------------------------------+
| Parameter       | Value                                      |
+-----------------+--------------------------------------------+
| AHF Location    | /opt/oracle.ahf                            |
| TFA Location    | /opt/oracle.ahf/tfa                        |
| Orachk Location | /opt/oracle.ahf/orachk                     |
| Data Directory  | /u01/app/oracle/oracle.ahf/data            |
| Repository      | /u01/app/oracle/oracle.ahf/data/repository |
| Diag Directory  | /u01/app/oracle/oracle.ahf/data/rac1/diag  |
'-----------------+--------------------------------------------'

AHF install completed on rac1

Installing AHF on Remote Nodes :

AHF will be installed on rac2, Please wait.

AHF will prompt twice to install/upgrade per Remote Node. So total 2 prompts

Do you want to continue ? Y|[N] : y

AHF will continue with Installing on remote nodes

Installing AHF on rac2 :

[rac2] Copying AHF Installer
root@rac2's password: 

[rac2] Running AHF Installer
root@rac2's password: 

AHF binaries are available in /opt/oracle.ahf/bin

AHF is successfully Installed

Do you want AHF to store your My Oracle Support Credentials for Automatic Upload ? Y|[N] : n

Moving /tmp/ahf_install_258000_18542_2025_09_21-12_23_27.log to /u01/app/oracle/oracle.ahf/data/rac1/diag/ahf/

반응형