{"id":901,"date":"2021-09-19T17:26:46","date_gmt":"2021-09-19T20:26:46","guid":{"rendered":"https:\/\/www.fernandosimon.com\/blog\/?p=901"},"modified":"2021-09-19T17:26:46","modified_gmt":"2021-09-19T20:26:46","slug":"ahf-and-tfa-management","status":"publish","type":"post","link":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/","title":{"rendered":"AHF and TFA Management"},"content":{"rendered":"<p style=\"text-align: justify;\">Recently I posted about the upgrade of AHF\/TAF from version 19 to 21 <a href=\"https:\/\/www.fernandosimon.com\/blog\/upgrade-ahf-and-tfa-at-exadata\/\" target=\"_blank\" rel=\"noopener\">at Exadata<\/a> and also <a href=\"https:\/\/www.fernandosimon.com\/blog\/upgrade-ahf-and-tfa-at-oda\/\" target=\"_blank\" rel=\"noopener\">for ODA<\/a>. But with version 21 of AHF, some collections are made automatically and this can impact your space usage. Here you can see how to check this and disable\/modify some of these.<\/p>\n<p style=\"text-align: justify;\">The automatic collection for AHF\/TFA is a feature that generates the diagnostic packages (to send to Oracle) when some specifics errors appear in the database. The collected errors follow some patterns like ORA-0600, ORA-07445, and several others. The basic idea can be seen in the official doc <a href=\"https:\/\/docs.oracle.com\/en\/engineered-systems\/health-diagnostics\/autonomous-health-framework\/ahfug\/collecting-diagnostics-automatically.html#GUID-7F20FDA6-C06D-460D-991A-7F4F0EB1BDE7\" target=\"_blank\" rel=\"noopener\">here<\/a> and in the image below (retried directly from the official doc).<\/p>\n<p style=\"text-align: justify;\"><!--more Click here to read more...--><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-902 size-full\" src=\"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg\" alt=\"\" width=\"1285\" height=\"556\" srcset=\"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg 1285w, https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections-300x130.jpg 300w, https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections-1024x443.jpg 1024w, https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections-768x332.jpg 768w, https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections-624x270.jpg 624w\" sizes=\"auto, (max-width: 1285px) 100vw, 1285px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">In my case, the automatic collection generates a problem with space usage. Look below the space consumption for AHF:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[root@exdbsrv01 ~]# cd \/u01\/app\/grid\/\r\n[root@exdbsrv01 grid]# du -chs oracle.ahf\/data\/*\r\n90M     oracle.ahf\/data\/exdbsrv01\r\n9.0G    oracle.ahf\/data\/repository\r\n4.0K    oracle.ahf\/data\/work\r\n9.1G    total\r\n[root@exdbsrv01 grid]#<\/pre>\n<p style=\"text-align: justify;\">As you can see, more than 9GB for data collection at AHF. This occurred because one database error generated a lot of ORA-600, and made AHF\/TFA collect and generate traces for each one of these errors. This is designed for AHF\/TFA, but unfortunately not desired here in my case. As the documentation says: <strong><em>Automatic collections are ON by default <\/em><\/strong>(look in my server):<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[root@exdbsrv01 oracle.ahf]# \/opt\/oracle.ahf\/bin\/tfactl get autodiagcollect\r\n.-------------------------------------------------.\r\n|                    exdbsrv01                    |\r\n+-----------------------------------------+-------+\r\n| Configuration Parameter                 | Value |\r\n+-----------------------------------------+-------+\r\n| Auto Diagcollection ( autodiagcollect ) | ON    |\r\n'-----------------------------------------+-------'\r\n\r\n[root@exdbsrv01 oracle.ahf]#<\/pre>\n<p style=\"text-align: justify;\">But fortunately, is easy to disable it (<em>\u201c-c\u201d<\/em> propagate to all nodes of the cluster):<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[root@exdbsrv01 grid]# \/opt\/oracle.ahf\/bin\/ahfctl set autodiagcollect=OFF -c\r\nSuccessfully set autodiagcollect=OFF\r\n.-------------------------------------------------.\r\n|                    exdbsrv01                    |\r\n+-----------------------------------------+-------+\r\n| Configuration Parameter                 | Value |\r\n+-----------------------------------------+-------+\r\n| Auto Diagcollection ( autodiagcollect ) | OFF   |\r\n'-----------------------------------------+-------'\r\n\r\n[root@exdbsrv01 grid]#<\/pre>\n<p style=\"text-align: justify;\">If you already collected a lot of diagnostics packages (like me) you can easily delete it directly from AHF\/TFA with the \u201cpurge\u201d command (but remember to purge in each node of your cluster, there is no option to call just from one node and delete at all):<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[root@exdbsrv01 grid]# \/opt\/oracle.ahf\/bin\/tfactl purge -h\r\n\r\nDelete collections from TFA repository\r\n\r\nUsage : \/opt\/oracle.ahf\/tfa\/bin\/tfactl purge -older x[h|d] [-force]\r\nExamples:\r\n\/opt\/oracle.ahf\/tfa\/bin\/tfactl purge -older 30d    - To remove file(s) older than 30 days.\r\n\/opt\/oracle.ahf\/tfa\/bin\/tfactl purge -older 10h    - To remove file(s) older than 10 hours.\r\n[root@exdbsrv01 grid]#<\/pre>\n<p style=\"text-align: justify;\">And to delete everything older than 5 hours here is the example (you can use the \u201c-force\u201d to avoid the \u201cY\/N\u201d question:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[root@exdbsrv01 grid]# \/opt\/oracle.ahf\/bin\/tfactl purge -older 5h\r\n\r\nList of files in the repository older than 5h:\r\n\/u01\/app\/grid\/oracle.ahf\/data\/repository\/auto_srdcORA-00700_Sun_Jul_25_10_13_17_CEST_2021_node_exdbsrv01\r\n\/u01\/app\/grid\/oracle.ahf\/data\/repository\/auto_srdcORA-00700_Tue_Jul_27_08_40_39_CEST_2021_node_exdbsrv01\r\n\/u01\/app\/grid\/oracle.ahf\/data\/repository\/collection_Tue_Jul_27_20_00_22_CEST_2021_node_exdbsrv01\r\n\/u01\/app\/grid\/oracle.ahf\/data\/repository\/auto_srdcORA-00700_Sat_Jul_24_10_30_56_CEST_2021_node_exdbsrv01\r\n\u2026\r\n\u2026\r\n\/u01\/app\/grid\/oracle.ahf\/data\/repository\/auto_srdcORA-00700_Sat_Jul_24_15_11_23_CEST_2021_node_exdbsrv01\r\n\r\nDo you want to delete the above files. [Y|y|N|n] [Y]: Y\r\n\r\nDeleting \/u01\/app\/grid\/oracle.ahf\/data\/repository\/auto_srdcORA-00700_Sun_Jul_25_10_13_17_CEST_2021_node_exdbsrv01 .....Deleted.\r\nDeleting \/u01\/app\/grid\/oracle.ahf\/data\/repository\/auto_srdcORA-00700_Tue_Jul_27_08_40_39_CEST_2021_node_exdbsrv01 .....Deleted.\r\n\u2026\r\n\u2026\r\nDeleting \/u01\/app\/grid\/oracle.ahf\/data\/repository\/auto_srdcORA-00700_Sun_Jul_25_21_34_25_CEST_2021_node_exdbsrv01 .....Deleted.\r\nDeleting \/u01\/app\/grid\/oracle.ahf\/data\/repository\/auto_srdcORA-00700_Sat_Jul_24_15_11_23_CEST_2021_node_exdbsrv01 .....Deleted.\r\n[root@exdbsrv01 grid]#<\/pre>\n<p style=\"text-align: justify;\">But is not just that we can do, there are several other things that we can check and enable\/disable with commands \u201cget\u201d and \u201cset\u201d:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[root@exdbsrv01 oracle.ahf]# \/opt\/oracle.ahf\/bin\/tfactl get collect\r\nInvalid option specified for get\r\n\r\nGET various TFA features\r\n\r\nUsage : \/opt\/oracle.ahf\/tfa\/bin\/tfactl get [ autodiagcollect | trimfiles | tracelevel| reposizeMB | repositorydir | logsize | logcount| maxcorefilesize | maxcorecollectionsize| maxfilecollectionsize| autopurge| publicip | redact | minSpaceForRTScan | rtscan| diskUsageMon| diskUsageMonInterval| manageLogsAutoPurge| manageLogsAutoPurgeInterval | manageLogsAutoPurgePolicyAge | minfileagetopurge | tfaIpsPoolSize | tfaDbUtlPurgeAge | tfaDbUtlPurgeMode | tfaDbUtlPurgeThreadDelay| tfaDbUtlCrsProfileDelay | indexRecoveryMode | collection.isa | discovery | inventory | unreachableNodeSleepTime| unreachableNodeTimeOut | ipsAlertlogTrimsizeMB| clustereventmonitor | rediscoveryInterval] [-node] [-match pattern ]\r\nExamples:\r\n\/opt\/oracle.ahf\/tfa\/bin\/tfactl get autopurge\r\n\/opt\/oracle.ahf\/tfa\/bin\/tfactl get match-pattern -match\r\n[root@exdbsrv01 oracle.ahf]#<\/pre>\n<p style=\"text-align: justify;\">Other important commands are related to the print of current collections and configs. Look below that I collect the report+changed the collection+generate the report again (and correctly show the change):<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[root@exdbsrv01 grid]# \/opt\/oracle.ahf\/bin\/tfactl get collect  -match\r\n.------------------------------------------------------------------------------.\r\n|                                   exdbsrv01                                  |\r\n+----------------------------------------------------------------------+-------+\r\n| Configuration Parameter                                              | Value |\r\n+----------------------------------------------------------------------+-------+\r\n| ISA Data Gathering ( collection.isa )                                | ON    |\r\n| collectTrm                                                           | OFF   |\r\n| collectAllDirsByFile                                                 | ON    |\r\n| Auto Diagcollection ( autodiagcollect )                              | ON    |\r\n| Generation of Mini Collections ( minicollection )                    | ON    |\r\n| chaautocollect                                                       | ON    |\r\n| Maximum File Collection Size (MB) ( maxFileCollectionSize )          | 5120  |\r\n| Maximum Collection Size of Core Files (MB) ( maxCoreCollectionSize ) | 200   |\r\n| minTimeForAutoDiagCollection                                         | 300   |\r\n'----------------------------------------------------------------------+-------'\r\n\r\n[root@exdbsrv01 grid]#\r\n[root@exdbsrv01 grid]# \/opt\/oracle.ahf\/bin\/ahfctl set chaautocollect=OFF -c\r\nSuccessfully set chaautocollect=OFF\r\n.---------------------------------.\r\n|            exdbsrv01            |\r\n+-------------------------+-------+\r\n| Configuration Parameter | Value |\r\n+-------------------------+-------+\r\n| chaautocollect          | OFF   |\r\n'-------------------------+-------'\r\n\r\n[root@exdbsrv01 grid]#\r\n[root@exdbsrv01 grid]# \/opt\/oracle.ahf\/bin\/tfactl get collect  -match\r\n.------------------------------------------------------------------------------.\r\n|                                   exdbsrv01                                  |\r\n+----------------------------------------------------------------------+-------+\r\n| Configuration Parameter                                              | Value |\r\n+----------------------------------------------------------------------+-------+\r\n| ISA Data Gathering ( collection.isa )                                | ON    |\r\n| collectTrm                                                           | OFF   |\r\n| collectAllDirsByFile                                                 | ON    |\r\n| Auto Diagcollection ( autodiagcollect )                              | OFF   |\r\n| Generation of Mini Collections ( minicollection )                    | ON    |\r\n| chaautocollect                                                       | OFF   |\r\n| Maximum File Collection Size (MB) ( maxFileCollectionSize )          | 5120  |\r\n| Maximum Collection Size of Core Files (MB) ( maxCoreCollectionSize ) | 200   |\r\n| minTimeForAutoDiagCollection                                         | 300   |\r\n'----------------------------------------------------------------------+-------'\r\n\r\n[root@exdbsrv01 grid]#<\/pre>\n<p style=\"text-align: justify;\">A more comprehensive report came from AHF:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[root@exdbsrv01 oracle.ahf]# \/opt\/oracle.ahf\/bin\/ahfctl print config\r\n.---------------------------------------------------------------------------------------------------------------------.\r\n|                                                      exdbsrv01                                                      |\r\n+--------------------------------------------------------------------------------------------------------+------------+\r\n| Configuration Parameter                                                                                | Value      |\r\n+--------------------------------------------------------------------------------------------------------+------------+\r\n| TFA Version ( tfaversion )                                                                             | 21.1.4.0.0 |\r\n| Java Version ( javaVersion )                                                                           | 1.8        |\r\n| Public IP Network ( publicIp )                                                                         | true       |\r\n| Repository current size (MB) ( currentsizemegabytes )                                                  | 9209       |\r\n| Repository maximum size (MB) ( maxsizemegabytes )                                                      | 10240      |\r\n| Cluster Event Monitor ( clustereventmonitor )                                                          | ON         |\r\n| scandiskmon                                                                                            | OFF        |\r\n| scanacfslog                                                                                            | OFF        |\r\n| File Data Collection ( inventory )                                                                     | ON         |\r\n| Automatic Purging ( autoPurge )                                                                        | ON         |\r\n| Internal Search String ( internalSearchString )                                                        | ON         |\r\n| ISA Data Gathering ( collection.isa )                                                                  | ON         |\r\n| Trim Files ( trimfiles )                                                                               | ON         |\r\n| collectTrm                                                                                             | OFF        |\r\n| chmdataapi                                                                                             | ON         |\r\n| chanotification ( chanotification )                                                                    | ON         |\r\n| Skip event if it was flood controlled ( floodcontrol_events )                                          | OFF        |\r\n| Consolidate similar events (COUNT shows number of events occurences) ( consolidate_events )            | OFF        |\r\n| Managelogs Auto Purge ( manageLogsAutoPurge )                                                          | OFF        |\r\n| scanacfseventlog                                                                                       | OFF        |\r\n| Alert Log Scan ( rtscan )                                                                              | ON         |\r\n| debugips                                                                                               | OFF        |\r\n| generateZipMetadataJson                                                                                | ON         |\r\n| collectAllDirsByFile                                                                                   | ON         |\r\n| scanvarlog                                                                                             | OFF        |\r\n| Auto Diagcollection ( autodiagcollect )                                                                | ON         |\r\n| Public IP Network ( publicIp )                                                                         | ON         |\r\n| Flood Control ( floodcontrol )                                                                         | ON         |\r\n| Generation of Mini Collections ( minicollection )                                                      | ON         |\r\n| odscan                                                                                                 | ON         |\r\n| Disk Usage Monitor ( diskUsageMon )                                                                    | ON         |\r\n| Start consuming data provided by SQLTicker ( sqlticker )                                               | OFF        |\r\n| Discovery ( discovery )                                                                                | ON         |\r\n| analyze                                                                                                | OFF        |\r\n| indexInventory                                                                                         | ON         |\r\n| Generation of Telemetry Data ( telemetry )                                                             | OFF        |\r\n| chaautocollect                                                                                         | ON         |\r\n| Granular Tracing ( granulartracing )                                                                   | OFF        |\r\n| minPossibleSpaceForPurge                                                                               | 1024       |\r\n| disk.threshold                                                                                         | 90         |\r\n| mem.swapfree                                                                                           | 5120       |\r\n| mem.util.samples                                                                                       | 4          |\r\n| inventoryThreadPoolSize                                                                                | 1          |\r\n| mem.swaptotal.samples                                                                                  | 2          |\r\n| maxFileAgeToPurge                                                                                      | 1440       |\r\n| mem.free                                                                                               | 20480      |\r\n| actionrestartlimit                                                                                     | 30         |\r\n| Minimum Free Space to enable Alert Log Scan (MB) ( minSpaceForRTScan )                                 | 500        |\r\n| cpu.io.samples                                                                                         | 30         |\r\n| mem.util                                                                                               | 80         |\r\n| Maximum single Zip File Size (MB) ( maxZipSize )                                                       | 2048       |\r\n| Time interval between consecutive Disk Usage Snapshot(minutes) ( diskUsageMonInterval )                | 60         |\r\n| TFA ISA Purge Thread Delay (minutes) ( tfaDbUtlPurgeThreadDelay )                                      | 60         |\r\n| firstDiscovery                                                                                         | 1          |\r\n| TFA IPS Pool Size ( tfaIpsPoolSize )                                                                   | 5          |\r\n| Maximum File Collection Size (MB) ( maxFileCollectionSize )                                            | 5120       |\r\n| Time interval between consecutive Managelogs Auto Purge(minutes) ( manageLogsAutoPurgeInterval )       | 60         |\r\n| arc.backupmissing.samples                                                                              | 2          |\r\n| cpu.util.samples                                                                                       | 2          |\r\n| cpu.usr.samples                                                                                        | 2          |\r\n| cpu.sys                                                                                                | 50         |\r\n| Flood Control Limit Count ( fc.limit )                                                                 | 3          |\r\n| Flood Control Pause Time (minutes) ( fc.pauseTime )                                                    | 120        |\r\n| Maximum Number of TFA Logs ( maxLogCount )                                                             | 10         |\r\n| DB Backup Delay Hours ( dbbackupdelayhours )                                                           | 27         |\r\n| cdb.backup.samples                                                                                     | 1          |\r\n| arc.backupstatus                                                                                       | 1          |\r\n| purgeFrequency                                                                                         | 4          |\r\n| TFA ISA Purge Age (seconds) ( tfaDbUtlPurgeAge )                                                       | 2592000    |\r\n| Maximum Collection Size of Core Files (MB) ( maxCoreCollectionSize )                                   | 200        |\r\n| cpu.util                                                                                               | 80         |\r\n| mem.swapfree.samples                                                                                   | 2          |\r\n| cdb.backupstatus                                                                                       | 1          |\r\n| mem.swaputl.samples                                                                                    | 2          |\r\n| arc.backup.samples                                                                                     | 3          |\r\n| unreachablenodeTimeOut                                                                                 | 3600       |\r\n| Flood Control Limit Time (minutes) ( fc.limitTime )                                                    | 60         |\r\n| mem.swaputl                                                                                            | 10         |\r\n| mem.free.samples                                                                                       | 2          |\r\n| Maximum Size of Core File (MB) ( maxCoreFileSize )                                                     | 20         |\r\n| disk.samples                                                                                           | 2          |\r\n| cpu.sys.samples                                                                                        | 30         |\r\n| cpu.usr                                                                                                | 98         |\r\n| arc.backupmissing                                                                                      | 1          |\r\n| cpu.io                                                                                                 | 20         |\r\n| Archive Backup Delay Minutes ( archbackupdelaymins )                                                   | 40         |\r\n| inventoryPurgeThreadInterval                                                                           | 720        |\r\n| Age of Purging Collections (Hours) ( minFileAgeToPurge )                                               | 12         |\r\n| cpu.idle.samples                                                                                       | 2          |\r\n| unreachablenodeSleepTime                                                                               | 300        |\r\n| cpu.idle                                                                                               | 20         |\r\n| mem.swaptotal                                                                                          | 24         |\r\n| TFA ISA CRS Profile Delay (minutes) ( tfaDbUtlCrsProfileDelay )                                        | 2          |\r\n| cdb.backupmissing                                                                                      | 1          |\r\n| cdb.backupmissing.samples                                                                              | 2          |\r\n| Trim Size ( trimsize )                                                                                 | 500000     |\r\n| Maximum Size of TFA Log (MB) ( maxLogSize )                                                            | 52428800   |\r\n| minTimeForAutoDiagCollection                                                                           | 300        |\r\n| skipScanThreshold                                                                                      | 100        |\r\n| fileCountInventorySwitch                                                                               | 5000       |\r\n| TFA ISA Purge Mode ( tfaDbUtlPurgeMode )                                                               | profile    |\r\n| country                                                                                                | US         |\r\n| Debug Mask (Hex) ( debugmask )                                                                         | 0x000000   |\r\n| Setting for ACR redaction (none|SANITIZE|MASK) ( redact )                                              | none       |\r\n| language                                                                                               | en         |\r\n| AlertLogLevel                                                                                          | ALL        |\r\n| BaseLogPath                                                                                            | ERROR      |\r\n| encoding                                                                                               | UTF-8      |\r\n| UserLogLevel                                                                                           | ALL        |\r\n| Logs older than the time period will be auto purged(days[d]|hours[h]) ( manageLogsAutoPurgePolicyAge ) | 30d        |\r\n| isaMode                                                                                                | enabled    |\r\n'--------------------------------------------------------------------------------------------------------+------------'\r\n\r\n[root@exdbsrv01 oracle.ahf]#<\/pre>\n<p style=\"text-align: justify;\">Another important change is related to CPU usage for AHF\/TFA. At several places, we can see relates\/doubts\/posts\/forums telling about high CPU usage due to TFA. And if you link with the automatic collection you can pass several problems due to the limits. My example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[root@exdbsrv01 oracle.ahf]# \/opt\/oracle.ahf\/bin\/ahfctl getresourcelimit\r\n\r\nTool: tfa, Resource: cpu, Limit value: 4.0\r\nTool: tfa, Resource: kmem no resource limit set\r\nTool: tfa, Resource: swmem no resource limit set\r\n[root@exdbsrv01 oracle.ahf]#<\/pre>\n<p style=\"text-align: justify;\">As you can see above the CPU limit is 4. This means that TFA can use 4 CPUs of my servers to collect and generate data. This value can be changed to a more reasonable value. The way to think is that <strong>1 represents 100% of single CPU usage<\/strong>. 4, means 100% for 4 CPU usage. <strong>So, to set to 50% of only one cpu you define the value as 0.5<\/strong> (<a href=\"https:\/\/docs.oracle.com\/en\/engineered-systems\/health-diagnostics\/autonomous-health-framework\/ahfug\/ahfctl-setresourcelimit.html#GUID-B2F84D8E-D9C4-434E-8FBC-62DB3F60020F\" target=\"_blank\" rel=\"noopener\">example from the doc<\/a>): <em>ahfctl setresourcelimit -value 0.5<\/em>.<\/p>\n<p style=\"text-align: justify;\">There are several other things to change and to set for AHF\/TFA. The documentation is good and full of examples. Another good source of information is the <a href=\"https:\/\/www.markusdba.de\/wp-content\/uploads\/2019\/12\/2019-12-flechtner-it-tage-tfactl-v01.pdf\" target=\"_blank\" rel=\"noopener\">Markus Flechtner presentation<\/a> from 2019.<\/p>\n<p style=\"text-align: justify;\">Some other examples of AHF\/TFA management:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[root@exdbsrv01 grid]# \/opt\/oracle.ahf\/bin\/tfactl toolstatus\r\n\r\nRunning command tfactltoolstatus on exdbsrv02 ...\r\n\r\n.------------------------------------------------------------------.\r\n|                  TOOLS STATUS - HOST : exdbsrv02                 |\r\n+----------------------+--------------+--------------+-------------+\r\n| Tool Type            | Tool         | Version      | Status      |\r\n+----------------------+--------------+--------------+-------------+\r\n| Development Tools    | exachk       |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | oratop       |       14.1.2 | DEPLOYED    |\r\n+----------------------+--------------+--------------+-------------+\r\n| Support Tools Bundle | darda        | 2.10.0.R6036 | DEPLOYED    |\r\n|                      | oswbb        |        8.3.2 | NOT RUNNING |\r\n|                      | prw          | 12.1.13.11.4 | NOT RUNNING |\r\n+----------------------+--------------+--------------+-------------+\r\n| TFA Utilities        | alertsummary |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | calog        |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | dbcheck      |   18.3.0.0.0 | DEPLOYED    |\r\n|                      | dbglevel     |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | grep         |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | history      |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | ls           |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | managelogs   |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | menu         |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | param        |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | ps           |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | pstack       |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | summary      |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | tail         |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | triage       |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | vi           |   20.2.2.0.0 | DEPLOYED    |\r\n'----------------------+--------------+--------------+-------------'\r\n\r\nNote :-\r\n  DEPLOYED    : Installed and Available - To be configured or run interactively.\r\n  NOT RUNNING : Configured and Available - Currently turned off interactively.\r\n  RUNNING     : Configured and Available.\r\n\r\n\r\n.------------------------------------------------------------------.\r\n|                  TOOLS STATUS - HOST : exdbsrv01                 |\r\n+----------------------+--------------+--------------+-------------+\r\n| Tool Type            | Tool         | Version      | Status      |\r\n+----------------------+--------------+--------------+-------------+\r\n| Development Tools    | exachk       |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | oratop       |       14.1.2 | DEPLOYED    |\r\n+----------------------+--------------+--------------+-------------+\r\n| Support Tools Bundle | darda        | 2.10.0.R6036 | DEPLOYED    |\r\n|                      | oswbb        |        8.3.2 | NOT RUNNING |\r\n|                      | prw          | 12.1.13.11.4 | NOT RUNNING |\r\n+----------------------+--------------+--------------+-------------+\r\n| TFA Utilities        | alertsummary |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | calog        |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | dbcheck      |   18.3.0.0.0 | DEPLOYED    |\r\n|                      | dbglevel     |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | grep         |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | history      |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | ls           |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | managelogs   |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | menu         |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | param        |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | ps           |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | pstack       |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | summary      |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | tail         |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | triage       |   20.2.2.0.0 | DEPLOYED    |\r\n|                      | vi           |   20.2.2.0.0 | DEPLOYED    |\r\n'----------------------+--------------+--------------+-------------'\r\n\r\nNote :-\r\n  DEPLOYED    : Installed and Available - To be configured or run interactively.\r\n  NOT RUNNING : Configured and Available - Currently turned off interactively.\r\n  RUNNING     : Configured and Available.\r\n\r\n[root@exdbsrv01 grid]#\r\n[root@exdbsrv01 grid]# \/opt\/oracle.ahf\/bin\/ahfctl set chaautocollect=OFF -c\r\nSuccessfully set chaautocollect=OFF\r\n.---------------------------------.\r\n|            exdbsrv01            |\r\n+-------------------------+-------+\r\n| Configuration Parameter | Value |\r\n+-------------------------+-------+\r\n| chaautocollect          | OFF   |\r\n'-------------------------+-------'\r\n\r\n[root@exdbsrv01 grid]#<\/pre>\n<p style=\"text-align: justify;\"><strong>Disclaimer<\/strong>: <em>\u201cThe postings on this site are my own and don\u2019t necessarily represent my actual employer positions, strategies or opinions. The information here was edited to be useful for general purpose, specific data and identifications were removed to allow reach the generic audience and to be useful for the community. Post protected by copyright.\u201d<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I posted about the upgrade of AHF\/TAF from version 19 to 21 at Exadata and also for ODA. But with version 21 of AHF, some collections are made automatically and this can impact your space usage. Here you can see how to check this and disable\/modify some of these. The automatic collection for AHF\/TFA [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[29,5,119],"tags":[163,168,65,120],"class_list":["post-901","post","type-post","status-publish","format-standard","hentry","category-database","category-oracle","category-tfa","tag-ahf","tag-management","tag-oracle","tag-tfa"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AHF and TFA Management - Fernando Simon<\/title>\n<meta name=\"description\" content=\"Check how to manage the AHF and TFA for several options like auto diagnostic collection, CPU utilization, and several others tips and tricks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AHF and TFA Management - Fernando Simon\" \/>\n<meta property=\"og:description\" content=\"Check how to manage the AHF and TFA for several options like auto diagnostic collection, CPU utilization, and several others tips and tricks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/\" \/>\n<meta property=\"og:site_name\" content=\"Fernando Simon\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-19T20:26:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg\" \/>\n<meta name=\"author\" content=\"Simon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/\"},\"author\":{\"name\":\"Simon\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9\"},\"headline\":\"AHF and TFA Management\",\"datePublished\":\"2021-09-19T20:26:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/\"},\"wordCount\":557,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg\",\"keywords\":[\"AHF\",\"Management\",\"Oracle\",\"tfa\"],\"articleSection\":[\"Database\",\"Oracle\",\"TFA\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/\",\"url\":\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/\",\"name\":\"AHF and TFA Management - Fernando Simon\",\"isPartOf\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg\",\"datePublished\":\"2021-09-19T20:26:46+00:00\",\"author\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9\"},\"description\":\"Check how to manage the AHF and TFA for several options like auto diagnostic collection, CPU utilization, and several others tips and tricks.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#primaryimage\",\"url\":\"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg\",\"contentUrl\":\"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg\",\"width\":1285,\"height\":556},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fernandosimon.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AHF and TFA Management\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#website\",\"url\":\"https:\/\/www.fernandosimon.com\/blog\/\",\"name\":\"Fernando Simon\",\"description\":\"Have you hugged your backup today?\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fernandosimon.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9\",\"name\":\"Simon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a3dbc48de62fffb1829befb4a588d789ec6dc5e05977afabb3407a5f37a16482?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a3dbc48de62fffb1829befb4a588d789ec6dc5e05977afabb3407a5f37a16482?s=96&d=mm&r=g\",\"caption\":\"Simon\"},\"sameAs\":[\"http:\/\/www.fernandosimon.com\"],\"url\":\"https:\/\/www.fernandosimon.com\/blog\/author\/simon\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AHF and TFA Management - Fernando Simon","description":"Check how to manage the AHF and TFA for several options like auto diagnostic collection, CPU utilization, and several others tips and tricks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/","og_locale":"en_US","og_type":"article","og_title":"AHF and TFA Management - Fernando Simon","og_description":"Check how to manage the AHF and TFA for several options like auto diagnostic collection, CPU utilization, and several others tips and tricks.","og_url":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/","og_site_name":"Fernando Simon","article_published_time":"2021-09-19T20:26:46+00:00","og_image":[{"url":"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg","type":"","width":"","height":""}],"author":"Simon","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Simon","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#article","isPartOf":{"@id":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/"},"author":{"name":"Simon","@id":"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9"},"headline":"AHF and TFA Management","datePublished":"2021-09-19T20:26:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/"},"wordCount":557,"commentCount":0,"image":{"@id":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg","keywords":["AHF","Management","Oracle","tfa"],"articleSection":["Database","Oracle","TFA"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/","url":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/","name":"AHF and TFA Management - Fernando Simon","isPartOf":{"@id":"https:\/\/www.fernandosimon.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#primaryimage"},"image":{"@id":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg","datePublished":"2021-09-19T20:26:46+00:00","author":{"@id":"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9"},"description":"Check how to manage the AHF and TFA for several options like auto diagnostic collection, CPU utilization, and several others tips and tricks.","breadcrumb":{"@id":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#primaryimage","url":"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg","contentUrl":"https:\/\/www.fernandosimon.com\/blog\/wp-content\/uploads\/2021\/09\/ahf-tfa-automatic-collections.jpg","width":1285,"height":556},{"@type":"BreadcrumbList","@id":"https:\/\/www.fernandosimon.com\/blog\/ahf-and-tfa-management\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fernandosimon.com\/blog\/"},{"@type":"ListItem","position":2,"name":"AHF and TFA Management"}]},{"@type":"WebSite","@id":"https:\/\/www.fernandosimon.com\/blog\/#website","url":"https:\/\/www.fernandosimon.com\/blog\/","name":"Fernando Simon","description":"Have you hugged your backup today?","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fernandosimon.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/386da956604bca0d5be5dd52210c1dd9","name":"Simon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fernandosimon.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a3dbc48de62fffb1829befb4a588d789ec6dc5e05977afabb3407a5f37a16482?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a3dbc48de62fffb1829befb4a588d789ec6dc5e05977afabb3407a5f37a16482?s=96&d=mm&r=g","caption":"Simon"},"sameAs":["http:\/\/www.fernandosimon.com"],"url":"https:\/\/www.fernandosimon.com\/blog\/author\/simon\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5ofTp-ex","_links":{"self":[{"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/posts\/901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/comments?post=901"}],"version-history":[{"count":0,"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/posts\/901\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/media?parent=901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/categories?post=901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fernandosimon.com\/blog\/wp-json\/wp\/v2\/tags?post=901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}