加入收藏 | 设为首页 | 会员中心 | 我要投稿 温州站长网 (https://www.0577zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

RDA的使用和说明

发布时间:2021-02-27 04:08:05 所属栏目:百科 来源:网络整理
导读:副标题#e# 一.RDA 说明 ? ? ? ?RDA(RemoteDiagnostic Agent)是oracle用来收集、分析数据库的工具,运行该工具不会改变系统的任何参数,RDA收集的相关数据非常全面,可以简化我们日常监控、分析数据库的工作。 ?????? 一般Oracle 原厂的人巡检也是使用RDA工

1)???????Choose or create a directory orarea on your UNIX server. Make sure you have sufficient space for the RDAoutput (~150MB). It does not matter where you create this directory or what itis named,but the same user that runs RDA must own it. Do not use a directorythat contains an older version of RDA unless you have deleted the previousversion of RDA first. If necessary,you can reuse prior setup files.

?

Note: Therda.zip creates a directory named "rda" containing all the requiredfiles when you extract it.

--解压之后会创建rda的目录

Do not extract the contents of the RDA archive on a Windows client first or youwill have to remove the ^M characters from the end of each line in all of theshell scripts in order for them to run.

--不要在windows 平台上解压缩linux 的RDA。 因为这样会移除shell脚本每行的^M 字符。

?

2)???????FTP the downloaded rda.zip fileto your UNIX server in binary mode and place it in the directory chosen in step1.

3)???????Extract the .zip archivecontents into a new directory,preserving the directory structure of thearchive. Do not extract into a directory that contains an older RDA version.For example:

unzip rda.zip

4)???????Make sure the RDA command(rda.sh and rda.pl) is executable. To verify,enter the following command:

chmod +x

--确认rda.sh 和 rda.pl 脚本的权限。 这2个脚本作用是一样的,只是一个是shell,一个是perl,都是用来收集信息的,如果我们要使用RDA,就是执行其中一个脚本就可以了。 ?

?

5)???????You can verify the RDAinstallation using the following command:

./-cv

--rda 不需要安装,解压缩之后就可以使用了。

?

Linux 上的一个示例:

[[email?protected] u01]$ unzipp12561777_424_LINUX.zip

……

[[email?protected] u01]$ cd rda

[[email?protected] rda]$ ls

ccr?????DISCLAIM.txt? IRDA???? RDA?????rda.pl?????????? README_Unix.txt???? README_Windows.txt

Convert?engine??????? irda.pl? rda.cmd?rda.sh?????????? README_upgrade.txt

dfw?????hcve????????? modules? rda.com?README_irda.txt? README_VMS.txt

[[email?protected] rda]$ ll

total 428

drwxr-xr-x?2 oracle oinstall? 4096 May 2715:33 ccr

drwxr-xr-x?9 oracle oinstall? 4096 May 2715:33 Convert

drwxr-xr-x?3 oracle oinstall? 4096 May 2715:33 dfw

-r--r--r--?1 oracle oinstall? 4106 Mar 3114:59 DISCLAIM.txt

drwxr-xr-x?2 oracle oinstall? 4096 May 2715:33 engine

drwxr-xr-x?2 oracle oinstall? 4096 May 2715:33 hcve

drwxr-xr-x?3 oracle oinstall? 4096 May 2715:33 IRDA

-r-xr-xr-x?1 oracle oinstall 18216 Mar 31 14:59 irda.pl

drwxr-xr-x?2 oracle oinstall 20480 May 27 15:33 modules

drwxr-x---?5 oracle oinstall 36864 Sep? 719:45 output

drwxr-xr-x 11 oracle oinstall? 4096 May 27 15:33 RDA

-r-xr-xr-x?1 oracle oinstall? 7266 Mar 3114:59 rda.cmd

-r-xr-xr-x?1 oracle oinstall? 7762 Mar 3114:59 rda.com

-r-xr-xr-x?1 oracle oinstall 56763 May 20 15:22 rda.pl

-r-xr-xr-x?1 oracle oinstall? 7911 May 1712:31 rda.sh

-r--r--r--?1 oracle oinstall? 3367 Mar 3114:59 README_irda.txt

-r--r--r--?1 oracle oinstall 14612 May 11 09:51 README_Unix.txt

-r--r--r--?1 oracle oinstall? 4640 Mar 3114:59 README_upgrade.txt

-r--r--r--?1 oracle oinstall 16472 May 23 10:42 README_VMS.txt

-r--r--r--?1 oracle oinstall 14591 May 18 19:57 README_Windows.txt

-rw-r-----?1 oracle oinstall 79475 Sep? 719:43 setup.bak

-rw-r-----?1 oracle oinstall 79505 Sep? 719:45 setup.cfg

[[email?protected] rda]$

?

--验证rda,

[[email?protected] rda]$ rda.sh -cv

Loading the file list ...

Checking the directory ‘.‘ ...

Checking the directory ‘IRDA‘ ...

Checking the directory ‘IRDA/CV0100‘ ...

Checking the directory ‘RDA‘ ...

Checking the directory ‘RDA/Archive‘ ...

Checking the directory ‘RDA/Handle‘ ...

Checking the directory ‘RDA/Library‘ ...

Checking the directory ‘RDA/Library/Remote‘...

Checking the directory ‘RDA/Local‘ ...

Checking the directory ‘RDA/Object‘ ...

Checking the directory ‘RDA/Operator‘ ...

Checking the directory ‘RDA/Value‘ ...

Checking the directory ‘RDA/Web‘ ...

Checking the directory ‘dfw/cv0100‘ ...

Checking the directory ‘engine‘ ...

Checking the directory ‘hcve‘ ...

Checking the directory ‘modules‘ ...

No issues found

[[email?protected] rda]$

?

3.2 RDA使用说明

关于RDA的详细使用说明,参考:

RemoteDiagnostic Agent (RDA) 4 - FAQ [ID 330363.1]

?

? ? ? 在Linux/Unix操作系统中,oracle推荐在数据库创建用户下执行(oracle用户)。在第一次使用RDA时, 会在命令行上有一些交互的信息,会让你确实是否收集某些信息。等确认完毕后,会在rda目录下面生成2个配置文件:setup.cfg、setup.bak。 这里面保存了交互时确认的信息。

? ? ?当我们下次执行RDA时,那么就不需要再次进行交互信息的确认。?直接从第一次生成的配置文件中读取即可。?这个交互信息非常多,是需要点耐心来逐步确认的。也可以通过命令生成默认的配置文件。?如果我们想更改收集的配置,那么可以直接修改这2个配置文件。 在执行rda 命令就可以了。

?

(编辑:温州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读