Beruflich Dokumente
Kultur Dokumente
PURPOSE
=======
RDA is a set of command line diagnostic scripts that are executed by an engine
written in the Perl programming language. RDA is used to gather detailed
information about an Oracle environment; the data gathered is in turn used to
aid in problem diagnosis. The output is also useful for seeing the overall
system configuration.
Oracle Support encourages the use of RDA because it provides a comprehensive
picture of the customer's environment. This can greatly reduce service request
resolution time by minimizing the number of requests from Oracle Customer
Support for more information. RDA is designed to be as unobtrusive as possible;
it does not modify systems in any way, it only collects useful data for Oracle
Customer Support.
CHECKS TO BE DONE BEFORE INSTALLATION
=====================================
Before installing RDA, ensure that the following criteria are met for ease of
use:
1) UNZIP and ZIP utilities must be installed and available on the system.
Therefore, they should be defined as symbols for the user running RDA.
For example: UNZIP == "$sys$login:UNZIP_ALPHA.EXE"
ZIP == "$disk$tools:zip"
If you do not have UNZIP installed in the system, you can download and
install it for free from:
http://h71000.www7.hp.com/openvms/freeware/freeware.html
2) PERL (versions 5.005 - 5.8.x) utility has be installed and should be
available for the user running RDA 8.x. The required PERL logicals should be
defined in the user environment. Therefore, ensure that only the following
PERL logicals are defined:
"PERLSHR" = mostly ("PERL_ROOT:[000000]PERLSHR.EXE")
"PERL_ROOT" = depends on your environment.
If you do not have PERL installed in your system, you can download and
install it for free from:
http://h71000.www7.hp.com/openvms/products/ips/apache/csws_modperl.html
3) Once you are sure that both PERL and ZIP/UNZIP are installed and working,
ensure that you run orauser.com for the respective database on which you
wish to run RDA 8.x against. This will set all the database related logicals
such as ORACLE_HOME. Even if you do not run orauser.com, RDA 8.x will still
be able to collect the information related to operating system such as its
version, products installed, and so on.
4) RDA will only be able to collect the Network related information when
standard TCP/IP Services are in use.
INSTALLATION INSTRUCTIONS
=========================
To install RDA, extract the zip archive contents into a new directory,
preserving the directory structure of the archive. Do not extract into a
directory that contains an older RDA version.
Example:
unzip rda.zip
@RDA "-v"
The "-v" option is optional. It allows you to view the collection progress.
5) The output is a set of HTML files that are located in the RDA result set
directory. By default, RDA saves the result set definition in output.cfg and
puts the collection result in the output directory. By default, both are
located in the current working directory. You can review the data collected,
starting with:
[<result_set_name>]RDA__start.htm
Please note: Do not submit any health, payment card or other sensitive
production data that requires protections greater than those specified in
the Oracle GCS Security Practices (http://www.oracle.com/us/support/library/
customer-support-security-practices-069170.pdf). Information on how to
remove data from your submission is available at
https://support.oracle.com/rs?type=doc&id=1227943.1
6) The final output is also packaged in an archive located in the same
directory than the result set definition file. The packaged output file will
have a .zip extension (for example, RDA_<result_set_name>_<host>.zip). If
the data collection was generated to assist in resolving a Service Request,
send the report archive to Oracle Support by uploading the file via
My Oracle Support. When transferring the file with ftp, be sure to ftp in
BINARY format. Do not rename the file, as the file name helps Oracle Support
to quickly identify that RDA output is attached to the service request.
It is impossible to tell how long RDA will take to execute, as it depends on
many variables, such as system activity, the options chosen, network settings,
etc. On an average system, RDA takes just a few minutes to run. Most scripts
are designed to stop if for some reason they cannot complete within 30 seconds,
(for example, the lsnrctl status command will stop if the listener is hung).
It is not unusual for RDA to take 15 minutes or more on a very busy server,
especially if there are many Oracle listener processes active.
If you must run data collection for specific modules again, for example the
OS and DBA modules, then you can run the following command:
@RDA "-vCRP" "OS.OS" "DB.DBA"
RDA maintains the list of modules that are already collected. If you want RDA
to collect all data again using the same setup, then you can execute the
following command:
@RDA "-vCRPf" or @RDA "-vf"
You can force RDA to define another collection using system defaults instead of
the previous collection settings in two ways:
Deleting or renaming the "output.cfg" file before running:
@RDA "-S"
or
Running the following RDA command:
@RDA "-Sfn"
Currently this utility is written in the English language only, including the
built in documentation.
PLATFORMS SUPPORTED
===================
At this time, the scripts are supported on the following VMS platforms:
-- HP OpenVMS Alpha 7.3-2 and above
-- HP Itanium
RDA can also be executed on other platforms. However, if
Oracle Support recommends to test it on a non-production
execution performance is unpredictable. For example, you
when RDA attempts to run utilities and commands that are
platforms.
PRODUCTS SUPPORTED
==================
RDA collects information that is useful for troubleshooting issues in the
following areas:
----------
Installation/configuration issues
Performance issues
ORA-600, ORA-7445, ORA-3113, and ORA-4031 errors
Upgrade, migration, and linking issues
Developer issues
Oracle Database issues
Oracle Application Server/Fusion Middleware issues
Oracle Enterprise Manager issues
Other corrective issues
The RDA report, which is sent to Oracle Support for diagnostic reasons, can
contain sensitive information such as IP addresses and user names. RDA allows
the user to remove sensitive data from the reports before communicating
externally. Following are the options which RDA offers to mask sensitive data
in the reports.
The Security profile to turn on filtering. It can be combined with other
profiles:
@RDA "-S" "-pDB11g-Security"
The previous command sets up RDA for the DB11g profile and turns on filtering
through the Security profile.
To enable filtering for an existing setup:
@RDA "-XFilter" "enable"
If the user want to know what exactly RDA is collecting, the RDA code is
readable to the user and it is available in the "collect" directory structure.
TROUBLESHOOTING STEPS
=====================
If RDA is unable to connect to the database, and the user is declared as a
SYSDBA user when running the setup, ensure that connections are possible with
that user using AS SYSDBA. For example, if SYSTEM is specified as the user name,
make sure that you can connect using the following command in SQL*Plus:
connect system AS SYSDBA
If you cannot connect, run the setup again and answer N to that question, or
edit the result set definition file and set B_SYSDBA=0. You can also use the
"TMdb" test module to obtain more elements on the connection problem.
If you run RDA for an issue that involves multiple tiers (for example,
Application Server, Database Server, OLAP/Express Drive, OID, etc.) and the
tiers are on separate servers, then you must run RDA on each server associated
with the issue that you are troubleshooting. Data for these tiers will not be
collected unless RDA is run on the server that the product resides on.
If you are running RDA for an issue that involves products under different
ORACLE_HOME directories but the same server, you must run RDA multiple times,
once for each ORACLE_HOME that is involved in the issue that you are
troubleshooting. It is possible to have multiple result sets (see option "-s").
RDA has N_TIMEOUT and N_SQL_TIMEOUT settings, which allows to limit the
execution time of operating system commands and SQL scripts respectively. This
is done to avoid situations in which RDA could hang because the execution of a
query would never complete. However, this feature depends on the operating
system capability to interrupt any tasks and should not always be operational.
If RDA was not able to execute a specific script, it might be a timeout issue.
You can try to increase these parameters in the result set definition file.
There could be situations in which some queries would take longer than 30
seconds to complete execution. In these cases, do the following to increase
the N_TIMEOUT or N_SQL_TIMEOUT parameter:
1) Change directory to the directory where the result set definition file is
stored.
2) Use an editor to edit the result set definition file (output.cfg by default).