-- 本篇使用root安装
yum -y install perl-Data-Dumper
mkdir -p /{ahf,ahf_data}
unzip AHF-LINUX_v23.10.0.zip
./ahf_setup -ahf_loc /ahf -data_dir /ahf_data -silent
-------------- 安装过程 -------------
[root@]# ./ahf_setup
AHF Installer for Platform Linux Architecture x86_64
AHF Installation Log : /tmp/ahf_install_2310000_6881_2023_11_12-19_44_08.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 23.10.0 Build Date: 202310311821
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.
Please Enter AHF Data Directory : /ahf
AHF Data Directory : /ahf/oracle.ahf/data
Do you want to add AHF Notification Email IDs ? [Y]|N : n
Extracting AHF to /opt/oracle.ahf
Configuring TFA Services
Discovering Nodes and Oracle Resources
Successfully generated certificates.
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 |
+---------------+---------------+------+-------+-------------+-----------------------+
| oracle-19c-si | RUNNING | 8732 | 28739 | 23.10.0.0.0 | 231000020231031182123 |
'---------------+---------------+------+-------+-------------+-----------------------'
Invalid option specified : cookie
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 | /ahf/oracle.ahf/data |
| Repository | /ahf/oracle.ahf/data/repository |
| Diag Directory | /ahf/oracle.ahf/data/oracle-19c-si/diag |
'-----------------+-----------------------------------------'
Starting ORAchk Scheduler from AHF
Setting up AHF CLI and SDK
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_2310000_6881_2023_11_12-19_44_08.log to /ahf/oracle.ahf/data/oracle-19c-si/diag/ahf/
AHF使用
The new ahf command combines functionality from pre-existing as well asnew AHF component CLIs into a single easy to understand command.
Previously, AHF included many components, eachwith their own command line. This has made it difficult for user to use different features of AHF.
This release begins the unification of all AHF components under a single command line
ahf <category> <action> [<options>]
Where categories are:
configuration - for changing AHF configuration
security - for security related configuration
collection - for capturing diagnostic data
analysis - for analyzing an environment for problems and providing recommendations for corrective action
software - for modifying the install software patching, upgrading or uninstalling
schedule - for scheduling automated tasks
observer - for viewing potential problems captured by AHF
Unification of commands will continuein future releases. Pre-existing commands continueto be supported.
For more information, see the AHF User's Guide section on Unified Command-Line Interface for the Entire AHF Stack .
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?