zoukankan      html  css  js  c++  java
  • Oracle Autonomous Health Framework (AHF) 解读

    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主要功能如下:

      1、自动降低风险   自动主动预防性法规遵从性检查,并在最具影响的问题影响您之前发出警告

      2、故障时的诊断   确保你总能得到解决问题所需的一切

      3、单一诊断接口   不需要学习许多不同工具的命令

      4、一个综合框架   所有你需要的诊断工具一起工作

    AHF版本

      目前AHF 19.3.1发布如下版本,其他的版本需要下载TFA的历史版本,具体下载参考MOS 1513912.1

      

     TFA & ORAchk/EXAchk 19.3.1 for Linux	
     TFA & ORAchk/EXAchk 19.3.1 for ZLinux
     TFA & ORAchk/EXAchk 19.3.0 for Solaris x86
     TFA & ORAchk/EXAchk 19.3.1 for Solaris SPARC 64
     TFA & ORAchk/EXAchk 19.3.0 for AIX 6 & 7
    

    AHF安装

      下面演示AHF在linux下的安装过程,下载介质,解压后,安装只有一条命令,相当简单。

      

    [root@oracle01 TFA]# ./ahf_setup 
    AHF Installation Log : /tmp/ahf_install_39271_2019_11_12-14_16_04.log
    Starting Autonomous Health Framework (AHF) Installation
    AHF Version: 193000 Build Date: 201910181720
    Default AHF Location : /opt/oracle.ahf
    Do you want to change AHF Location (/opt/oracle.ahf) ? Y|[N] : 
    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. /opt/oracle.ahf [Free Space : 2933 MB]
    2. Enter a different Location
    Choose Option [1 - 2] : 1
    AHF Data Directory : /opt/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
    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             |
    +----------+---------------+-------+-------+------------+----------------------+
    | oracle01 | RUNNING       | 40540 | 36800 | 19.3.0.0.0 | 19300020191018172057 |
    '----------+---------------+-------+-------+------------+----------------------'
    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/oracle01/diag |
    '-----------------+------------------------------------'
    AHF binaries are available in /opt/oracle.ahf/bin
    AHF is successfully installed
    Moving /tmp/ahf_install_39271_2019_11_12-14_16_04.log to /opt/oracle.ahf/data/oracle01/diag/ahf/

    AHF使用

      AHF内部命令与TFA基本一致,可以在命令行执行orachk,prw,oswbb等命令。

      

    [root@oracle01 bin]# ./tfactl 
    tfactl> toolstatus                                                                                                                   
    
    .------------------------------------------------------------------.
    |                  TOOLS STATUS - HOST : oracle01                  |
    +----------------------+--------------+--------------+-------------+
    | Tool Type            | Tool         | Version      | Status      |
    +----------------------+--------------+--------------+-------------+
    | Development Tools    | orachk       |   19.3.0.0.0 | DEPLOYED    |
    +----------------------+--------------+--------------+-------------+
    | Support Tools Bundle | oswbb        |        8.3.2 | NOT RUNNING |
    |                      | prw          | 12.1.13.11.4 | RUNNING     |
    +----------------------+--------------+--------------+-------------+
    | TFA Utilities        | alertsummary |   19.3.0.0.0 | DEPLOYED    |
    |                      | calog        |   19.3.0.0.0 | DEPLOYED    |
    |                      | dbcheck      |   18.3.0.0.0 | DEPLOYED    |
    |                      | dbglevel     |   19.3.0.0.0 | DEPLOYED    |
    |                      | grep         |   19.3.0.0.0 | DEPLOYED    |
    |                      | history      |   19.3.0.0.0 | DEPLOYED    |
    |                      | ls           |   19.3.0.0.0 | DEPLOYED    |
    |                      | managelogs   |   19.3.0.0.0 | DEPLOYED    |
    |                      | menu         |   19.3.0.0.0 | DEPLOYED    |
    |                      | param        |   19.3.0.0.0 | DEPLOYED    |
    |                      | ps           |   19.3.0.0.0 | DEPLOYED    |
    |                      | pstack       |   19.3.0.0.0 | DEPLOYED    |
    |                      | summary      |   19.3.0.0.0 | DEPLOYED    |
    |                      | tail         |   19.3.0.0.0 | DEPLOYED    |
    |                      | triage       |   19.3.0.0.0 | DEPLOYED    |
    |                      | vi           |   19.3.0.0.0 | DEPLOYED    |
    '----------------------+--------------+--------------+-------------'
    
    Note :-
      DEPLOYED    : Installed and Available - To be configured or run interactively.
      NOT RUNNING : Configured and Available - Currently turned off interactively.
      RUNNING     : Configured and Available.
  • 相关阅读:
    ABAP 获取当天的上一个工作日或下一个工作日
    ABAP 增强实战:Enhancement Implementation增强点实施例子
    ABAP Alv输出金额字段时,需要按国家的货币格式显示,列如:JPY
    ABAP 调用程序时获取的数量,金额和日期字段会出现 逗号,-,负号等非法字段,所需要进行转化
    ABAP 调用标准报表程序,获取程序输出list
    ABAP Alv Varient问题:可以更改alv字段布局然后存到Varient中
    ABAP 向下取整和向上取整及取余数
    传统视觉处理方法笔记
    图像特征与描述笔记
    图像预处理笔记
  • 原文地址:https://www.cnblogs.com/bicewow/p/11841878.html
Copyright © 2011-2022 走看看