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

RDA的使用和说明

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

? ??RDA 收集的信息会默认会放到/rda/output 文件夹下,在第一次运行RDA时,会提示指定RDA文件已什么开头,并保存在什么位置。 RDA文件有2种格式的文件,一个是html,一个是txt。 其中会有一个_start.htm 的文件,我们可以通过这个文件开开始阅读整个RDA。

? ??在生成RDA 文件的同时,默认还会把RDA文件打成一个压缩包。 这个压缩包里的内容和我们output文件夹下的一致。 这个压缩包是用来发送oracle的。 一般创建SR时,Oracle 会要求提供这个RDA的压缩包。

?

3.2.1 MOS 的文档上贴几个常见的问题

?

(1)How do I force RDA to run Setup again?

RDA will readthe values it finds in "setup.cfg" first before requiring to answerany setup questions. You can force RDA to start the setup process again intwo(2) ways.

--在非第一次运行RDA的情况下,默认会读取setup.cfg文件。 如果要强制的再次setup,有如下2种方法:

?

Deleting or renaming the"setup.cfg" file?:

$ ./rda.pl -S?or?
c:&;rda.cmd -S?or
$ ./rda.sh? -S

?

Running the following RDAcommand:?
$ ./rda.pl? -Sfn?or
c:&;rda.cmd -Sfn?or
$ ./rda.sh? -Sfn

?

(2)How do I force RDA to collect data again?

RDA will readthe values it finds in?directory first,if it finds data thathas not been collected it will attempt to collect that data. However if youwant RDA to collect data again you can execute the following commands. (-v: verbose,?C: collect,?R: render into html,?P:Package contents of output directory into archive,and?f?: forceexecution of all commands.

$ ./rda.sh? -vCRPf?or?
c:&;rda.cmd -vCRPf? or?
$ ./rda.pl? -vCRPf? or?
$./rda.sh?? -vf? or?
c:&;rda.cmd -vf

?

Finally,if youneed to run data collection for specific module again you can just run thefollowing command (OS: Operating system and DBA: Database)

$ ./rda.sh -vCRP OS DB?or?
c:&;rda.cmd -vCRP OS DBA

?

Note:?Thecollection process will execute must faster and you will not receive anynotices when it completes. This also overwrite the data in the outputdirectory.

?

(3)Where is the RDA output located?

The output is aset of HTML files that are located in the RDA output directory which youspecified at setup (the default is /rda/output). You can review the datacollected,by using a Web Browser to open the following file located in theoutput directory:

RDA__start.htm

?

Note that thethe first part of the name "RDA" can be different,depending on yourspecific RDA setup.

The final outputis also packaged in an archive located in the output directory chosen duringRDA setup -- the packaged output file will have a?.zip,?.tar,?.tar.gz,or .tar.Z?extension.

If the datacollection was generated to assist in resolving a Service Request,send thereport archive (note:?file name varies,but ends in?.zip,or .tar.Z?; e.a: RDA.RDA_db_autoxyz.zip)?to Oracle Support byuploading the file via My Oracle Support. If FTP‘ing the file,please be sureto FTP in BINARY format. Do not rename the file,as the file name helps OracleSupport quickly identify that RDA output is attached to the service request.>

?

Note:?Thefinal output directory?may not?contain an archive file (.zip,or .tar.Z?). If the archive is missing,please archive all the files inthe?manually?and send them to Oracle Support. You canuse a packaging/archive utility program like?http://www.info-zip.org/Zip.html?toperform. this task.

?

?

(4)What does the RDA-nnnnn error mean when I executedRDA?

RDA has a builtin error handling mechanism. You can discover the meaning and possible solutionto the error by using the following RDA command line argument: rda.pl -E {ERROR#} . i.e:

可以使用RDA 命令查看对应错误的详细说明


$ ./rda.pl -E RDA-14
RDA-00014: %d issue(s) found in the RDA installation
*Cause: issues encountered when checking the RDA installation
*Action: A fresh install of RDA is probably the easiest way to fix file
alteration problems. However,permission problems can result from
other factors:
- If RDA has been installed by another user,the default settings
could be too restrictive. Please review the local context with
that user and your appropriate local authorities.
- Execution permissions can be missing on startup scripts for other
platforms and when perl is not available from the command line.

?

(5)Can RDA be setup without asking any questions?

Yes. RDA wasdesigned to determine values to setup question from the customer OSenvironment. You can also,pass all default parameters and values in a singlecommand like this:

$ ./rda.pl-Sy -e SQL_SYSDBA=1,SQL_LOGIN=/ OS INST DB

?????? 在前面讲到,第一次运行RDA时,要确认很多信息。 那么可以使用这种方法避免进行交互。 当然如果是初次使用RDA, 还是很有必要了解一下收集的内容。

?????? 这里要注意的事,该命令仅仅是快速的生成配置文件,并没有生成RDA的信息。 我们还是需要再次运行rda.sh 命令的。

?

(6)Can RDA be scheduled to run automatically via CRONor AT?

(编辑:温州站长网)

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

热点阅读