LogiUpSkill

Autonomous Health Framework (AHF)

Oracle Autonomous Health Framework (AHF) presents the next generation of an all-in-one solution that includes tools that work together autonomously 24×7 to keep database systems healthy and running. It does so while minimizing human reaction time using existing components like orachk, TFA and many more. 

Autonomous Health Framework (AHF) will be shipped with new releases of the database, but you should always download the latest version. The following location gives an overview of the AHF product, as well as download links and basic instructions. 

Autonomous Health Framework (AHF) – Including TFA and ORAchk/EXAChk (Doc ID 2550798.1) Advantages:
  • User-friendly & real-time health monitoring, fault detection & diagnosis via a single interface 
  • Secure consolidation of distributed diagnostic collections 
  • Continuous availability 
  • Machine learning-driven, autonomous degradation detection, reduce your overheads (on both customer and oracle support Tiers) 
  • TFA is still used for diagnostic collection and management and ORAchk/EXAchk for a compliance check. 
  • ORAchk/EXAchk now use the TFA secure socket and TFA scheduler for automatic checks (less overhead). 
Pre-requisites:
Before you begin the installation there are some pre-requisites to installing Oracle AHF and running ORAchk. I’ve outlined the key pre-requisites below:
Linux Oracle AHF should be installed as root to obtain the fullest capabilities. If you are unable to install as root then Oracle AHF should be installed as the Oracle Home User. Oracle AHF should be installed to a filesystem with at least 5GB of free diskspace. Perl version 5.10 or later is required to install Oracle AHF.
Windows Oracle AHF should be installed as a user with local administrative privileges. Oracle AHF should be installed to a disk with at least 5GB of free diskspace. Perl version 5.10 or later is required to install Oracle AHF (note that a later version of Perl is usually to be found installed in the %ORACLE_HOME%\perl directory)
Install Oracle Autonnomous Health Framework (AHF) (as root user)
Autonomous Health Framework (AHF) can be installed as the “root” user on the server, which provides the most functionality and allows it to run in a proactive manner as a daemon. In this example we will perform an installation as the root user.
Unzip the software and run the ahf_setup command. Answer the questions when prompted. The following is an example of the root installation.
[root@west02 oracle]#  ./ahf_setup  
AHF Installer for Platform Linux Architecture x86_64 
AHF Installation Log : /tmp/ahf_install_211400_4701_2021_12_29-10_46_20.log 
Starting Autonomous Health Framework (AHF) Installation 
AHF Version: 21.1.4 Build Date: 202106281226 
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/oracle_base [Free Space : 73565 MB] 
2. Enter a different Location 
 Choose Option [1 - 2] : 1  
AHF Data Directory : /u01/app/oracle_base/oracle.ahf/data 
Do you want to add AHF Notification Email IDs ? [Y]|N : y 
 Enter Email IDs separated by space :  xyz@gmail.com
AHF will also be installed/upgraded on these Cluster Nodes : 
1. west01 
The AHF Location and AHF Data Directory must exist on the above nodes 
AHF Location : /opt/oracle.ahf 
AHF Data Directory : /u01/app/oracle_base/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 
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             | 
+--------+---------------+------+------+------------+----------------------+ 
| west02 | RUNNING       | 6134 | 5000 | 21.1.4.0.0 | 21140020210628122659 | 
'--------+---------------+------+------+------------+----------------------' 
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/oracle_base/oracle.ahf/data             | 
| Repository      | /u01/app/oracle_base/oracle.ahf/data/repository  | 
| Diag Directory  | /u01/app/oracle_base/oracle.ahf/data/west02/diag | 
'-----------------+--------------------------------------------------' 
Starting orachk scheduler from AHF ... 
AHF install completed on west02 
Installing AHF on Remote Nodes : 
AHF will be installed on west01, Please wait. 
Installing AHF on west01 : 
[west01] Copying AHF Installer 
[west01] Running AHF Installer 
AHF binaries are available in /opt/oracle.ahf/bin 

AHF is successfully installed Moving /tmp/ahf_install_211400_4701_2021_12_29-10_46_20.log to /u01/app/oracle_base/oracle.ahf/data/west02/diag/ahf/
[oracle@west02 ~]$ service oracle-tfa.service status Redirecting to /bin/systemctl status oracle-tfa.service ● oracle-tfa.service - Oracle Trace File Analyzer Loaded: loaded (/etc/systemd/system/oracle-tfa.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2021-12-29 10:47:54 IST; 43min ago Main PID: 5978 (init.tfa) Tasks: 70 CGroup: /system.slice/oracle-tfa.service ├─ 2034 /bin/sleep 30 ├─ 5978 /bin/sh /etc/init.d/init.tfa run >/dev/null 2>&1 /dev/null 2>&1 </dev/null ├─11114 /opt/oracle.ahf/jre/bin/java -server -Xms64m -Xmx128m -Djava.awt.headless=true -Ddisable.checkForUpdate=true -XX:HeapDumpPath=/u01/app/oracle_base/oracle.ahf/data/west01/diag/tfa oracl... └─11294 /opt/oracle.ahf/jre/bin/java -server -Xms64m -Xmx128m -XX:HeapDumpPath=/u01/app/oracle_base/oracle.ahf/data/west01/diag/tfa -DtfaHome=/opt/oracle.ahf/tfa -DcrsHome=/u01/app/oracle/19c/... [oracle@west01 ~]$ [oracle@west01 ~]$ /opt/oracle.ahf/bin/tfactl status WARNING - AHF Software is older than 180 days. Please consider upgrading AHF to the latest version using ahfctl upgrade. .----------------------------------------------------------------------------------------------. | Host   | Status of TFA | PID   | Port | Version    | Build ID             | Inventory Status | +--------+---------------+-------+------+------------+----------------------+------------------+ | west01 | RUNNING        | 11114 | 5000 | 21.1.4.0.0 | 21140020210628122659 | COMPLETE         | | west02 | RUNNING       | 14911 | 5000 | 21.1.4.0.0 | 21140020210628122659 | COMPLETE          | '--------+---------------+-------+------+------------+----------------------+------------------'
Upgrade : [root@west02 oracle]# ./ahf_setup AHF Installer for Platform Linux Architecture x86_64 AHF Installation Log : /tmp/ahf_install_214000_23474_2021_12_29-12_11_10.log Starting Autonomous Health Framework (AHF) Installation AHF Version: 21.4.0 Build Date: 202112200745 AHF is already installed at /opt/oracle.ahf Installed AHF Version: 21.1.4 Build Date: 202106281226 Do you want to upgrade AHF [Y]|N : Y AHF will also be installed/upgraded on these Cluster Nodes : 1. west01 The AHF Location and AHF Data Directory must exist on the above nodes AHF Location : /opt/oracle.ahf AHF Data Directory : /u01/app/oracle_base/oracle.ahf/data Do you want to install/upgrade AHF on Cluster Nodes ? [Y]|N : Y Upgrading /opt/oracle.ahf Shutting down AHF Services Stopped OSWatcher Nothing to do ! Shutting down TFA Removed symlink /etc/systemd/system/multi-user.target.wants/oracle-tfa.service. Removed symlink /etc/systemd/system/graphical.target.wants/oracle-tfa.service. Successfully shutdown TFA.. /usr/bin/checkmodule: loading policy configuration from inittfa-policy.te /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 19) to inittfa-policy.mod Starting AHF Services Starting TFA.. 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. Waiting up to 100 seconds for TFA to be started.. . . . . . Successfully started TFA Process.. . . . . . TFA Started and listening for commands No new directories were added to TFA Directory /u01/app/oracle_base/crsdata/west02/trace/chad was already added to TFA Directories. INFO: Starting orachk scheduler in background. Details for the process can be found at /u01/app/oracle_base/oracle.ahf/data/west02/diag/orachk/compliance_start_291221_121254.log AHF upgrade completed on west02 Upgrading AHF on Remote Nodes : AHF will be installed on west01, Please wait. Upgrading AHF on west01 : [west01] Copying AHF Installer [west01] Running AHF Installer Do you want AHF to store your My Oracle Support Credentials for Automatic Upload ? Y|[N] : n AHF is successfully upgraded to latest version TFA-00002 Oracle Trace File Analyzer (TFA) is not running Moving /tmp/ahf_install_214000_23474_2021_12_29-12_11_10.log to /u01/app/oracle_base/oracle.ahf/data/west02/diag/ahf/ Uninstall : [root@west02 oracle]# /opt/oracle.ahf/bin/tfactl uninstall -deleterepo -silent Starting AHF Uninstall TFA-00002 Oracle Trace File Analyzer (TFA) is not running TFA-00002 Oracle Trace File Analyzer (TFA) is not running AHF will be uninstalled on: west02 west01 west02 Checking for ssh equivalency in west01 west01 is configured for ssh user equivalency for root user Stopping AHF service on local node west02... Stopping TFA Support Tools... Removed symlink /etc/systemd/system/multi-user.target.wants/oracle-tfa.service. Removed symlink /etc/systemd/system/graphical.target.wants/oracle-tfa.service. Stopping orachk scheduler ... Removing orachk cache discovery.... No orachk cache discovery found. Unable to send message to TFA Removed orachk from inittab Deleting selinux context entries Stopping and removing AHF in west01... Removed symlink /etc/systemd/system/multi-user.target.wants/oracle-tfa.service. Removed symlink /etc/systemd/system/graphical.target.wants/oracle-tfa.service. Removing orachk cache discovery.... No orachk cache discovery found. Unable to send message to TFA Removed orachk from inittab Deleting selinux context entries Successfully uninstalled AHF on node west01 Removing AHF setup on west02: Removing /etc/rc.d/rc0.d/K17init.tfa Removing /etc/rc.d/rc1.d/K17init.tfa Removing /etc/rc.d/rc2.d/K17init.tfa Removing /etc/rc.d/rc4.d/K17init.tfa Removing /etc/rc.d/rc6.d/K17init.tfa Removing /etc/init.d/init.tfa... Removing /etc/systemd/system/oracle-tfa.service... Removing /u01/app/oracle/19c/gi/bin/tfactl... Removing /opt/oracle.ahf/rpms Removing /opt/oracle.ahf/jre Removing /opt/oracle.ahf/common Removing /opt/oracle.ahf/bin Removing /opt/oracle.ahf/python Removing /opt/oracle.ahf/analyzer Removing /opt/oracle.ahf/tfa Removing /opt/oracle.ahf/orachk Removing /opt/oracle.ahf/ahf Removing /u01/app/oracle_base/oracle.ahf/data/west02 Removing /opt/oracle.ahf/install.properties Removing /u01/app/oracle_base/oracle.ahf/data/repository Removing /u01/app/oracle_base/oracle.ahf/data Removing /u01/app/oracle_base/oracle.ahf Removing AHF Home : /opt/oracle.ahf Removing /sys/fs/cgroup/cpu/oratfagroup/ [root@west02 oracle]# cat ~/.bash_profile # User specific environment and startup programs export AHF_HOME=/opt/oracle.ahf/ export TFA_HOME=/opt/oracle.ahf/ PATH=$PATH:$HOME/.local/bi:$HOME/bin:$AHF_HOME/bin:$TFA_HOME/bin export PATH [oracle@west02 ~]$ tfactl status .----------------------------------------------------------------------------------------------. | Host | Status of TFA | PID | Port | Version | Build ID | Inventory Status | +--------+---------------+-------+------+------------+----------------------+------------------+ | west02 | RUNNING | 21769 | 5000 | 21.4.0.0.0 | 21400020211220074549 | COMPLETE | | west01 | RUNNING | 25048 | 5000 | 21.4.0.0.0 | 21400020211220074549 | COMPLETE | '--------+---------------+-------+------+------------+----------------------+------------------' [oracle@west02 ~]$ tfactl print Print requested details. Usage : /opt/oracle.ahf/tfa/bin/tfactl print [options] commands:status|components|config|directories|hosts|actions|repository|runmode|suspendedips|protocols|smtp|collections|inventory For detailed help on each command use: /opt/oracle.ahf/tfa/bin/tfactl print -help [oracle@west02 ~]$ tfactl print config .-----------------------------------------------------------------------------------------------------------------------. | west02 | +----------------------------------------------------------------------------------------------------------+------------+ | Configuration Parameter | Value | +----------------------------------------------------------------------------------------------------------+------------+ | TFA Version ( tfaversion ) | 21.4.0.0.0 | | Java Version ( javaVersion ) | 1.8 | | Public IP Network ( publicIp ) | true | | Repository current size (MB) ( currentsizemegabytes ) | 83 | | Repository maximum size (MB) ( maxsizemegabytes ) | 10240 | | Cluster Event Monitor ( clustereventmonitor ) | ON | | delayusinginstanceprincipal | OFF | | queryAPI | ON | | scandiskmon | OFF | | scanacfslog | OFF | | File Data Collection ( inventory ) | ON | | Automatic Purging ( autoPurge ) | ON | | Internal Search String ( internalSearchString ) | ON | | ISA Data Gathering ( collection.isa ) | ON | | Trim Files ( trimfiles ) | ON | | collectTrm | OFF | | chmdataapi | ON | | chanotification ( chanotification ) | ON | | Skip event if it was flood controlled ( floodcontrol_events ) | OFF | | collectonsystemstate | ON | | Consolidate similar events (COUNT shows number of events occurences) ( consolidate_events ) | OFF | | chmretention | OFF | | Managelogs Auto Purge ( manageLogsAutoPurge ) | OFF | | scanacfseventlog | OFF | | Alert Log Scan ( rtscan ) | ON | | debugips | OFF | | generateZipMetadataJson | ON | | collectAllDirsByFile | ON | | scanvarlog | OFF | | Auto Sync Certificates ( autosynccertificates ) | ON | | Auto Diagcollection ( autodiagcollect ) | ON | | Public IP Network ( publicIp ) | ON | | Flood Control ( floodcontrol ) | ON | | Generation of Mini Collections ( minicollection ) | ON | | odscan | ON | | Disk Usage Monitor ( diskUsageMon ) | OFF | | Start consuming data provided by SQLTicker ( sqlticker ) | OFF | | Discovery ( discovery ) | ON | | analyze | OFF | | indexInventory | ON | | Generation of Telemetry Data ( telemetry ) | OFF | | chaautocollect | OFF | | Granular Tracing ( granulartracing ) | OFF | | minPossibleSpaceForPurge | 1024 | | disk.threshold | 90 | | Minimum space in MB required to run TFA. TFA will be stopped until at least this amount of ... | 20 | | mem.swapfree | 5120 | | mem.util.samples | 4 | | inventoryThreadPoolSize | 1 | | mem.swaptotal.samples | 2 | | maxFileAgeToPurge | 1440 | | mem.free | 20480 | | actionrestartlimit | 30 | | Minimum Free Space to enable Alert Log Scan (MB) ( minSpaceForRTScan ) | 500 | | cpu.io.samples | 30 | | mem.util | 80 | | Maximum single Zip File Size (MB) ( maxZipSize ) | 2048 | | Time interval between consecutive Disk Usage Snapshot(minutes) ( diskUsageMonInterval ) | 60 | | TFA ISA Purge Thread Delay (minutes) ( tfaDbUtlPurgeThreadDelay ) | 60 | | firstDiscovery | 0 | | TFA IPS Pool Size ( tfaIpsPoolSize ) | 5 | | Maximum File Collection Size (MB) ( maxFileCollectionSize ) | 5120 | | Time interval between consecutive Managelogs Auto Purge(minutes) ( manageLogsAutoPurgeInterval ) | 60 | | arc.backupmissing.samples | 2 | | cpu.util.samples | 2 | | cpu.usr.samples | 2 | | cpu.sys | 50 | | Flood Control Limit Count ( fc.limit ) | 3 | | Flood Control Pause Time (minutes) ( fc.pauseTime ) | 120 | | Maximum Number of TFA Logs ( maxLogCount ) | 10 | | DB Backup Delay Hours ( dbbackupdelayhours ) | 27 | | cdb.backup.samples | 1 | | arc.backupstatus | 1 | | Automatic Purging Frequency ( purgeFrequency ) | 4 | | TFA ISA Purge Age (seconds) ( tfaDbUtlPurgeAge ) | 604800 | | Maximum Collection Size of Core Files (MB) ( maxCoreCollectionSize ) | 500 | | Maximum Compliance Index Size (MB) ( maxcompliancesize ) | 150 | | cpu.util | 80 | | mem.swapfree.samples | 2 | | cdb.backupstatus | 1 | | mem.swaputl.samples | 2 | | arc.backup.samples | 3 | | unreachablenodeTimeOut | 3600 | | Flood Control Limit Time (minutes) ( fc.limitTime ) | 60 | | mem.swaputl | 10 | | mem.free.samples | 2 | | Maximum Size of Core File (MB) ( maxCoreFileSize ) | 50 | | disk.samples | 1 | | cpu.sys.samples | 30 | | cpu.usr | 98 | | arc.backupmissing | 1 | | cpu.io | 20 | | Archive Backup Delay Minutes ( archbackupdelaymins ) | 40 | | Allowed Sqlticker Delay in Minutes ( sqltickerdelay ) | 3 | | inventoryPurgeThreadInterval | 720 | | Age of Purging Collections (Hours) ( minFileAgeToPurge ) | 12 | | cpu.idle.samples | 2 | | unreachablenodeSleepTime | 300 | | cpu.idle | 20 | | mem.swaptotal | 24 | | TFA ISA CRS Profile Delay (minutes) ( tfaDbUtlCrsProfileDelay ) | 2 | | Maximum Compliance Runs to be Indexed ( maxcomplianceruns ) | 30 | | cdb.backupmissing | 1 | | cdb.backupmissing.samples | 2 | | Trim Size ( trimsize ) | 500000 | | Maximum Size of TFA Log (MB) ( maxLogSize ) | 52428800 | | minTimeForAutoDiagCollection | 300 | | skipScanThreshold | 100 | | fileCountInventorySwitch | 5000 | | TFA ISA Purge Mode ( tfaDbUtlPurgeMode ) | profile | | country | US | | Debug Mask (Hex) ( debugmask ) | 0x000000 | | Object Store Secure Upload ( oss.secure.upload ) | true | | Setting for ACR redaction (none|SANITIZE|MASK) ( redact ) | none | | language | en | | AlertLogLevel | ALL | | BaseLogPath | ERROR | | encoding | UTF-8 | | UserLogLevel | ALL | | Logs older than the time period will be auto purged(days[d]|hours[h]) ( manageLogsAutoPurgePolicyAge ) | 30d | | isaMode | enabled | '----------------------------------------------------------------------------------------------------------+------------' [oracle@west02 ~]$ tfactl print directories Last Rediscovery Run on west02 : Wed Dec 29 19:26:02 IST 2021 .-----------------------------------------------------------------------------------------------------------------. | west02 | +------------------------------------+----------------------------------------------------+------------+----------+ | Trace Directory | Component | Permission | Added By | +------------------------------------+----------------------------------------------------+------------+----------+ | /etc/oracle | [CRS] | public | root | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oraInventory/ContentsXML | [INSTALL] | private | root | | Collection policy : Collect All | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oraInventory/logs | [INSTALL] | private | root | | Collection policy : Collect All | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle/19c/db/cfgtoollogs | [CFGTOOLS, ODAPATCHING] | public | root | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle/19c/db/install | [INSTALL] | public | root | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle/19c/gi/cfgtoollogs | [CFGTOOLS, ODAPATCHING] | public | root | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle/19c/gi/install | [INSTALL] | public | root | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle/19c/gi/inventory/C | [INSTALL] | public | root | | ontentsXML | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle/19c/gi/log/west02 | [CRS] | public | root | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle/19c/gi/log/west02/ | [ACFS] | public | root | | acfs | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle/19c/gi/log/west02/ | [ACFS] | public | root | | afd | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle/19c/gi/rdbms/log | [ASM] | public | root | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/cfgtoollogs | [CFGTOOLS, ODAPATCHING] | public | root | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/cfgtoollogs/d | [RDBMS]{RDBMS|database=pink} | public | root | | bca/pink | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/crsdata/west0 | [ACFS] | public | root | | 2/acfs | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/crsdata/west0 | [CRS] | public | root | | 2/core | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/crsdata/west0 | [CRS] | public | root | | 2/crsconfig | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/crsdata/west0 | [CRS] | public | root | | 2/crsdiag | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/crsdata/west0 | [CRS] | public | root | | 2/cvu | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/crsdata/west0 | [CRS] | public | root | | 2/evm | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/crsdata/west0 | [CRS] | public | root | | 2/output | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/crsdata/west0 | [CRS] | public | root | | 2/trace | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/crsdata/west0 | [CHA] | public | root | | 2/trace/chad | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/asm/+asm | [ASM]{ASM|instance=+ASM2} | public | root | | /+ASM2/alert | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/asm/+asm | [ASM]{ASM|instance=+ASM2} | public | root | | /+ASM2/cdump | | | | | Collection policy : No Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/asm/+asm | [ASM]{ASM|instance=+ASM2} | public | root | | /+ASM2/incident | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/asm/+asm | [ASM]{ASM|instance=+ASM2} | public | root | | /+ASM2/trace | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/asmtool/ | [ASMTOOL]{ASMTOOL|instance=user_root} | public | root | | user_root/host_1484098650_110 | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/asmtool/ | [ASMTOOL]{ASMTOOL|instance=user_root} | public | root | | user_root/host_1484098650_110/cdum | | | | | p | | | | | Collection policy : No Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/asmtool/ | [ASMTOOL]{ASMTOOL|instance=user_root} | public | root | | user_root/host_1484098650_110/trac | | | | | e | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/clients/ | [DBCLIENT]{DBCLIENT|instance=user_oracle} | public | root | | user_oracle/host_1484098650_110 | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/clients/ | [DBCLIENT]{DBCLIENT|instance=user_oracle} | public | root | | user_oracle/host_1484098650_110/cd | | | | | ump | | | | | Collection policy : No Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/clients/ | [DBCLIENT]{DBCLIENT|instance=user_oracle} | public | root | | user_oracle/host_1484098650_110/tr | | | | | ace | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/clients/ | [DBCLIENT]{DBCLIENT|instance=user_root} | public | root | | user_root/host_1484098650_110 | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/clients/ | [DBCLIENT]{DBCLIENT|instance=user_root} | public | root | | user_root/host_1484098650_110/cdum | | | | | p | | | | | Collection policy : No Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/clients/ | [DBCLIENT]{DBCLIENT|instance=user_root} | public | root | | user_root/host_1484098650_110/trac | | | | | e | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/crs/west | [CRS] | public | root | | 02/crs/cdump | | | | | Collection policy : No Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/crs/west | [CRS] | public | root | | 02/crs/incident | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/crs/west | [CRS] | public | root | | 02/crs/trace | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/rdbms/pi | [RDBMS]{RDBMS|database=pink, RDBMS|instance=pink2} | public | root | | nk/pink2/cdump | | | | | Collection policy : No Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/rdbms/pi | [RDBMS]{RDBMS|database=pink, RDBMS|instance=pink2} | public | root | | nk/pink2/incident | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/rdbms/pi | [RDBMS]{RDBMS|database=pink, RDBMS|instance=pink2} | public | root | | nk/pink2/trace | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/tnslsnr/ | [TNS] | public | root | | west02/listener | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/tnslsnr/ | [TNS] | public | root | | west02/listener/cdump | | | | | Collection policy : No Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/tnslsnr/ | [TNS] | public | root | | west02/listener/trace | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/tnslsnr/ | [TNS] | public | root | | west02/listener_scan1 | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/tnslsnr/ | [TNS] | public | root | | west02/listener_scan1/cdump | | | | | Collection policy : No Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/tnslsnr/ | [TNS] | public | root | | west02/listener_scan1/trace | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/tnslsnr/ | [TNS] | public | root | | west02/listener_scan2/cdump | | | | | Collection policy : No Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/tnslsnr/ | [TNS] | public | root | | west02/listener_scan2/trace | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/tnslsnr/ | [TNS] | public | root | | west02/listener_scan3 | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/tnslsnr/ | [TNS] | public | root | | west02/listener_scan3/cdump | | | | | Collection policy : No Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/diag/tnslsnr/ | [TNS] | public | root | | west02/listener_scan3/trace | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /u01/app/oracle_base/oracle.ahf/da | [OS] | public | root | | ta/repository/suptools/west02/oswb | | | | | b/oracle/archive | | | | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /var/adm | [OS] | public | root | | Collection policy : Exclusions | | | | +------------------------------------+----------------------------------------------------+------------+----------+ | /var/log | [OS, RACDBCLOUD, ODASTORAGE, ACFS] | public | root | | Collection policy : Exclusions | | | | '------------------------------------+----------------------------------------------------+------------+----------' [oracle@west02 ~]$ tfactl print actions .----------------------------------------------------------------------------------------------------. | HOST | START TIME | END TIME | ACTION | STATUS | COMMENTS | +--------+---------------------+---------------------+-----------------+----------+------------------+ | west02 | Dec 29 19:15:10 IST | Dec 29 19:15:17 IST | Run inventory | COMPLETE | Requested in all | | | | | | | nodes | +--------+---------------------+---------------------+-----------------+----------+------------------+ | west02 | Dec 29 19:15:07 IST | Dec 29 19:21:04 IST | Read | COMPLETE | | | | | | tfactldbutlsche | | | | | | | file | | | +--------+---------------------+---------------------+-----------------+----------+------------------+ | west01 | Dec 29 19:16:35 IST | Dec 29 19:16:43 IST | Run inventory | COMPLETE | Requested in all | | | | | | | nodes | +--------+---------------------+---------------------+-----------------+----------+------------------+ | west01 | Dec 29 19:16:32 IST | Dec 29 19:18:59 IST | Read | COMPLETE | | | | | | tfactldbutlsche | | | | | | | file | | | '--------+---------------------+---------------------+-----------------+----------+------------------' [oracle@west02 ~]$ tfactl print repository .------------------------------------------------------------------------. | west02 | +----------------------+-------------------------------------------------+ | Repository Parameter | Value | +----------------------+-------------------------------------------------+ | Location | /u01/app/oracle_base/oracle.ahf/data/repository | | Maximum Size (MB) | 10240 | | Current Size (MB) | 10 | | Free Size (MB) | 10230 | | Status | OPEN | '----------------------+-------------------------------------------------' .------------------------------------------------------------------------. | west01 | +----------------------+-------------------------------------------------+ | Repository Parameter | Value | +----------------------+-------------------------------------------------+ | Location | /u01/app/oracle_base/oracle.ahf/data/repository | | Maximum Size (MB) | 10240 | | Current Size (MB) | 10 | | Free Size (MB) | 10230 | | Status | OPEN | '----------------------+-------------------------------------------------' [oracle@west02 ~]$ tfactl print protocols .--------------------------------------------------. | west02 | +--------------------------------------------------+ | Protocols | +--------------------------------------------------+ | Available : [TLSv1.3, TLSv1.2] | | Restricted : [SSLv3, SSLv2Hello, TLSv1, TLSv1.1] | '--------------------------------------------------' [root@west01] tfactl purge -older n[h|d] [-force] [root@west01] tfactl purge -older 30d [root@west01] tfactl purge -older 10h -- Change retention [root@west01] tfactl set minagetopurge=48 -- default is 2 weeks
Autonomous Health Framework (AHF)