下载
可以从My Oracle Support(metalink)的《Remote Diagnostic Agent (RDA) 4 – Getting Started [ID 314422.1]》专栏中下载到各个平台的最新版RDA。
上传解压
会自动生成一个rda文件夹
查看帮助
|
[oracle@ocm rda]$ ./rda.sh -h Usage: rda.pl [-bcdfilnvwxy] [-ABCDEGHIKLMPQRSTV] [-e edt] [-m dir] [-o out] [-p nam] [-s nam] [-t lvl] arg ... -A Authentify user through the result set definition file -B Start background collection -C Collect diagnostic information -D Delete specified modules from the collection -E Explain specified error numbers -G Convert report files to XML format -H Halt background collection -I Regenerate the index -K Kill background collection -L List the available modules, profiles, and conversion groups -M Display the related manual pages -O Render output specifications from the standard input -P Package the reports (tar or zip) -Q Display the related setup questions -R Generate specified reports -S Setup specified modules -T Execute test modules -V Display component version numbers -b Do not backup result set definition file before saving -c Check the RDA installation and exit -d Set debug mode -e edt Specify a list of alternate setting definitions (var=val,...) -f Set force mode -g grp Specify the XML conversion group -h Display the command usage and exit -i Read settings from the standard input -l Use a lock file to prevent concurrent usage of a definition file -m dir Specify the module directory ('collect' by default) -n Start a new data collection -o out Specify the file for background collection output redirection -p nam Specify the collection profile ('Default' by default) -q Set quiet mode -s nam Specify the result set name ('output' by default) -t lvl Specify the trace level -u lng Specify the language and character set for user interactions -v Set verbose mode -w Wait as long as the background collection daemon is active -x Produce cross references -y Accept all defaults and skip all pauses |
快速配置RDA
根据交换提示输入相应的值:
|
[oracle@ocm rda]$ ./rda.sh -S -p DB11g Enter the network domain name for this server >
Warning: No domain has been specified Do you want to specify a new value (Y/N)? n
------------------------------------------------------------------------------ RDA.BEGIN: Initializes the Data Collection ------------------------------------------------------------------------------ Enter the Oracle home to be used for data analysis Press Return to accept the default (/u01/app/oracle/product/11.2.0/dbhome_1) >
------------------------------------------------------------------------------ RDA.CONFIG: Collects Key Configuration Information ------------------------------------------------------------------------------ |
开始收集信息:
输入密码
|
[oracle@ocm rda]$ ./rda.sh ------------------------------------------------------------------------------ RDA Data Collection Started 22-Apr-2016 02:38:28 ------------------------------------------------------------------------------ Processing RDA.BEGIN module ... Enter the password for "SYSTEM" at "woods": Re-enter it to confirm: ………………. |
收集完成后会生成一个压缩包,RDA_output_ocm.zip,解压,点击RDA__start.htm即可看到收集到的信息了。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30935525/viewspace-2086458/ ,如需转载,请注明出处,否则将追究法律责任。