Vous êtes sur la page 1sur 4

How to Run Oracle Remote Diagnostic Agent (RDA) report for DB

and OS
Step 1: Download the patch #20127700 from Metalink based on what OS database is installed.

Step 2: Move the patch to Server and Unzip the file.


[oraprod@atfunx11 New_RDA_patch]$ ls -ltr
total 80360
-rw-r--r-- 1 oraprod dba 82199072 Mar 3 08:37 p20127700_8614129
_LINUX.zip
[oraprod@atfunx11 New_RDA_patch]$ unzip p20127700_8614129
_LINUX.zip

Step 3: Run rda.sh script to collect Database and Operating System information.
[oraprod@atfunx11 rda]$ ./rda.sh -vCRP OS.OS DB.DBA

Collecting diagnostic data ...


- OS:DCos ...
----------------------------------------------------------------------------OS.OS: Collects the Operating System Information
----------------------------------------------------------------------------- DB:DCdb ...
----------------------------------------------------------------------------DB.DB: Controls Oracle RDBMS Data Collection
----------------------------------------------------------------------------Is there a Oracle database for RDA to analyze (Y/N)?
Hit "Return" to accept the default (Y)
> Y
Enter an Oracle
tables. If
RDA will be run
'/' here,
and select Y at
database
password at run
Hit "Return" to

User ID (user identifier only) to view DBA_ and V$

under the Oracle software owner's ID, then enter a


the SYSDBA prompt to avoid being prompted for the
time.
accept the default (system)
RDA Page 1

Hit "Return" to accept the default (system)


>
Is 'system' a SYSDBA user (will connect as SYSDBA) (Y/N)?
Hit "Return" to accept the default (N)
>

Enter the Oracle SID to be analyzed


Hit "Return" to accept the default (PROD)
>
Enter the query target description
Hit "Return" to accept the default (Using system at PROD)
>
Is a local connection required (Y/N)?
Hit "Return" to accept the default (Y)
>

Enter the Oracle SID to be analyzed


Hit "Return" to accept the default (PROD)
>
Enter the database target description
Hit "Return" to accept the default (Database PROD)
>

Select the Oracle home for 'Database PROD'


1 Default home /u01/oracle/PROD/proddb/10.2.0
D
E

Define a new Oracle home target


Edit an Oracle home target

Enter the item number or the action letter.


> 1
Enter the Oracle base
> /u01/oracle/PROD/proddb

Enter the Oracle base target description


Hit "Return" to accept the default (Oracle base
/u01/oracle/PROD/proddb)
>
Select the Oracle base for 'Database PROD'
1 Oracle base /u01/oracle/PROD/proddb
D
E

Define a new Oracle base target


Edit an Oracle base target

Enter the item number or the action letter.


Hit "Return" to accept the default (1)
> 1

Is the INIT.ORA for the database to be analyzed located on this


machine? (Y/N)
Hit "Return" to accept the default (N)
> Y
Enter the location of the spfile or the INIT.ORA (including the
directory and
file name)
Hit "Return" to accept the default
(/u01/oracle/PROD/proddb/10.2.0/dbs/spfilePROD.ora)
>
Select a database target for 'PROD':

RDA Page 2

Select a database target for 'PROD':


1 Database PROD
D
E

Define a new database target


Edit a database target

Enter the item number or the action letter.


Hit "Return" to accept the default (1)
> 1
Select a query target:
1 Using system at PROD

D
E

Define a new query target


Edit a query target

Enter the item number or the action letter.


Hit "Return" to accept the default (1)
>

- DB:DCdba ...
----------------------------------------------------------------------------DB.DBA: Collects Oracle RDBMS Information
--------------------------------------------------------------------------------------------------------------------------------------------------------RDA Data Collection Started 03-Mar-2015 09:00:04
----------------------------------------------------------------------------Processing RDA.BEGIN module ...
Inside BEGIN module, testing the RDA engine code build
Inside BEGIN module, testing the report directory
Inside BEGIN module, testing the module targets
Inside BEGIN module, testing the database connection
Enter the password for "SYSTEM" at "PROD":
Please re-enter it to confirm:
Inside BEGIN module, launching parallel executions
Processing RDA.CONFIG module ...

Step 4: Copy the RDA_output_atfunx11.zip from server location "


/home/oraprod/New_RDA_patch/rda/output" to your desktop and upload to Oracle SR.
Packaging collection results ...
You can review the reports by transferring the
/home/oraprod/New_RDA_patch/rda/output 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

Step 5: Screenshot of RDA_start.htm

RDA Page 3

Reference Metalink Note:

Remote Diagnostic Agent (RDA) 4 - Getting Started [ID 314422.1]


Oracle Support Announces RDA 4.30 - Production Release! [ID 392719.1]
Main RDA 4 Users' Guide - Note: 314422.1
Remote Diagnostic Agent (RDA) 4 - Training - Note:330344.1
Remote Diagnostic Agent (RDA) 4 - Troubleshooting Guide - Note:330362.1
Remote Diagnostic Agent (RDA) 4 - FAQ - Note:330363.1
Note.372331.1 Remote Diagnostic Agent (RDA) 4 - OCM/RDA Package

RDA Page 4

Vous aimerez peut-être aussi