Documente Academic
Documente Profesional
Documente Cultură
(TFA)
Diagnostics for the Cloud
12.2.1.3.0
TFA
TFA
TFA
tfactl summary
Choose an
option to drill
down
TFA
Searching for
“ora-00600”
1. Where necessary set context with database <dbname> tfactl > database MyDB
Option Description
Runs as the ADR home
–show usage Shows disk space usage per diagnostic directory for both GI and database logs owner. So will only be able
-show variation –older <n><m|h|d> Use to determine per directory disk space growth. to purge files this owner
Shows the disk usage variation for the specified period per directory. has permission to delete
-purge –older <n><m|h|d> Remove all ADR files under the GI_BASE directory, which are older than the time specified
–gi Restrict command to only diagnostic files under the GI_BASE
–database [all | dbname] Restrict command to only diagnostic files under the database directory. Defaults to all,
alternatively specify a database name
-dryrun Use with –purge to estimate how many files will be affected and how much disk space will be May take a while for a
freed by a potential purge command. large number of files
Use –dryrun
for a “what if”
• Profiles only available for Clusterware today, Database profiles coming soon..
TFA
5. Trimmed where
applicable
-node Limit collection to comma separated list of nodes -emagent Collect EMAGENT logs
-oms Collect OMS logs
-database Limit collection to comma separated list of databases
-ocm Collect OCM logs
-asm Collect ASM logs
-emplugins Collect EMPLUGINS logs
-crsclient Collect Client Logs that are under GIBASE/diag/clients
-em Collect EM logs
-dbclient Collect Client Logs that are under DB ORABASE/diag/clients
-acfs Collect ACFS logs and Data
-dbwlm Collect DBWLM logs
-install Collect Oracle Installation related files
-tns Collect TNS logs
-cfgtools Collect CFGTOOLS logs
-rhp Collect RHP logs
-os Collect OS files such as /var/log/messages
-procinfo Collect Gathers stack and fd from /proc for all processes
-ashhtml Collect Generate ASH HTML Report
-afd Collect AFD logs
-ashtext Collect Generate ASH TEXT Report
-crs Collect CRS logs
-awrhtml Collect AWRHTML logs (requires –database option as well)
-wls Collect WLS logs
Option Description
-collectdir Collects other files in specified comma separated directory list. Only files updated in the relevant time
range (12 hours by default) get collected.
-tag Store the collection in a use a custom directory name within the repository, using the tag value specified
-z Append the value specified to the collection zip name
-nocopy Prevent the copying of zip files back to the initiating node
-notrim Prevent the trimming of files
-silent Start collection as a background process so output is not echoed to the console
-nocores Do not collect core files
Command Description
tfactl ips Invoke IPS
collect these packages tfactl ips show package Show all IPS packages
tfactl diagcollect -ips –help Show all available diagcollect IPS options
tfactl ips <options> tfactl diagcollect –ips Perform an IPS collection following prompts
tfactl diagcollect -ips -adrbasepath Perform an IPS collection in silent mode.
or <adr_base> -adrhomepath <adr_home>
tfactl diagcollect -ips -incident <incident id> Collect ADR details about a specific incident id
tfactl diagcollect –ips <options>
tfactl diagcollect -ips -problem <problem id> collect ADR details about a specific problem id
• Incident ID
• Problem Key
• Create Time
• Problem ID
• Problem Key
• Last Incident
• Last Incident Time
• Option 2
– To update with latest TFA & Support Tools
Bundle 1513912.1