Bookmark | Go to End |
Important
Note: If you experience difficulties or receive errors please do not call Oracle
Support or log an iTAR for this issue. Review the Troubleshooting
Steps section below for instructions on reporting
problems.
We encourage the use of RDA because it gives a comprehensive picture of the customer's environment. This can greatly reduce tar resolution time by minimizing the number of requests from Oracle Support Services for more information. We have specifically designed RDA to be as unobtrusive as possible. RDA does not modify your system in any way, it merely collects data useful for Oracle Support Services.
For a list of all available RDA versions and platforms for Systems Technologies, please see <Note:175853.1>
At this time, the scripts are supported on the following Unix platforms:
The scripts can be run on other platforms, however, we recommend testing them on a non production server first as their performance is unpredictable. For example, errors will be signaled for utilities and commands not supported on those platforms.
- Sun Solaris (2.5 - 8)
- HP-UX (10.X and 11.X)
- Compaq Unix (OSF1) 4.x and 5.x
- IBM AIX
- Intel Linux (RedHat and SuSE)
RDA collects information useful for corrective issues related to the following productsAdditional products will be supported in future releases.
- Oracle RDBMS Server (Standard and Enterprise Editions)
- Oracle Application Server (HTTP Server)
- Oracle Management Server and Intelligent Agent
- OLAP Products (Express Server, Financial Analyzer, and Demand Planning Server)
- Oracle Networking products
RDA supports all supported versions of the above Oracle products. In most cases it will also run on desupported versions as well, although the information collected may not be as extensive.
RDA is essential for the following types of tars:
@ Support Analysts: see <Note:168022.1> "RDA (Remote Diagnostic Agent) FAQ"
Back to Contents
Current Unix Version: 3.10, November 25, 2002Click here to download the file (change the filename to rda.tar when saving).
For a list of all available RDA versions on other platforms for Systems Technologies, please see <Note:175853.1>
If a file download dialog box does not appear when clicking on the above link, you may need to clear your web browser's cache and/or restart your web browser. If you are still unable to download the file, you may request that we email you a copy: mailto:st-automation_ww@oracle.com%20?SUBJECT=UnixRDA Request:
If you would like to be notified when a new release of RDA is available, send an email to mailto:st-automation_ww@oracle.com?SUBJECT=RDA notification request: and let us know what platforms you use.
Installing RDA is quite simple and straightforward:
Verify the size of the file to ensure that it was transferred properly % ls -ltr rda.tar -rw-r--r-- 1 oracle dba 602624 Nov 25 12:11 rda.tar
% tar -xvf rda.tar x RDAParms.xml, 244 bytes, 1 tape blocks x rda.sh, 28455 bytes, 56 tape blocks x rda_guide.html, 25272 bytes, 42 tape blocks x setup.sh, 26562 bytes, 52 tape blocks x setup.txt.orig, 9508 bytes, 19 tape blocks x unixenv.sh, 2182 bytes, 5 tape blocks x ./RDAParms.xml, 244 bytes, 1 tape blocks x ./RDA_Output, 0 bytes, 0 tape blocks x ./RDA_script_0000_COMMON, 0 bytes, 0 tape blocks x ./RDA_script_0000_COMMON/rda.sh, 24909 bytes, 49 tape blocks x ./RDA_script_0000_COMMON/setup.sh, 879 bytes, 2 tape blocks x ./RDA_script_0001_SETUP_OS, 0 bytes, 0 tape blocks x ./RDA_script_0001_SETUP_OS/rda.sh, 51518 bytes, 101 tape blocks x ./RDA_script_0001_SETUP_OS/setup.sh, 884 bytes, 2 tape blocks x ./RDA_script_0002_RVW_OS, 0 bytes, 0 tape blocks x ./RDA_script_0002_RVW_OS/rda.sh, 26857 bytes, 53 tape blocks x ./RDA_script_0002_RVW_OS/setup.sh, 885 bytes, 2 tape blocks x ./RDA_script_0002_RVW_OS/files.txt, 659 bytes, 2 tape blocks x ./RDA_script_0003_RVW_PERF, 0 bytes, 0 tape blocks x ./RDA_script_0003_RVW_PERF/rda.sh, 12050 bytes, 24 tape blocks x ./RDA_script_0003_RVW_PERF/setup.sh, 894 bytes, 2 tape blocks x ./RDA_script_0004_RVW_NETWORK, 0 bytes, 0 tape blocks x ./RDA_script_0004_RVW_NETWORK/rda.sh, 35752 bytes, 70 tape blocks x ./RDA_script_0004_RVW_NETWORK/setup.sh, 11199 bytes, 22 tape blocks x ./RDA_script_0004_RVW_NETWORK/files.txt, 945 bytes, 2 tape blocks x ./RDA_script_0010_RVW_WEB_SRVR, 0 bytes, 0 tape blocks x ./RDA_script_0010_RVW_WEB_SRVR/rda.sh, 48554 bytes, 95 tape blocks x ./RDA_script_0010_RVW_WEB_SRVR/setup.sh, 9707 bytes, 19 tape blocks x ./RDA_script_0020_RVW_RDBMS, 0 bytes, 0 tape blocks x ./RDA_script_0020_RVW_RDBMS/setup.sh, 13883 bytes, 28 tape blocks x ./RDA_script_0020_RVW_RDBMS/rda.sh, 115603 bytes, 226 tape blocks x ./RDA_script_0030_RVW_IA, 0 bytes, 0 tape blocks x ./RDA_script_0030_RVW_IA/rda.sh, 9349 bytes, 19 tape blocks x ./RDA_script_0030_RVW_IA/setup.sh, 6208 bytes, 13 tape blocks x ./RDA_script_0030_RVW_IA/files.txt, 398 bytes, 1 tape blocks x ./RDA_script_0040_RVW_EMAIL_SRVR, 0 bytes, 0 tape blocks x ./RDA_script_0040_RVW_EMAIL_SRVR/rda.sh, 5657 bytes, 12 tape blocks x ./RDA_script_0040_RVW_EMAIL_SRVR/setup.sh, 6120 bytes, 12 tape blocks x ./RDA_script_0040_RVW_EMAIL_SRVR/files.txt, 112 bytes, 1 tape blocks x ./RDA_script_0050_RVW_OID, 0 bytes, 0 tape blocks x ./RDA_script_0050_RVW_OID/rda.sh, 5689 bytes, 12 tape blocks x ./RDA_script_0050_RVW_OID/setup.sh, 6165 bytes, 13 tape blocks x ./RDA_script_0050_RVW_OID/files.txt, 561 bytes, 2 tape blocks x ./RDA_script_0060_RVW_MGMT_SRVR, 0 bytes, 0 tape blocks x ./RDA_script_0060_RVW_MGMT_SRVR/rda.sh, 5687 bytes, 12 tape blocks x ./RDA_script_0060_RVW_MGMT_SRVR/setup.sh, 6077 bytes, 12 tape blocks x ./RDA_script_0060_RVW_MGMT_SRVR/files.txt, 198 bytes, 1 tape blocks x ./RDA_script_0070_RVW_OLAP, 0 bytes, 0 tape blocks x ./RDA_script_0070_RVW_OLAP/rda.sh, 24803 bytes, 49 tape blocks x ./RDA_script_0070_RVW_OLAP/setup.sh, 25625 bytes, 51 tape blocks x ./RDA_script_0080_RVW_WEBCACHE, 0 bytes, 0 tape blocks x ./RDA_script_0080_RVW_WEBCACHE/files.txt, 418 bytes, 1 tape blocks x ./RDA_script_0080_RVW_WEBCACHE/rda.sh, 7541 bytes, 15 tape blocks x ./RDA_script_0080_RVW_WEBCACHE/setup.sh, 5637 bytes, 12 tape blocksBack to Contents
It is impossible to tell how long RDA will take to execute as it depends on so many variables, such as system activity, the options chosen, network settings etc... On an average system RDA will take just a few minutes to run. The scripts are designed so that most commands that could potentially not complete (e.g. a lsnrctl status command if the listener is hung) will be stopped if they do not finish within thirty seconds. 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.
su root or su privileged_user
Do not use su - as that will reset the environment.
% ./setup.sh Setup for the Oracle rda.sh Version 3.10 parameters Enter the Prefix for all the Files Generated Hit Return to Accept Default: RDA ============================>
[More prompts continue...]At this time, you should be able to run the rda script ############################################################################## 1) Make sure it is executable: $ chmod +x rda.sh 2) At this point, $ORACLE_SID should be set and you should be able to connect to sqlplus with the userid you entered 3) The screen will indicate various iterations of files being collected. Once it has completed, you will be able to send the resulting /rda309/RDA_Output/RDA.<pid>.rda.tar.Z file to Oracle. <pid> will be the process id from the execution of rda.sh that created the file. 4) If this file was generated to assist in resolving a TAR, please send /rda309/RDA_Output/RDA.<pid>.rda.tar.Z to Oracle Support using the 'upload to support' link in the Tar Update section of Metalink.will be the process id from the execution of rda.sh that created the file. ##############################################################################
Special notes on userids and passwordsStarting with version 3.03 of RDA, the default option is not to store the password in plain text in the setup.txt file, but to prompt the user for the password when RDA is started. If you are currently executing RDA at regularly scheduled intervals via cron, you may need to adjust your cron jobs accordingly. You still have the option of storing the password as plain text in the setup.txt file, should you so desire.
Starting with version 3.03 of RDA, you may now indicate if the userid provided is a SYSDBA user. However, RDA does not support specifying / as the username.
After setup.sh completes you can optionally view the setup.txt file and
make any changes manually.
% ./rda.sh RDA Started Sun Nov 12 12:11:08 EDT 2002 RDA Starting Version 3.10, please wait..[More output is displayed...]
The simplest way of reviewing the output files is to launch a web browser on the same machine where rda.sh is run and open the file RDA__START.htm located in the RDA_Output directory.
Alternatively, you may ftp the <prefix>.<pid>.rda.tar.Z output file, created in the RDA_Output directory, in binary mode to a Windows client machine. Most Windows compression utilities, such as WinZip version 8.0+, can read Unix compressed files.
A third option would be to access the RDA__START.htm file from a
browser using the ftp (instead of http) protocol. The URL will look similar to
ftp://username@hostname.domain/home/rda_dir/RDA_Output//RDA__START.htm. Note
that this option may not work with all browsers or servers.
RDA will produce a compressed tar file called <prefix>.<pid>.rda.tar.Z. Please do not rename the file as it will help Oracle Support to quickly identify that RDA output is attached to the iTAR. After you log the iTAR, upload the file using the 'upload to support' link when updating the iTAR via MetaLink. Remember to transfer this file in binary mode!
The output is a set of HTML and text files located in the RDA output directory (RDA_Output by default). The files are also archived and compressed into <prefix>.<pid>.rda.tar.Z to transfer easily. Remember to transfer this file in binary mode!
@ Click here to download a sample output from Oracle Files Online.
@Support Analysts: see <Note:168022.1> "RDA (Remote Diagnostic Agent) FAQ"
Back to Contents
- V3.10
- Setup.sh displays the default domain name for the server and prompts the user to verify that it is correct.
- A new parameter file called RDAParms.xml file has been added which contains run time variable for RDA.
- A SQL_Run_Time_Limit parameter has been added to RDA to limit the maximum time that RDA will allow a SQL statement to run. If the database is accessed when RDA is run then the parameter value is displayed on the screen. If the database is not accessed during a RDA run, then it is not displayed.
- The main report now shows the fully qualified host name.
- UDP network settings are now gathered and displayed.
- The most recent system error log data is now displayed regardless of the command used to form the system error log.
- For Solaris Version 2.8 and higher, Intimate Shared Memory (ISM) information will be gathered. It will be displayed as a separate link in the OS section.
- HTML tagging with Opera is more clean and uniform.
- IA, OMS, EMS, and OID have been split from the networking section into their own modules.
- A status and process listing of COMM and WORK processes for the Intelligent Agent have been added.
- Replication information has been added to the RDBMS section.
- DBA_Jobs information has been added.
- Hidden parameters can be gathered if logged in as sysdba.
- Physical memory output has been added.
- A new module for Web Cache has been added.
- Collection services for Security/Auditing have been added to the RDBMS section.
- Output of oracle adapters command has been added in Network section.
- Links/anchors to Network Performance section have been added.
- V3.03
- Modularized format using multiple sub directory structures allows us to add new modules for increased functionality.
- Enhanced security by specifying passwords at runtime.
- Formatted database queries are easier to read and collect more information.
- NLS information is now collected from the environment and database.
- Information is now collected for OLAP products (Express Server, Financial Analyzer, and Demand Planning Server)
- If the database option is chosen, we now check to see if the database is up and that we can connect to it. If either of these fail, then the user is notified and asked how to proceed.
- Key hidden files to be collected are now itemized in os_files.txt. Items may be removed from this file should you prefer not to supply this information to Oracle Support Services.
- The Unix process ID is now included as part of the RDA output file name to avoid confusion when uploading multiple RDA output files.
- Directory listings of user_dump_dest, background_dump_dest, and core_dump_dest, along with the default locations of $ORACLE_HOME/dbs and $ORACLE_HOME/rdbms/log are now displayed to make it easier to identify trace files that support may need.
Many of these new features are a direct result of feedback from our customers, so we encourage you to send us any suggestions for improving RDA. See Reporting Feedback below.
Important Note: If you experience difficulties or receive errors please do not call Oracle Support or log an iTAR for this issue. Instead, send feedback to mailto:st-automation_ww@oracle.com?SUBJECT=Unix RDA Problem report: so that we can correct the problem.
- If you are unable to extract the contents of the rda.tar file:
- Verify that rda.tar was transferred in binary mode when using ftp.
- Verify that the size of the rda.tar file matches the size displayed in the Installation Instructions above.
- If you are unable to run setup.sh or receive a "Command not found" error:
- Ensure that the .sh files have execute privileges
chmod +x *.sh
- Do not extract the contents of rda.tar on your Windows client first. Otherwise you will need to remove the ^M characters from the end of each line in all of the scripts in order for them to run.
- Do not specify the shell to use or you will receive various "is not an identifier" errors.
Wrong: /usr/bin/sh rda.sh
Right: ./rda.sh
- If RDA is unable to connect to the database, check the following:
- If you answered Y to specify that the user is a SYSDBA user when running setup.sh, ensure that you can connect with that user using AS SYSDBA. For example, if you specified SYSTEM as the username RDA should use, then ensure that you can connect with the following command in sqlplus:
connect system AS SYSDBAIf you cannot, then run setup.sh again and answer N to this question or edit setup.txt and set SYSDBA_USER=N
- If you are using su to connect to root or a privileged user, do not use su - as the minus resets the environment.
- There is an open bug where RDA is unable to connect to the database if the login.sql or glogin.sql files, located in $ORACLE_HOME/sqlplus/admin, contain user prompts. The only workaround is to temporarily rename these files while running RDA.
- For any other problems with RDA:
- Run setup.sh again and specify a new temporary directory (if the directory does not exist, RDA will create it).
- Run RDA in debug mode
./rda.sh debug
- Send the following information to us at mailto:st-automation_ww@oracle.com?SUBJECT=Unix RDA Problem report::
Back to Contents
- the output file generated from env > output_file
- the last 10-20 lines of screen output from running rda
- the output from uname -a
- all of the files created in the RDA output directory (RDA_Output by default).
- all of the files created in the temporary directory specified when running setup.sh (if any)
- the setup.txt file located in the main RDA directory (you may wish to edit the file to remove any passwords if you've chosen to store them in plain text).
- the login.sql and glogin.sql files from $ORACLE_HOME/sqlplus/admin
If you encounter problems running RDA, please follow the Troubleshooting Steps above and send us the information indicated. For any other comments or feedback about RDA, including enhancement requests, please send email to mailto:st-automation_ww@oracle.com%20?SUBJECT=UnixRDA Feedback:
@ ORACLE EMPLOYEES: Please send general feedback to as well.Back to Contents.