Note: This article is a guidebook for Oracle Remote Diagnostic Agent (RDA) beginners.
Tags: Oracle Remote Diagnostic Agent, RDA, database diagnosis, database health check
Note: The unnecessary parts are deleted in the article, so that beginners can learn at a glance will be
related tools: Oracle commonly used diagnostic tools: AHF, RDA, ORAchk, EXAChk , TFA
tips: If you found this article written where there is a problem or have a better wording please leave a message or my private letter to be modified to optimize
★ Related articles
※ ORAchk health check tool
※ Remote Diagnostic Agent (RDA)-Getting Started (Doc ID 314422.1)
※ Oracle RDA (Remote Diagnostic Agent) tool description
★ Glossary
The Oracle RDA (Remote Diagnostic Agent) tool is a tool composed of a set of command-line diagnostic scripts, used to collect detailed diagnostic and trace information about various Oracle products and their environments. Then, the collected data will be used to assist in problem diagnosis and even help prevent potential problems from occurring. It also contains the Health Check Verification Engine (HCVE); it contains a set of pre-installation/post-installation checks to help you determine whether your environment is suitable for installing Oracle products or needs improvement. Not only do analysts use this tool to assist in troubleshooting service requests, they can also use it as a way to make snapshots of your environment at their fingertips.
Running this tool will not change any parameters of the system. The relevant data collected by RDA is very comprehensive, which can simplify our daily monitoring and analysis of the database. Generally, the people from the original Oracle factory also use RDA tools.
RDA is written in Perl script. You can download RDA through MOS. RDA is a client and can be used directly after decompression.
★ Knowledge points
※ When collecting DB information under GI, you need to set the environment variables of DB in the DB collection module to collect DB information.
※ When collecting DB information under GI, you can use "operating system authentication" to realize password-free "sysdba" login
★ Create a directory and authorize
mkdir -p /rda
unzip p21769913_204201020_Linux-x86-64.zip (version 20201118 or version 20.4)
chmod 777 -R /rda
chown oracle:oinstall /rda
chown grid:oinstall /rda
chown ogg:oinstall /rda
★ Select different software profiles for pre-configuration
※ The profile files of several commonly used software
[RAC] are listed below
# chmod 777 -R /rda
# chown grid:oinstall /rda
# su-grid
$ cd /rda
$ ./rda.sh -S -s rac -p Rac
【database】
# chmod 777 -R /rda
# chown oracle:oinstall /rda
# su - oracle
$ cd /rda
$ ./rda.sh -S -s db_11g -p DB11g
【goldengate】
# chmod 777 -R /rda
# chown ogg:oinstall /rda
# su - ogg
$ cd /rda
./rda.sh -S -s ogg -p Goldengate
【ASM】
# chmod 777 -R /rda
# chown grid:oinstall /rda
# su - grid
$ cd /rda
$ ./rda.sh -S -e ORACLE_SID=racdb1,ORACLE_BASE=/u01/app/oracle/,ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 -s asm -p Rac_Asm
★ Collect data
[RAC]
# chmod 777 -R /rda
# chown grid:oinstall /rda
# su-grid
$ cd /rda
$ ./rda.sh -s rac
【database】
# chmod 777 -R /rda
# chown oracle:oinstall /rda
# su - oracle
$ cd /rda
$ ./rda.sh -s db_11g
【goldengate】
# chmod 777 -R /rda
# chown ogg:oinstall /rda
# su - ogg
$ cd /rda
./rda.sh -s ogg
【ASM】
# chmod 777 -R /rda
# chown grid:oinstall /rda
# su - grid
$ cd /rda
$ ./rda.sh -s asm
★ RDA can collect all the following content (almost all commonly used Oracle software: DB/RAC/OGG/WLS/MYSQL, etc.)
ACFS Collects ASM Cluster File System Information
ACT Collects Oracle E-Business Suite Application Information
ADBA Collects ACS Oracle Database Assessment
ADX Collects AutoConfig and Rapid Clone Information
AGT Collects Enterprise Manager Agent Information
APEX Collects APEX Information
ASAP Collects Automated Service Activation Program Information
ASBR Collects Application Server 10g Backup and Recovery Information
ASG Collects Application Server Guard Information
ASIT Collects Oracle Application Server Installation Information
ASM Collects Automatic Storage Management Information
B2B Collects Oracle Business to Business Information
BAM Collects Business Activity Monitoring Information
BEE Collects Beehive Information
BEGIN Initializes the Data Collection
BI Collects Oracle Business Intelligence Enterprise Edition Info.
BIPL Collects Oracle Business Intelligence Publisher Information
BPEL Collects Oracle BPEL Process Manager Information
BPM Collects Oracle Business Process Management Suite Information
BR Collects Oracle Database Backup and Recovery Information
BRM Collects Billing and Revenue Management Information
CAMM Collects Oracle Composite Application Monitor and Modeler Info.
CB Collects Oracle Crystal Ball Information
CCR Collects OCM Diagnostic Information
CDB Collects Oracle Container or Pluggable Database Information
CM Collects Configuration Management Information
COHR Collects Oracle Coherence Information
CONFIG Collects Key Configuration Information
CONT Collects Oracle Content Services Information
CRID Collects Oracle Access Manager (COREid) Information
CRS Collects Cluster Information
CS Collects Oracle Communications Calendar Server Information
CUST Collects Customer-Specific Information
D2PC Collects Distributed Transaction Information
DAC Collects Data Warehouse Administration Console Information
DB Controls Oracle RDBMS Data Collection
DBA Collects Oracle RDBMS Information
DBC Collects Database Control Information
DBM Collects Oracle RDBMS Memory Information
DBPGA Collects Oracle RDBMS Process Global Area Memory Information
DEV Collects Oracle Developer Information
DG Collects Data Guard Information
DNFS Collects Direct NFS Information
DPS Collects Oracle DSEE Directory Proxy Server Information
DSCS Collects Discussions Information
DSCV Collects Oracle Discoverer Information
EAS Collects Oracle Essbase Administration Services Information
ECE Collects Elastic Charging Engine Information
ECM Controls Oracle WebCenter Content Data Collection
EDQ Collects Oracle Enterprise Data Quality Information
EMS Collects Email Marketing Server Information
END Finalizes the Data Collection
EPM Collects Enterprise Performance Management System Information
EPMA Collects Enterprise Performance Management Architect Info.
EPPM Collects Primavera P6 Enterprise Project Portfolio Management Info
ES Collects Oracle Entitlements Server Information
ESB Collects Enterprise Service Bus Information
ESS Collects Oracle Essbase Information
ESSO Collects Oracle Enterprise Single Sign-On Information
ESST Collects Oracle Essbase Studio Information
EXA Collects Exadata Information
EXL Collects Oracle Exalogic Information
EXLTCS Collects Oracle Exalytics Information
EXTRA Collects User Defined Data
FCM Collects Oracle Hyperion Financial Close Management Information
FDM Collects Oracle Hyperion Financial Data Management Information
FILTER Controls Report Content Filtering
GFS Collects Oracle GlassFish Server Information
GRDN Collects Oracle Guardian Information
GRID Controls Grid Control Data Collection
GTW Collects Transparent/Procedural Gateway Information
HCM Collects Oracle Hyperion Calculation Manager Information
HDM Collects Oracle Hyperion Disclosure Management Information
HDRM Collects Hyperion Data Relationship Management Information
HFM Collects Oracle Hyperion Financial Management Information
HFR Collects Oracle Hyperion Financial Reporting Information
HIR Collects Oracle Hyperion Interactive Reporting Information
HPC Collects Oracle Hyperion Profitability and Cost Management
HPL Collects Oracle Hyperion Planning Information
HPS Collects Oracle Hyperion Performance Scorecard Information
HPSV Collects Oracle Hyperion Provider Services Information
HSF Collects Oracle Hyperion Strategic Finance Information
HSS Collects Oracle Hyperion Shared Services Information
HSV Collects Oracle Hyperion Smart View for Office Information
HWA Collects Oracle Hyperion Web Analysis Information
IA Collects Intelligent Agent Information
IAS Collects Web Server Information
IFS Collects iFS (iFS, CMSDK, Files) Information
INFA Collects Informatica Information
INFRA Collects Oracle Fusion Middleware Infrastructure 12c Info.
INIT Controls Oracle Fusion Middleware Data Collection
INST Collects the Oracle Installation Information
IPM Collects Oracle WebCenter Content: Imaging Information
IPS Collects Oracle Incident Packaging Service Information
IPSA Collects Oracle Communications IP Service Activator Information
IREQ Handles the Oracle Instance Collection Requests
IWPS Collects Oracle iPlanet Web Proxy Server Information
IWS Collects Oracle iPlanet Web Server Information
J2EE Collects J2EE/OC4J Information
JBOSS Collects JBoss Application Server Information
JCS Collects Java Cloud Service Information
JDBC Collects Oracle Java DB Connectivity (JDBC) Information
JDES Collects JD Edwards EnterpriseOne Enterprise Server Information
JDEV Collects Oracle JDeveloper Information
JDWEB Collects JD Edwards EnterpriseOne HTML Server Information
JIVE Collects Jive Information
LANG Collects Oracle Language Information
LCM Collects Oracle Lifecycle Management Information
LOAD Produces the External Collection Reports
LOG Collects Oracle Database Trace and Log Files
LTFS Collects StorageTek Linear Tape File System Information
MAIL Collects Oracle Collaboration Suite Mail Information
MCS Collects Mobile Cloud Service Information
MES Collects Oracle Messaging Exchange Server Information
MSLG Collects Microsoft Languages Information
MYCL Collects Oracle MySQL Cluster Information
MYSQ Collects Oracle MySQL Server Information
NCC Collects Network Charging and Control Information
ND Collects Oracle Communications Network Discovery Information
NET Collects Network Information
NI Collects Oracle Communications Network Integrity Information
NM Collects Oracle Communications Network Mediation Information
NPERF Samples Performance Information (root not required)
OAAM Collects Oracle Adaptive Access Manager Information
OAM Collects Oracle Access Manager Information
OCAL Collects Oracle Calendar Information
OCCAS Collects Converged Application Server Information
OCDB Collects Oracle Content Database Information
OCFS Collects Oracle Cluster File System Information
OCM Interacts with the Oracle Configuration Manager
OCOMC Collects Offline Mediation Controller Information
OCS Controls Oracle Collaboration Suite Data Collection
OCSG Collects Oracle Communications Service Gatekeeper Information
ODC Collects Oracle WebCenter Enterprise Capture Information
ODI Collects Oracle Data Integrator Information
ODM Collects Oracle Data Mining Information
OES Collects Oracle Express Server Information
OFA Collects Oracle Fusion Applications Information
OFAP Collects Oracle Fusion Applications Provisioning Information
OGG Collects Oracle GoldenGate Information
OHS Collects Oracle HTTP Server 12c Information
OIA Collects Oracle Identity Analytics Information
OID Collects Oracle Internet Directory Information
OIF Collects Oracle Identity Federation 10g Information
OIM Collects Oracle Identity Manager Information
OLAP Collects OLAP Information
OMM Collects Oracle Multimedia or Oracle interMedia Information
ONET Collects Oracle Net Information
OS Collects the Operating System Information
OSB Collects Oracle Service Bus Information
OSM Collects Order and Service Management Information
OSSO Collects Oracle OpenSSO Information
OTD Collects Oracle Traffic Director Information
OUD Collects Oracle Unified Directory Information
OVD Collects Oracle Virtual Directory Information
OVMM Collects Oracle VM Manager Information
OVMS Collects Oracle VM Server Information
OW Collects Oracle Waveset Information
OWB Collects Oracle Warehouse Builder Information
OWSM Collects Oracle Web Services Manager Information
PAPP Collects PeopleSoft Information from Tuxedo Application Server
PAPPFIL Collects specified PeopleSoft files from Tuxedo Application Server
PDA Collects Oracle Portal Information
PDBA Collects PeopleSoft Information from an Oracle Database
PDC Collects Oracle Communications Pricing Design Center Information
PERF Collects Performance Information
PLNC Collects Oracle PL/SQL Native Compilation Information
PR Collects Oracle Hyperion SQR Production Reporting Information
PROF Collects the User Profile
PS Collects Oracle Communications Policy Services Information
PSCH Collects PeopleSoft Information from Process Scheduler
PSCHFIL Collects specified PeopleSoft files from Process Scheduler
PSFT Controls PeopleSoft Data Collections
PWEB Collects PeopleSoft Information from Web Application Server
RACD Performs an Oracle Database Hang Analysis
REMOTE Performs the Remote Data Collections
RET Collects Oracle Retail Information
RPERF Samples Performance Information (root privileges required)
RSRC Collects Oracle Database Resource Manager Information
RTC Collects Real Time Communication Information
SAMPLE Controls Sampling
SAMPLE.EXTRA Samples User Defined Data
SC Collects Oracle Communications Service Controller Information
SEBL Collects Siebel Information
SES Collects Oracle Secure Enterprise Search Information
SOA Collects Oracle SOA Suite Information
SP Collects SQL*Plus/iSQL*Plus Information
SSO Collects Single Sign-On Information
STA Collects StorageTek Tape Analytics Information
STATUS Produces the Remote Data Collection Reports
STC Collects Streams Configuration Information
STM Collects Streams Monitoring Information
TOMCAT Collects Apache Tomcat Information
TOPL Collects Oracle TopLink Information
TTEN Collects Oracle TimesTen In-Memory Database Information
TUX Collects Oracle Tuxedo Information
UCM Collects Oracle WebCenter Universal Content Management Information
UIM Collects Unified Inventory Management Information
UOA Collects Oracle Universal Online Archive Information
WAC Collects Web Access Client Information
WC Collects Oracle WebCenter Suite Information
WCA Collects Oracle WebCenter Analytics Information
WCI Collects Oracle WebCenter Interaction Information
WCS Collects Oracle WebCenter Sites Information
WEBC Collects Oracle Web Cache Information
WG Collects Oracle WebGate Information
WKSP Collects Workspaces Information
WLI Collects Oracle WebLogic Integration Information
WLS Collects Oracle WebLogic Server Software and Domain Information
WMC Collects Webmail Client Information
WREQ Handles Collection Requests from Oracle WebLogic Server Modules
WRLS Collects Wireless Information
WS Collects Oracle Web Services Information
WSP Collects IBM WebSphere Application Server Information
XDB Collects XDB Information
XPLR Performs Oracle Explorer Collections
★ View the collected information (database)
※ RDA will create a folder based on the name of the -s parameter (Specify the result set name) (the result set name in the case is "odbonly"), and the collected information is in this folder
※ Use browse Open the browser and view the collected information: RDA__start.htm
※ The details are as follows (If the outline in the upper left corner is not displayed well, you can manually modify the HTML parameters according to personal preferences)
★ View the collected information (ASM)
※ RDA will create a folder based on the name of the -s parameter (Specify the result set name) (the result set name in the case is "asm"), and the collected information is in it.
※ Use browse Open the browser and view the collected information: RDA__start.htm
※ The details are as follows (If the outline in the upper left corner is not displayed well, you can manually modify the HTML parameters according to personal preferences)
★ Interactive configuration case (database)
[oracle@rac1 rda]$ ./rda.sh -S -s odbonly -p DB11g
------------------------------------------------------------------------------
OS.OS: Collects the Operating System Information
------------------------------------------------------------------------------
------------------------------------------------------------------------------
OS.PROF: Collects the User Profile
------------------------------------------------------------------------------
------------------------------------------------------------------------------
OS.NET: Collects Network Information
------------------------------------------------------------------------------
Do you want RDA to perform the network ping tests (Y/N)?
Press Return to accept the default (Y)
>
Enter the name of the node the script is running on (used for ping tests)
Press Return to accept the default (rac1)
>
Enter a remote node connecting to this server (used for ping tests) or a dash
(-) to skip the test
>
Enter the node hosting the database instance (used for ping tests)
Press Return to accept the default (rac1)
>
Enter the node where the Web Server/Forms server is on (used for ping tests)
or a dash (-) to skip the test
>
Enter a typical client node connecting to the database (used for ping tests)
or a dash (-) to skip the test
>
Enter the node of any load balancer that features in the topology (used for
ping tests) or a dash (-) to skip the test
>
------------------------------------------------------------------------------
OS.ONET: Collects Oracle Net Information
------------------------------------------------------------------------------
------------------------------------------------------------------------------
OS.INST: Collects the Oracle Installation Information
------------------------------------------------------------------------------
------------------------------------------------------------------------------
DB.DB: Controls Oracle RDBMS Data Collection
------------------------------------------------------------------------------
Select a query target:
1 Using system as SYSDBA at racdb1
D Define a new query target
E Edit a query target
Enter the item number or the action letter.
Press Return to accept the default (1)
> 1
------------------------------------------------------------------------------
DB.DBA: Collects Oracle RDBMS Information
------------------------------------------------------------------------------
------------------------------------------------------------------------------
DB.DBM: Collects Oracle RDBMS Memory Information
------------------------------------------------------------------------------
------------------------------------------------------------------------------
DB.LOG: Collects Oracle Database Trace and Log Files
------------------------------------------------------------------------------
------------------------------------------------------------------------------
DB.DNFS: Collects Direct NFS Information
------------------------------------------------------------------------------
------------------------------------------------------------------------------
DB.SP: Collects SQL*Plus/iSQL*Plus Information
------------------------------------------------------------------------------
Do you want RDA to collect SQL*Plus/iSQL*Plus information (Y/N)?
Press Return to accept the default (Y)
> Y
------------------------------------------------------------------------------
OS.PERF: Collects Performance Information
------------------------------------------------------------------------------
Can ADDM, AWR, and ASH be used (Y/N)?
Press Return to accept the default (Y)
>
------------------------------------------------------------------------------
EM.GRID: Collects Oracle Management Server and Repository Information
------------------------------------------------------------------------------
Do you want RDA to analyze Oracle Enterprise Manager Cloud/Grid Control (Y/N)?
Press Return to accept the default (N)
>
------------------------------------------------------------------------------
EM.AGT: Collects Oracle Enterprise Manager Agent Information
------------------------------------------------------------------------------
Do you want RDA to analyze Oracle Enterprise Manager Agent (Y/N)?
Press Return to accept the default (N)
>
------------------------------------------------------------------------------
EM.DBC: Collects Database Control Information
------------------------------------------------------------------------------
Is the Oracle Enterprise Manager Database Control in use (Y/N)?
Press Return to accept the default (N)
>
[oracle@rac1 rda]$
★ According to the configuration in the previous step, perform the collection operation case (database)
$ ./rda.sh -s odbonly
[oracle@rac1 rda]$ ./rda.sh -s odbonly
------------------------------------------------------------------------------
RDA Data Collection Started 20-Dec-2020 20:03:29
------------------------------------------------------------------------------
Processing RDA.BEGIN module ...
Enter the password for "SYSTEM as SYSDBA" at "racdb1":
Re-enter it to confirm:
Processing OS.PERF module ...
Processing RDA.CONFIG module ...
Processing OS.OS module ...
Processing OS.PROF module ...
Processing OS.NET module ...
Network checks may take a few minutes. Be patient...
Processing OS.ONET module ...
Listener checks may take a few minutes. Be patient...
Processing listener LISTENER
Processing listener LISTENER_SCAN2
Processing OS.INST module ...
Processing DB.DBA module ...
Processing HCVE tests ...
Performing HCVE checks ...
Test "Oracle Database 11g R2 (11.2.0) Preinstall (Linux)" executed at 20-Dec-2020 20:05:25
Test Results
~~~~~~~~~~~~
ID NAME RESULT VALUE
====== ==================== ======= ==========================================
A00010 OS Certified? WARNING 11.2.0.3+
A00020 User in /etc/passwd? PASSED userOK
A00040 Group in /etc/group? PASSED GroupOK
A00050 Enter ORACLE_HOME RECORD /u01/app/oracle/product/11.2.0/db_1
A00060 ORACLE_HOME Valid? PASSED OHexists
A00070 O_H Permissions OK? PASSED CorrectPerms
A00080 oraInventory Permiss PASSED oraInventoryOK
A00090 Got Software Tools? PASSED ld_nm_ar_make_found
A00100 Umask Set to 022? PASSED UmaskOK
A00120 Limits Processes PASSED Adequate
A00125 Limits Stacksize FAILED HardHigh
A00130 Limits Descriptors PASSED Adequate
A00140 LDLIBRARYPATH Unset? FAILED IsSet
A00180 JAVA_HOME Unset? PASSED UnSet
A00190 Enter JDK Home RECORD
A00200 JDK Version FAILED JDK home is missing
A00210 Other O_Hs in PATH? PASSED NoneFound
A00220 Other OUI Up? PASSED NoOtherOUI
A00230 Temp Adequate? PASSED TempSpaceOK
A00240 Disk Space OK? PASSED DiskSpaceOK
A00250 Swap (in MB) RECORD 3999
A00260 RAM (in MB) FAILED 1870
A00270 SwapToRam OK? PASSED SwapToRamOK
A00280 Network PASSED Connected
A00290 IP Address RECORD 1.1.1.1
A00300 Domain Name RECORD NotFound
A00310 DNS Lookup FAILED nslookup host.domain
A00320 /etc/hosts Format FAILED No entry found
A00330 Kernel Parameters OK PASSED KernelOK
A00380 Tainted Kernel? PASSED NotVerifiable
A00400 ip_local_port_range PASSED RangeOK
A00480 OL4 RPMs OK? SKIPPED NotOracle
A00490 OL5 RPMs OK? SKIPPED NotOracle
A00500 OL6 RPMs OK? SKIPPED NotOracle
A00510 OL7 RPMs OK? SKIPPED NotOracle
A00530 RHEL4 RPMs OK? SKIPPED NotRHEL4
A00540 RHEL5 RPMs OK? SKIPPED NotRHEL5
A00550 RHEL6 RPMs OK? FAILED [ksh(x86_64)] not installed
A00560 RHEL7 RPMs OK? SKIPPED NotRHEL7
A00570 SLES10 RPMs OK? SKIPPED NotSuSE
A00580 SLES11 RPMs OK? SKIPPED NotSuSE
Result file: odbonly/collect/DB_HCVE_A_DB11R2_lin_res.htm
Processing DB.DBM module ...
Processing DB.LOG module ...
Processing DB.DNFS module ...
Processing DB.SP module ...
Processing RDA.LOAD module ...
Processing RDA.END module ...
------------------------------------------------------------------------------
RDA Data Collection Ended 20-Dec-2020 20:05:38
------------------------------------------------------------------------------
You can review the reports by transferring the /rda/odbonly directory
structure to a location where you have web-browser access. Then, point your
browser at this file to display the reports:
RDA__start.htm
Based on your server configuration, some possible alternative approaches
are:
- If your client computer with a browser has access to a web-shared
directory, copy the /rda/odbonly directory structure to the web-shared
directory and visit this URL:
http://machine:port/web_shared_directory/RDA__start.htm
or
- If your client computer with a browser has FTP access to the server
computer with the /rda/odbonly directory, visit this URL:
ftp://[email protected]//rda/odbonly
If this file was generated to assist in resolving a Service Request, send
/rda/RDA_odbonly_rac1.zip to Oracle Support by uploading the file via My
Oracle Support. When sending with FTP, make sure you send it in BINARY
format.
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
[oracle@rac1 rda]$
★ MOS outline (Doc ID 314422.1)
file |
Knowledge Article |
Last update time |
getting Started |
April 20, 2020 |
|
Download RDA |
April 20, 2020 |
|
RDA release notes |
April 20, 2020 |
|
FAQ |
April 20, 2020 |
|
training |
April 10, 2018 |
|
Troubleshooting guide |
April 10, 2018 |
|
RAC cluster guide |
April 10, 2018 |
|
HP OpenVMS guide |
January 23, 2020 |
|
HP OpenVMS troubleshooting guide |
March 14, 2017 |
|
RAC/Cluster FAQ |
March 14, 2017 |
|
PDA in RDA |
March 14, 2017 |
|
HCVE in RDA |
October 9, 2019 |
|
|
|
|
★ MOS details
※ If you think the article is well written, don’t forget to give the author a thumbs up at the end of the article~
over