A-A+

RDA(Remote Diagnostic Agent)使用简介

2013年04月03日 Tools&Scripts 暂无评论 阅读 3,402 次

RDA(Remote Diagnostic Agent)使用简介
RDA的功能和RACcheck比较像,都可以收集从OS到中间层到数据库的一个数据的收集。
RDA也可以收集exadata,em等信息
关于RACcheck的相关使用可以参看我以前的博文:http://www.yallonking.com/tools-scripts/2013/01/690.html

RDA的参考文档:Remote Diagnostic Agent (RDA) 4 - Getting Started [ID 314422.1]

下载上传对应平台对应版本的rda介质并解压

[oracle@rhl6 rda]$ ls -l
total 69960
-rwxrwxrwx. 1 root root 71638890 Apr  3 11:23 p16469241_431_Linux-x86-64.zip
[oracle@rhl6 rda]$ 
[oracle@rhl6 rda]$ 
[oracle@rhl6 rda]$ 
[oracle@rhl6 rda]$ 
[oracle@rhl6 rda]$ 
[oracle@rhl6 rda]$ unzip p16469241_431_Linux-x86-64.zip 
Archive:  p16469241_431_Linux-x86-64.zip
  inflating: readme.txt              
   creating: rda/
   creating: rda/Convert/
   creating: rda/Convert/Common/
   creating: rda/Convert/S010CFG/
   creating: rda/Convert/S100OS/
   creating: rda/Convert/S130INST/
   creating: rda/Convert/S204LOG/
   creating: rda/Convert/S362OIM/
   ... ...
  inflating: rda/engine/rda_linux56  
   creating: rda/ccr/
  inflating: rda/ccr/ccr-Production-10.3.8.0.0-Linux-x64.zip  

解压后如下

[oracle@rhl6 rda]$ ls -l
total 69972
-rwxrwxrwx.  1 root   root     71638890 Apr  3 11:23 p16469241_431_Linux-x86-64.zip
drwxr-xr-x. 11 oracle oinstall     4096 Mar  7 22:17 rda
-r--r--r--.  1 oracle oinstall       48 Mar  7 22:17 readme.txt   

数据库版本

SQL> set line 300
SQL> select * from gv$version;

   INST_ID BANNER
---------- --------------------------------------------------------------------------------
         1 Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
         1 PL/SQL Release 11.2.0.3.0 - Production
         1 CORE 11.2.0.3.0      Production
         1 TNS for Linux: Version 11.2.0.3.0 - Production
         1 NLSRTL Version 11.2.0.3.0 - Production

开始使用rda(中间输出有所删减)

[oracle@rhl6 rda]$ cd rda
[oracle@rhl6 rda]$ ls -l
total 232
drwxr-xr-x.  2 oracle oinstall  4096 Mar  7 22:17 ccr
drwxr-xr-x.  9 oracle oinstall  4096 Mar  7 22:17 Convert
drwxr-xr-x.  7 oracle oinstall  4096 Mar  7 22:17 da
drwxr-xr-x.  3 oracle oinstall  4096 Mar  7 22:17 dfw
-r--r--r--.  1 oracle oinstall  4106 Jan 10  2012 DISCLAIM.txt
drwxr-xr-x.  2 oracle oinstall  4096 Mar  7 22:17 engine
drwxr-xr-x.  2 oracle oinstall  4096 Mar  7 22:17 hcve
drwxr-xr-x.  3 oracle oinstall  4096 Mar  7 22:17 IRDA
-r-xr-xr-x.  1 oracle oinstall 19078 Jan  8 17:49 irda.pl
drwxr-xr-x.  2 oracle oinstall 20480 Mar  7 22:17 modules
drwxr-xr-x. 12 oracle oinstall  4096 Mar  7 22:17 RDA
-r-xr-xr-x.  1 oracle oinstall  7552 Jan  8 17:49 rda.cmd
-r-xr-xr-x.  1 oracle oinstall  7762 Jan  8 17:49 rda.com
-r-xr-xr-x.  1 oracle oinstall 59397 Feb 21 17:44 rda.pl
-r-xr-xr-x.  1 oracle oinstall  8507 Jan  8 17:49 rda.sh
-r--r--r--.  1 oracle oinstall  3344 Jan 15 17:31 README_irda.txt
-r--r--r--.  1 oracle oinstall 14596 Jan 15 17:31 README_Unix.txt
-r--r--r--.  1 oracle oinstall  4617 Jan 15 17:31 README_upgrade.txt
-r--r--r--.  1 oracle oinstall 16456 Jan 15 17:31 README_VMS.txt
-r--r--r--.  1 oracle oinstall 14577 Jan 15 17:31 README_Windows.txt
[oracle@rhl6 rda]$ ./rda.sh
-------------------------------------------------------------------------------
S000INI: Initializes the Data Collection
-------------------------------------------------------------------------------
RDA uses the output file prefix to identify all files belonging to the same
data collection. The prefix must start with a letter and must contain only
alphanumeric characters.

Enter the prefix to be used for all the generated files
Hit 'Return' to accept the default (RDA)
> yallonking
... ...
-------------------------------------------------------------------------------
Do you want RDA to collect Exadata information (Y/N)?
Hit 'Return' to accept the default (N)
> 
... ...
-------------------------------------------------------------------------------
S394OGG: Collects Oracle GoldenGate Information
-------------------------------------------------------------------------------
Do you want RDA to analyze Oracle GoldenGate (Y/N)?
Hit 'Return' to accept the default (N)
... ...
-------------------------------------------------------------------------------
S400RAC: Collects Cluster Information
-------------------------------------------------------------------------------
Do you want RDA to collect information for a clustered environment (Y/N)?
Hit 'Return' to accept the default (N)
> 

-------------------------------------------------------------------------------
S400RACD: Performs an Oracle Database Hang Analysis
-------------------------------------------------------------------------------
Are you experiencing an instance hang or slowness (Y/N)?
Hit 'Return' to accept the default (N)
> 
... ...
-------------------------------------------------------------------------------
S402ASM: Collects Automatic Storage Management Information
-------------------------------------------------------------------------------
Do you want RDA to collect Automatic Storage Management (ASM) information
(Y/N)?
Hit 'Return' to accept the default (N)
... ...
-------------------------------------------------------------------------------
S403ACFS: Collects ASM Cluster File System Information
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
S405DG: Collects Data Guard Information
-------------------------------------------------------------------------------
Do you want RDA to collect Data Guard information (Y/N)?
Hit 'Return' to accept the default (N)
... ...
-------------------------------------------------------------------------------
S410GRID: Collects Oracle Management Server and Repository Information
-------------------------------------------------------------------------------
Do you want RDA to analyze Oracle Enterprise Manager Cloud/Grid Control (Y/N)?
Hit 'Return' to accept the default (N)
... ...
-------------------------------------------------------------------------------
S990FLTR: Controls Report Content Filtering
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
S997CUST: Collects Customer-Specific Information
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
S998XTRA: Collects User Defined Data
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
RDA Data Collection Started 03-Apr-2013 12:05:19
-------------------------------------------------------------------------------
Processing Initialization module ...
Enter the password for 'SYSTEM': 
Please re-enter it to confirm:
Processing OCM module ...
Processing PERF module ...
Processing CFG module ...
Processing Sampling module ...
Processing OS module ...
... ...
Processing RDSP module ...
Processing LOAD module ...
Processing End module ...
-------------------------------------------------------------------------------
RDA Data Collection Ended 03-Apr-2013 12:09:21
-------------------------------------------------------------------------------
... ...

结束后传送output目录到客户端即可进行查看
直接打开html文件xxx_index.html即可查看里边的链接的详细内容
如下:

rda

rda

给我留言

Copyright © YallonKing 保留所有权利.   Theme  Ality

用户登录

分享到: