9.3.1 Running Oracle Trace File Analyzer Administration Commands
You need root
access to tfactl
, or sudo
access to run all administration commands.
Table 9-44 Basic tfactl commands
Command | Description |
---|---|
|
Starts the Oracle Trace File Analyzer daemon on the local node. |
|
Stops the Oracle Trace File Analyzer daemon on the local node. |
|
Enables automatic restart of the Oracle Trace File Analyzer daemon after a failure or system reboot. |
|
Stops any running Oracle Trace File Analyzer daemon and disables automatic restart. |
|
Removes Oracle Trace File Analyzer from the local node. |
|
Generates and copies Oracle Trace File Analyzer certificates from one Oracle Trace File Analyzer node to other nodes. |
|
Restricts the use of certain protocols. |
|
Checks the status of an Oracle Trace File Analyzer process. The output is same as |
- tfactl access
Use thetfactl access
command to enable non-root users to have controlled access to Oracle Trace File Analyzer, and to run diagnostic collections. - tfactl availability
Use thetfactl availability
command to enable or disable resources for Availability Score, and to search a specific data type in the telemetry cache. - tfactl blackout
Use thetfactl blackout
command to suppress diagnostic collections at a more granular level. By default, blackout will be in effect for 24 hours. - tfactl cell
Use thetfactl cell
command to print or modify various storage cell configuration. - tfactl checkupload
Use thetfactl checkupload
command to validate the configured upload parameters. - tfactl dbcheck
Use thetfactl dbcheck
command to collect diagnostic data from the Oracle Exadata machine to identify issues with operating system, file system, memory, and I/O system. - tfactl diagnosetfa
Use thetfactl diagnosetfa
command to collect Oracle Trace File Analyzer diagnostic data from the local node to identify issues with Oracle Trace File Analyzer. - tfactl disable
Use thetfactl disable
command to prevent the Oracle Trace File Analyzer daemon from restarting. - tfactl enable
Use thetfactl enable
command to enable automatic restart of the Oracle Trace File Analyzer daemon after a failure or system reboot. - tfactl get
Use thetfactl get
command to view the details of various Oracle Trace File Analyzer configuration settings. - tfactl floodcontrol
Use thetfactl floodcontrol
command to limit or stop Oracle Trace File Analyzer collecting the same events in a given frame of time. - tfactl getresourcelimit
Use thetfactl getresourcelimit
command to fetch details of Oracle Trace File Analyzer CPU and memory usage limitations. - tfactl getupload
Use thetfactl getupload
command to fetch the details of configured upload parameters. - tfactl host
Use thetfactl host
command to add hosts to, or remove hosts from the Oracle Trace File Analyzer configuration. - tfactl insight
Use thetfactl insight
command to generate AHF Insights report from across nodes in the AHF cluster. - tfactl index
Use thetfactl index
command to index events. - tfactl print
Use thetfactl print
command to print information from the Berkeley DB (BDB). - tfactl print inventory
Use thetfactl print inventory
command delete file metadata. - tfactl print syncstatus
Use thetfactl print syncstatus
command to get the sync status of TFA on all cluster nodes. - tfactl purgeindex
Use thetfactl purgeindex
command to index events. - tfactl purgeinventory
Use thetfactl purgeinventory
command delete file metadata. - tfactl queryindex
Use thetfactl queryindex
command to view stored events. - tfactl rediscover
Use thetfactl rediscover
command to discover new components and update inventory. - tfactl refreshconfig
Use thetfactl refreshconfig
command to refresh and list Oracle Trace File Analyzer cron jobs. - tfactl refreshconfig modifycron
Use thetfactl refreshconfig modifycron
command to modify the Oracle Trace File Analyzer cron entry. - tfactl restrictprotocol
Use thetfactl restrictprotocol
command to restrict certain protocols. - tfactl sendmail
Use thetfactl sendmail
command to send a test email to verify SMTP configuration. - tfactl set
Use thetfactl set
command to enable or disable, or modify various Oracle Trace File Analyzer functions. - tfactl setresourcelimit
Use thetfactl setresourcelimit
command to restrict the CPU and memory usage of Oracle Trace File Analyzer. - tfactl setupload
Use thetfactl setupload
command to set upload parameters. - tfactl showrepo
Use thetfactl showrepo
command to get the repository locations of Oracle Autonomous Health Framework components. - tfactl start
Use thetfactl start
command to start the Oracle Trace File Analyzer daemon on the local node, and also to start the desired support tool. - tfactl startahf
Use thetfactl startahf
command to start the scheduler for Oracle Autonomous Health Framework components. - tfactl status
Use thetfactl status
command to check the run status of Oracle Trace File Analyzer. - tfactl statusahf
Use thetfactl statusahf
command to check the shceduler status for Oracle Autonomous Health Framework components. - tfactl stop
Use thetfactl stop
command to stop the Oracle Trace File Analyzer daemon on the local node, and also to stop the desired support tool. - tfactl stopahf
Use thetfactl stopahf
command to stop the scheduler for Oracle Autonomous Health Framework components. - tfactl syncnodes
Use thetfactl syncnodes
command to generate and copy Oracle Trace File Analyzer certificates to other Oracle Trace File Analyzer nodes. - tfactl uninstall
Use thetfactl uninstall
command to uninstall Oracle Autonomous Health Framework. - tfactl upload
Use thetfactl upload
command to upload collections or files on demand. - tfactl unsetresourcelimit
Use thetfactl unsetresourcelimit
command to unset the limitations set on Oracle Trace File Analyzer CPU and memory usage. - tfactl unsetupload
Use thetfactl unsetupload
command to unset the configured upload parameters. - tfactl version
Use thetfactl version
command to check the version of Oracle Autonomous Health Framework components.
Parent topic: TFACTL Command Reference
9.3.1.1 tfactl insight
Use the tfactl insight
command to generate AHF Insights
report from across nodes in the AHF cluster.
AHF 23.8
Starting in AHF 23.8, you will be able to upload to pre-authenticated (PAR) URL. Uploading AHF Insights reports helps Oracle Cloud Operations to identify, investigate, track, and resolve system health issues and divergences in best practice configurations quickly and effectively.
Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) and Oracle Base Database Service
tfactl diagcollect -insight -last 1h -par <par_url>
tfactl insight -last 1h -par <par_url>
Syntax
tfactl insight
[-h]
[-node NODE]
[-last LAST | -for FOR | -from [FROM]]
[-to [TO]]
[-refresh]
[-keepinput]
[-par PAR]
[-request_from REQUEST_FROM]
[-onlyinsightsupload]
[-status]
Parameters
Prefix each option with a minus sign (-).
Option | Description |
---|---|
|
Specify a comma-delimited list of nodes from which to collect diagnostic
information. Default is |
|
Note: If you specify both date and time, then you must enclose both the values in double quotation marks (""). If you specify only the date or the time, then you do not have to enclose the single value in quotation marks. |
|
Provide fresh data from AHF Insight sources. |
|
Specifies not to remove the |
|
Uploads collection to a pre-authenticated URL. |
|
Specifies the requestor of the collection. |
|
Specifies only to upload insights |
|
Checks the status of AHF Insights. |