Professional Documents
Culture Documents
Tracefileanalyzer 2008420 PDF
Tracefileanalyzer 2008420 PDF
EXECUTIVE OVERVIEW
REDUCED
COST
REDUCED
COMPLEXITY
INCREASED
QUALITY
OF
SERVICE
IMPROVED
AGILITY
4
4
4
4
TFA USAGE
DIAGCOLLECT
SAMPLE
COLLECTION
OUTPUT
OTHER
SAMPLE
COMMAND
OUTPUT
8
9
10
SUMMARY
11
GOALS
APPROACH
11
11
Executive
Overview
Reduced
Cost
When a problem occurs whether there is a service interruption or some
less serious problem it costs money and ties up resources. The faster
service can be restored or the problem solved the more quickly IT staff
can get back to more productive activities. Time is money. When time is
spent collecting and uploading diagnostic data over and over due to lack
of knowledge about what is needed or being pressed for time then the
resolution cycle is lengthened. TFA can help compress this aspect of the
cycle.
Reduced
Complexity
Often staff may not know what exactly happened or what to collect and
often the response is a kitchen sink approach where large amounts of
data are provided but not much information. The Oracle Support analyst
has to transfer this data to internal systems and then sift through it to
determine what the customer has provided. Often in clustered systems
diagnostics are required for correlation across the entire cluster and often
this requirement is neglected because the staff considers the collections to
be too complex or time consuming.
Improved
Agility
If staff are freed from the time consuming task of collecting diagnostic
data they can be re-deployed to work on more productive and interesting
tasks. First level production support personnel can collect and upload
diagnostics just as efficiently and as precisely as higher level staff through
automation and standardization.
platform support.
There is a simple command line interface (CLI) named tfactl which is used
to execute the commands that are supported by TFA. The JVMs only accept
commands from tfactl. tfactl is used to monitor the status of the TFA
configuration, making changes to the configuration and ultimately to take
collections.
Collections are initiated from any host in the configuration and if files are
needed from other hosts in the configuration the initiating hosts JVM
communicates the collection requirement to peer JVMs on other hosts. All
the collections across the configuration are run concurrently and are copied
back to the TFA repository on the initiating node. When all the collections
are complete the user can then upload the collections from a single host to
the Oracle Service Request.
The TFA repository can reside on a shared filesystem in which case as each
hosts collection is completed it is stored in the shared repository in host
TFA
Usage
The primary purpose for using TFA is to take collections. Here is a listing
of tfactl diagcollect syntax from the interactive help.
NOTE: TFA must be installed as root and tfactl must be run as root.
Installing and running under sudo control is also supported. In order
to configure TFA for sudo control here is an example /etc/sudoers file
configuration for an example host named myhost and assuming the
TFA installer is staged in /home/oracle and that the TFA_HOME is
/opt/oracle/tfa/tfa_home/.
oracle myhost=/home/oracle/installTFALite.sh
oracle myhost=/opt/oracle/tfa/tfa_home/bin/tfactl
diagcollect
$ sudo ./tfactl diagcollect -h
Usage: /opt/oracle/tfa/tfa_home/bin/tfactl
database <all|d1,d2..> | -asm | -crs | -os
nochmos ] [-node <all | local | n1,n2,..>]
<filename>] [-since <n><h|d>| -from <time>
nocopy] [-nomonitor]
Options:
-all
files
-crs
-asm
-database
-os
-install
-chmos
-nochmos
-node
-nocopy
all nodes
-nomonitor This option is used to submit the diagcollection as a
background
process
-since <n><h|d>
Files from past 'n' [d]ays or 'n' [h]ours
-from "MMM/dd/yyyy hh:mm:ss"
From <time>
-to
"MMM/dd/yyyy hh:mm:ss"
To <time>
-for "MMM/dd/yyyy"
For <date>.
-tag <tagname> The files will be collected into tagname directory
inside
repository
Examples:
/opt/oracle/tfa/tfa_home/bin/tfactl diagcollect
Trim and Zip all files updated in the last 4 hours as well as
chmos/osw data
from across the cluster and collect at the initiating node
Note: This collection could be larger than required but is there as
the
simplest way to capture diagnostics if an issue has recently
occurred.
/opt/oracle/tfa/tfa_home/bin/tfactl diagcollect -all -since 8h
Trim and Zip all files updated in the last 8 hours as well as
chmos/osw data
from across the cluster and collect at the initiating node
Summary
Goals
Improved comprehensive first failure diagnostics collection
Efficient collection, packaging, transfer of data for Customers
Reduce round trips between Customers and Oracle
Supports 10.2, 11.1, 11.2 and above
Included in the 11.2.0.4 patchset and future versions
Approach
Collect all relevant components (OS, Grid Infrastructure, ASM, RDBMS)
One command to collect all required information
Prune large files based on temporal criteria
Collect time relevant IPS (incident) packages on RAC nodes
Collect time relevant CHMOS, OSWatcher data on RAC nodes
On-demand (default) and Event Driven diagnostic collections
TFA Download My Oracle Support
Oracle Trace File Analyzer Collector (TFA) August 2013 Author: Bob Caldwell
Contributing Authors: Bill Burton, Sandesh Rao
Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA 94065 U.S.A.
Worldwide Inquiries: Phone: +1.650.506.7000 Fax: +1.650.506.7200
oracle.com
Copyright 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for
information purposes only and the contents hereof are subject to change without notice. This
document is not warranted to be error-free, nor subject to any other warranties or conditions,
whether expressed orally or implied in law, including implied warranties and conditions of
merchantability or fitness for a particular purpose. We specifically disclaim any liability with
respect to this document and no contractual obligations are formed either directly or indirectly by
this document. This document may not be reproduced or transmitted in any form or by any
means, electronic or mechanical, for any purpose, without our prior written permission.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be
trademarks of their respective owners.
AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered
trademarks of Advanced Micro Devices. Intel and Intel Xeon are trademarks or registered
trademarks of Intel Corporation. All SPARC trademarks are used under license and are
trademarks or registered trademarks of SPARC International, Inc. UNIX is a registered trademark
licensed through X/Open Company, Ltd. 1010