It was detemrined that AHF was using too much CPU affecting RAC cluster performance.
AHF was shutdown temporarily over the weekend to prevent issues with application.
--- SHORT version to limit CPU resource:
# /opt/oracle.ahf/bin/ahfctl setresourcelimit -value 0.5
Tool: tfa, Resource: cpu, Limit value: 0.5 set successfully
# /opt/oracle.ahf/bin/ahfctl getresourcelimit
Tool: tfa, Resource: cpu, Limit value: 0.5
Tool: tfa, Resource: kmem no resource limit set
Tool: tfa, Resource: swmem no resource limit set
--- LONG version - start AHF and limit CPU resource:
# /opt/oracle.ahf/bin/ahfctl startahf -all
Starting TFA..
Waiting up to 100 seconds for TFA to be started..
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Successfully started TFA Process..
. . . . .
TFA Started and listening for commands
INFO: Starting exachk scheduler in background.
Details for the process can be found at /u01/app/grid/oracle.ahf/data/xxxxxxxxxxxxxx-21acd-9gu5j2/diag/exachk/compliance_start_251021_112642.log
# /opt/oracle.ahf/bin/ahfctl setresourcelimit -value 0.5
Tool: tfa, Resource: cpu, Limit value: 0.5 set successfully
# /opt/oracle.ahf/bin/ahfctl getresourcelimit
Tool: tfa, Resource: cpu, Limit value: 0.5
Tool: tfa, Resource: kmem no resource limit set
Tool: tfa, Resource: swmem no resource limit set
# /opt/oracle.ahf/bin/ahfctl set autodiagcollect=ON
Successfully set autodiagcollect=ON
.-------------------------------------------------.
| xxxxxxxxxxxxxx-21acd-9gu5j2 |
+-----------------------------------------+-------+
| Configuration Parameter | Value |
+-----------------------------------------+-------+
| Auto Diagcollection ( autodiagcollect ) | ON |
'-----------------------------------------+-------'
# /opt/oracle.ahf/bin/ahfctl set chaautocollect=ON
Successfully set chaautocollect=ON
.---------------------------------.
| xxxxxxxxxxxxxx-21acd-9gu5j2 |
+-------------------------+-------+
| Configuration Parameter | Value |
+-------------------------+-------+
| chaautocollect | ON |
'-------------------------+-------'
# /opt/oracle.ahf/bin/ahfctl set minicollection=ON
Successfully set minicollection=ON
.-----------------------------------------------------------.
| xxxxxxxxxxxxxx-21acd-9gu5j2 |
+---------------------------------------------------+-------+
| Configuration Parameter | Value |
+---------------------------------------------------+-------+
| Generation of Mini Collections ( minicollection ) | ON |
'---------------------------------------------------+-------'
# /opt/oracle.ahf/bin/ahfctl statusahf
.--------------------------------------------------------------------------------------------------------------------.
| Host | Status of TFA | PID | Port | Version | Build ID | Inventory Status |
+-----------------------------+---------------+--------+------+------------+----------------------+------------------+
| xxxxxxxxxxxxxx-21acd-9gu5j2 | RUNNING | 151372 | 5000 | 21.1.4.0.0 | 21140020210628122659 | COMPLETE |
| xxxxxxxxxxxxxx-21acd-9gu5j1 | RUNNING | 89572 | 5000 | 21.1.4.0.0 | 21140020210628122659 | COMPLETE |
'-----------------------------+---------------+--------+------+------------+----------------------+------------------'
------------------------------------------------------------
Master node = xxxxxxxxxxxxxx-21acd-9gu5j1
exachk daemon version = 21.1.4
Install location = /opt/oracle.ahf/exachk
Started at = Mon Oct 25 11:27:10 CDT 2021
Scheduler type = TFA Scheduler
------------------------------------------------------------
ID: exachk.autostart_client_exatier1
------------------------------------------------------------
AUTORUN_FLAGS = -usediscovery -profile exatier1 -syslog -dball -showpass -tag autostart_client_exatier1 -readenvconfig
COLLECTION_RETENTION = 7
AUTORUN_SCHEDULE = 3 2 * * 1,2,3,4,5,6
------------------------------------------------------------
------------------------------------------------------------
ID: exachk.autostart_client
------------------------------------------------------------
AUTORUN_FLAGS = -usediscovery -syslog -tag autostart_client -readenvconfig
COLLECTION_RETENTION = 14
AUTORUN_SCHEDULE = 3 3 * * 0
------------------------------------------------------------
Next auto run starts on Oct 26, 2021 02:03:00
ID:exachk.AUTOSTART_CLIENT_EXATIER1
# /opt/oracle.ahf/bin/tfactl get collect -match
.------------------------------------------------------------------------------.
| xxxxxxxxxxxxxx-21acd-9gu5j2 |
+----------------------------------------------------------------------+-------+
| Configuration Parameter | Value |
+----------------------------------------------------------------------+-------+
| ISA Data Gathering ( collection.isa ) | ON |
| collectTrm | OFF |
| collectAllDirsByFile | ON |
| Auto Diagcollection ( autodiagcollect ) | ON |
| Generation of Mini Collections ( minicollection ) | ON |
| chaautocollect | ON |
| Maximum File Collection Size (MB) ( maxFileCollectionSize ) | 5120 |
| Maximum Collection Size of Core Files (MB) ( maxCoreCollectionSize ) | 500 |
| minTimeForAutoDiagCollection | 300 |
'----------------------------------------------------------------------+-------'