AHF安装使用

AHF安装使用
1.下载
https://support.oracle.com/epmos/faces/DocContentDisplay?id=2550798.1
AHF安装使用_第1张图片
AHF安装使用_第2张图片

2.安装
1.安装需要的包
[root@zzw ~]# yum -y install perl-Data-Dumper.x86_64
在这里插入图片描述

2.解压
[root@zzw oracle]# unzip AHF-LINUX_v21.2.1.zip
在这里插入图片描述

  1. 查看安装说明README.txt
    [root@zzw AHF-LINUX_v21.2.1]# cat README.txt
    Oracle Autonomous Health Framework (AHF) - with ORAchk, EXAchk & Trace File Analyzer

Installation/Upgrade Instructions

This must be completed for each node of a cluster.

  1. Copy the zip file to a target machine and unzip
  2. Verify the installer file integrity. ( See Below )
  3. Run the command: ahf_setup

For advanced installation/upgrade options see the User Guide

Installer file Verification

The ahf_setup file has been signed to ensure it has not been modified from the originally created file.
To Verify the file you will need to have installed on your system ‘openssl’ or have a separate system that has openssl to verify the installer.

In the directory that the zip file was extracted to run :-

openssl dgst -sha256 -verify ./oracle-tfa.pub -signature ./ahf_setup.dat ./ahf_setup

Only if the command returns ‘Verified OK’ should the installer be used.
If the command does not return ‘Verified OK’ please contact Oracle Support and report this issue.

User Guide:

The AHF User Guide can now be found online at https://docs.oracle.com/en/engineered-systems/health-diagnostics/autonomous-health-framework/ahfug/index.html

Enhancements and Bug Fixes

A full list of enhancements and bugs fixed in each release is available at:
https://support.oracle.com/epmos/main/downloadattachmentprocessor?attachid=2550798.1:AHF_VERSION_HISTORY
AHF安装使用_第3张图片

4.执行安装
[root@zzw AHF-LINUX_v21.2.1]# ./ahf_setup

AHF Installer for Platform Linux Architecture x86_64

AHF Installation Log : /tmp/ahf_install_212100_3843_2021_08_27-14_14_36.log

Starting Autonomous Health Framework (AHF) Installation

AHF Version: 21.2.1 Build Date: 202108130422

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 : /opt

AHF Data Directory : /opt/oracle.ahf/data

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

Enter Email IDs separated by space : /opt/oracle.ahf

Invalid Email ID : /opt/oracle.ahf

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 |
±-----±--------------±-----±------±-----------±---------------------+
| zzw | RUNNING | 5438 | 18986 | 21.2.1.0.0 | 21210020210813042249 |
‘------±--------------±-----±------±-----------±---------------------’

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/zzw/diag |
‘-----------------±--------------------------------’

Starting orachk scheduler from AHF …

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_212100_3843_2021_08_27-14_14_36.log to /opt/oracle.ahf/data/zzw/diag/ahf/
AHF安装使用_第4张图片

AHF安装使用_第5张图片

5.查看进程
[root@zzw AHF-LINUX_v21.2.1]# ps -ef|grep -i ahf
root 5438 1 10 14:16 ? 00:00:13 /opt/oracle.ahf/jre/bin/java -server -Xms32m -Xmx64m -Djava.awt.headless=true -Ddisable.checkForUpdate=true -XX:HeapDumpPath=/opt/oracle.ahf/data/zzw/diag/tfa -XX:ParallelGCThreads=5 oracle.rat.tfa.TFAMain /opt/oracle.ahf/tfa
root 9045 2937 0 14:18 pts/1 00:00:00 grep --color=auto -i ahf
在这里插入图片描述

  1. AHF使用
    [root@zzw AHF-LINUX_v21.2.1]# orachk
    [root@zzw AHF-LINUX_v21.2.1]# tfactl version -all
    [root@zzw AHF-LINUX_v21.2.1]# orachk -v
    [root@zzw AHF-LINUX_v21.2.1]# which orachk
    AHF安装使用_第6张图片
    AHF安装使用_第7张图片
    AHF安装使用_第8张图片

一体机
[root@zzw AHF-LINUX_v21.2.1]# orachk -v

[root@zzw AHF-LINUX_v21.2.1]# which exachk

你可能感兴趣的:(oracle,数据库)