暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

安装TFA快速收集RAC各类日志

原创 yang 2023-11-02
475

[root@rac01 ahf21]# ./ahf_setup

AHF Installer for Platform Linux Architecture x86_64

AHF Installation Log : /tmp/ahf_install_214200_221032_2023_10_20-14_11_28.log

Starting Autonomous Health Framework (AHF) Installation

AHF Version: 21.4.2 Build Date: 202202111356

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/grid [Free Space : 41846 MB]
2. Enter a different Location

Choose Option [1 - 2] : 1

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

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

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

1. rac02
2. rac03

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

Extracting AHF to /opt/oracle.ahf

Configuring TFA Services

Discovering Nodes and Oracle Resources

Not generating certificates as GI discovered

Starting TFA Services
/opt/oracle.ahf/tfa/bin/scripts/run_cmd_with_timeout.sh: line 46: /usr/bin/df: No such file or directory

.---------------------------------------------------------------------------.
| Host | Status of TFA | PID | Port | Version | Build ID |
+-------+---------------+--------+------+------------+----------------------+
| rac01 | RUNNING | 224386 | 5000 | 21.4.2.0.0 | 21420020220211135650 |
'-------+---------------+--------+------+------------+----------------------'

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/grid/oracle.ahf/data |
| Repository | /u01/app/grid/oracle.ahf/data/repository |
| Diag Directory | /u01/app/grid/oracle.ahf/data/rac01/diag |
'-----------------+------------------------------------------'


Starting orachk scheduler from AHF ...

AHF install completed on rac01

Installing AHF on Remote Nodes :

AHF will be installed on rac02, Please wait.

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

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

AHF will continue with Installing on remote nodes

Installing AHF on rac02 :

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

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

AHF will be installed on rac03, Please wait.

Installing AHF on rac03 :

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

[rac03] Running AHF Installer
root@rac03'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_214200_221032_2023_10_20-14_11_28.log to /u01/app/grid/oracle.ahf/data/rac01/diag/ahf/

[root@rac01 ahf21]#

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论