Linux下安装AHF

网友投稿 1045 2022-09-01

Linux下安装AHF

Linux下安装AHF

TFA :收集日志的工具ORAchk/EXAchk : 检查系统的工具AHF :Oracle在2019年10月18日发布自治健康框架Autonomous Health Framework (AHF) 19.3,将ORAchk,EXAchk,TFA三种诊断工具合并入AHF,作为一个单一的安装软件被称作AHF。AHF可以使用root或者非root用户安装,而且所有的命令行指令和之前版本一样,ORAchk,EXAchk,TFA被放置在AHF_LOC/bin的目录下。——AHF需要定期更新。

[root@node02:/tmp]$ unzip AHF-LINUX_v21.2.3.zip[root@node02:/tmp]$ ./ahf_setup AHF Installer for Platform Linux Architecture x86_64AHF Installation Log : /tmp/ahf_install_212300_464_2021_10_08-15_12_14.logStarting Autonomous Health Framework (AHF) InstallationAHF Version: 21.2.3 Build Date: 202109091658Default AHF Location : /opt/oracle.ahfDo you want to install AHF at [/opt/oracle.ahf] ? [Y]|N : AHF Location : /opt/oracle.ahfAHF Data Directory stores diagnostic collections and metadata.AHF Data Directory requires at least 5GB (Recommended 10GB) of free space.Please Enter AHF Data Directory : /opt/oracle.ahfAHF Data Directory : /opt/oracle.ahf/dataDo you want to add AHF Notification Email IDs ? [Y]|N : YEnter Email IDs separated by space : sa.haibo.he@oracle.comLogin using root is disabled in sshd config. Installing AHF only on Local NodeExtracting AHF to /opt/oracle.ahfConfiguring TFA ServicesDiscovering Nodes and Oracle ResourcesSuccessfully generated certificates.Starting TFA ServicesCreated 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 |+--------+---------------+------+-------+------------+----------------------+| node02 | RUNNING | 2230 | 35345 | 21.2.3.0.0 | 21230020210909165804 |'--------+---------------+------+-------+------------+----------------------'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 | /opt/oracle.ahf/data || Repository | /opt/oracle.ahf/data/repository || Diag Directory | /opt/oracle.ahf/data/node02/diag |'-----------------+----------------------------------'Starting orachk scheduler from AHF ...AHF binaries are available in /opt/oracle.ahf/binAHF is successfully installedDo you want AHF to store your My Oracle Support Credentials for Automatic Upload ? Y|[N] : NMoving /tmp/ahf_install_212300_464_2021_10_08-15_12_14.log to /opt/oracle.ahf/data/node02/diag/ahf/

收集数据

[oracle@node02:/opt/oracle.ahf/bin]$ ./tfactl diagcollect -from "10/08/2021 10:00:00" -to "10/08/2021 18:00:00"Collecting data for all nodesTFA is using system timezone for collection, All times shown in CST.Scanning files from oct/08/2021 10:00:00 to oct/08/2021 18:00:00Collection Id : 20211008181755node02Detailed Logging at : /opt/oracle.ahf/data/repository/collection_Fri_Oct_08_18_17_57_CST_2021_node_all/diagcollect_20211008181755_node02.log2021/10/08 18:18:01 CST : NOTE : Any file or directory name containing the string .com will be renamed to replace .com with dotcom2021/10/08 18:18:01 CST : Collection Name : tfa_Fri_Oct_08_18_17_56_CST_2021.zip2021/10/08 18:18:01 CST : Collecting diagnostics from hosts : [node02]2021/10/08 18:18:01 CST : Collecting additional diagnostic information...2021/10/08 18:18:01 CST : Scanning of files for Collection in progress...2021/10/08 18:18:06 CST : Getting list of files satisfying time range [10/08/2021 10:00:00 CST, 10/08/2021 18:00:00 CST]2021/10/08 18:18:12 CST : Collecting ADR incident files...2021/10/08 18:19:33 CST : Completed collection of additional diagnostic information...2021/10/08 18:19:38 CST : Completed Local Collection.----------------------------------.| Collection Summary |+--------+-----------+------+------+| Host | Status | Size | Time |+--------+-----------+------+------+| node02 | Completed | 13MB | 97s |'--------+-----------+------+------'Logs are being collected to: /opt/oracle.ahf/data/repository/collection_Fri_Oct_08_18_17_57_CST_2021_node_all/opt/oracle.ahf/data/repository/collection_Fri_Oct_08_18_17_57_CST_2021_node_all/node02.tfa_Fri_Oct_08_18_17_56_CST_2021.zip

oracle,linux

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Linux获取磁盘的UUID
下一篇:PHP7中I/O模型内核剖析详解
相关文章

 发表评论

暂时没有评论,来抢沙发吧~