OracleRDA东西使用﹎.pdf

上传人:荣*** 文档编号:3742884 上传时间:2020-10-21 格式:PDF 页数:21 大小:299.61KB
返回 下载 相关 举报
OracleRDA东西使用﹎.pdf_第1页
第1页 / 共21页
OracleRDA东西使用﹎.pdf_第2页
第2页 / 共21页
点击查看更多>>
资源描述

《OracleRDA东西使用﹎.pdf》由会员分享,可在线阅读,更多相关《OracleRDA东西使用﹎.pdf(21页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、使用 RDA (Remote Diagnostic Agent)工具对数据库进行健康检查 RDA英文全称叫做 “ Oracle Remote Diagnostic Agent ”。 这个 Oracle诊断工具是用 perl编写的,包含非常丰富的诊断脚本,使用它 可以非常便利的采集到Oracle数据库 服务器 系统配置和 数据库 的详细信息。 如果您在向 Oracle支持人员寻求帮助时能够提供一份RDA报告,将会大大的 缩短问题处理的周期,避免信息的反复采集。 RDA不会更改数据库服务器的任何配置,仅仅是采集信息,了解系统。大家可 以放心使用 RDA工具。 这篇文章给大家介绍一下这个RDA工具的

2、使用方法,供参考。 1. 下载 RDA安装包 参考 MOS (Metalink Note):314422.1 “Remote Diagnostic Agent (RDA) 4 - Getting Started ID 314422.1”文章中提供了不同操作系统版本的介质下载。 这里选择 “ Linux x86 (64-bit)”版本进行演示操作。 该工具支持以下操作系统: Apple Mac OS X HP OpenVMS HP Tru64 HP-UX Itanium HP-UX PA-RISC (32-bit) HP-UX PA-RISC (64-bit) IBM AIX on POWER

3、Systems (32-bit) IBM AIX on POWER Systems (64-bit) IBM Dynix/Ptx IBM Linux on POWER IBM zSeries Based Linux Linux Itanium Linux x86 (32-bit) Linux x86 (64-bit) Microsoft Windows (32-bit) Microsoft Windows (64-bit) Sun Solaris Intel (32-bit) Sun Solaris Intel (64-bit) Sun Solaris SPARC (32-bit) Sun S

4、olaris SPARC (64-bit) 2. 在数据库服务器上创建一个RDA目录 创建的 RDA目录需要保证有足够的空间可用。 ora10gsecDB /home/oracle$ mkdir RDA 3. 将下载到的 安装文件上传到服务器上 $ scp p9079828_418_LINUX.zip oracle172.17.193.211:/home/oracle/RDA oracle172.17.193.211s password: p9079828_418_LINUX.zip 100% 26MB 8.8MB/s 00:03 4. 解压文件 1)解压 ora10gsecDB /home/

5、oracle/RDA$ unzip p9079828_418_LINUX.zip Archive: p9079828_418_LINUX.zip inflating: readme.txt creating: rda/ creating: rda/RDA/ . 此处省略大量解压信息 . inflating: rda/rda_linux56 creating: rda/ccr/ inflating: rda/ccr/ccr-Production-10.3.2.0.0-Linux- i386.zip 2)解压后,当前目录下将会创建一个rda 目录和一个 readme.txt文件 ora10gsec

6、DB /home/oracle/RDA$ ls -ltr total 27M -r-r-r- 1 oracle oinstall 48 Dec 4 14:45 readme.txt drwxr-xr-x 6 oracle oinstall 4.0K Dec 4 14:45 rda/ -rwx- 1 oracle oinstall 27M Mar 5 02:07 p9079828_418_LINUX.zip* 3)readme.txt文件记录了 RDA软件的版本信息 ora10gsecDB /home/oracle/RDA$ vi readme.txt RDA/OCM bundle for RD

7、A 4.18-091204 for linux_x86 5. 验证 RDA工具安装是否成功 1)第一种方法 ora10gsecDB /home/oracle/RDA/rda$ perl rda.pl -cv Loading the file list . Checking the directory . . Checking the directory RDA . Checking the directory RDA/Handle . Checking the directory RDA/Library . Checking the directory RDA/Library/Remote .

8、 Checking the directory RDA/Local . Checking the directory RDA/Object . Checking the directory RDA/Operator . Checking the directory RDA/Value . Checking the directory hcve . Checking the directory modules . No issues found 2)第二种方法 ora10gsecDB /home/oracle/RDA/rda$ rda.sh -cv Loading the file list .

9、 Checking the directory . . Checking the directory RDA . 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 dire

10、ctory RDA/Value . Checking the directory hcve . Checking the directory modules . No issues found 经检查, RDA工具安装没有问题。 6. 配置并运行 RDA 1)验证 perl是否可用 ora10gsecDB /home/oracle/RDA/rda$ perl -V 2)保证 rda.sh和 rda.pl两个文件具有执行权限 ora10gsecDB /home/oracle/RDA/rda$ ls -l rda.sh rda.pl -r-xr-xr-x 1 oracle oinstall 47K

11、 Nov 30 16:02 rda.pl* -r-xr-xr-x 1 oracle oinstall 3.5K Jan 14 2009 rda.sh* 如果不具有执行权限,可以使用下面的命令进行调整。 ora10gsecDB /home/oracle/RDA/rda$ chmod +x rda.sh rda.pl 3)使用 “-L modules” 选项列出所有可供采集的模块 通过下面的这个列表体现出了RDA在数据库采集方面的强大优势。 ora10gsecDB /home/oracle/RDA/rda$ ./rda.sh -L modules Available data collection

12、 modules are: ACFS Collects ASM Cluster File System Information ACT Collects Oracle E-Business Suite Application Information ADBA Collects ACS Oracle Database Assessment ADX Collects AutoConfig and Rapid Clone Information AGT Collects Enterprise Manager Agent Information APEX Collects APEX Informati

13、on ASAP Collects Oracle Communications ASAP Information ASBR Collects Application Server Backup and Recovery Information ASG Collects Application Server Guard Information ASIT Collects Oracle Application Server Installation Information ASM Collects Automatic Storage Management Information B2B Collec

14、ts Oracle Business to Business Information BAM Collects Business Activity Monitoring Information BEE Collects Beehive Information BI Collects Oracle Business Intelligence Enterprise Edition Info. BPEL Collects Oracle BPEL Process Manager Information BR Collects Database Backup and Recovery Informati

15、on BRM Collects Oracle Communications BRM Information CCR Collects OCM Diagnostic Information CFG Collects Key Configuration Information COHR Collects Oracle Coherence Information CONT Collects Oracle Content Services Information CRID Collects Oracle Access Manager (COREid) Information D2PC Collects

16、 Distributed Transaction Information DB Controls RDBMS Data Collection DBA Collects RDBMS Information DBC Collects Database Control Information DBM Collects RDBMS Memory Information DEV Collects Oracle Developer Information DG Collects Data Guard Information DNFS Collects Direct NFS Information DSCS

17、 Collects Discussions Information DSCV Collects Oracle Discoverer Information ECM Controls Oracle Enterprise Content Management 11g Data Collection EM Collects Enterprise Manager OMS and Repository Info (Obsolete) END Finalizes the Data Collection EPMA Collects Enterprise Performance Management Arch

18、itect Information ESB Collects Enterprise Service Bus Information ESS Collects Oracle Essbase Information ESSO Collects Oracle Enterprise Single Sign-On Information EXA Collects Exadata Information FLTR Controls Report Content Filtering GRDN Collects Oracle Guardian Information GRID Controls Grid Co

19、ntrol Data Collection GTW Collects Transparent/Procedural Gateway Information HFM Collects Oracle Hyperion Financial Management information HPL Collects Oracle Hyperion Planning Information IA Collects Intelligent Agent Information IAS Collects Web Server Information IFS Collects iFS (iFS, CMSDK, Fi

20、les) Information INI Initializes the Data Collection INST Collects the Oracle Installation Information IPSA Collects Oracle Communications IP Service Activator Information J2EE Collects J2EE/OC4J Information JDBC Collects Oracle Java DB Connectivity (JDBC) Information JDEV Collects Oracle JDeveloper

21、 Information JIVE Collects Jive Information LANG Collects Oracle Language Information LOAD Produces the External Collection Reports LOG Collects Database Trace and Log Files MAIL Collects Oracle Collaboration Suite Mail Information MSLG Collects Microsoft Languages Information ND Collects Oracle Com

22、munications Network Discovery Information NET Collects Network Information NM Collects Oracle Communications Network Mediation Information NPRF Samples Performance Information (root not required) OCAL Collects Oracle Calendar Information OCFS Collects Oracle Cluster File System Information OCM Setti

23、ng up Configuration Manager Interface OCS Controls Oracle Collaboration Suite Data Collection ODI Collects Oracle Data Integrator Information ODM Collects Oracle Data Mining Information OES Collects Oracle Express Server Information OID Collects Oracle Internet Directory Information OIM Collects Ora

24、cle Identity Manager Information OLAP Collects OLAP Information OMM Collects Oracle Multimedia or Oracle interMedia Information OMS Collects Oracle Management Server Information (obsolete) ONET Collects Oracle Net Information OS Collects the Operating System Information OVD Collects Oracle Virtual D

25、irectory Information OVMM Collects Oracle VM Manager Information OVMS Collects Oracle VM Server Information OWB Collects Oracle Warehouse Builder Information OWSM Collects Oracle Web Services Manager Information PDA Collects Oracle Portal Information PDBA Collects PeopleSoft Information from an Orac

26、le Database PERF Collects Performance Information PLNC Collects Oracle PL/SQL Native Compilation Information PROF Collects the User Profile PS Collects Oracle Communications Policy Services Information PWEB Collects PeopleSoft Information from Web Application Server RAC Collects Cluster Information

27、RACD Performs a Database Hang Analysis RDSP Produces the Remote Data Collection Reports RET Collects Oracle Retail Information REXE Performs the Remote Data Collections RPRF Samples Performance Information (root privileges required) RSRC Collects Database Resource Manager Information RTC Collects Re

28、al Time Communication Information SEBL Collects Siebel Information SES Collects Oracle Secure Enterprise Search Information SMPL Controls Sampling SOA Collects Oracle SOA Suite Information SP Collects SQL*Plus/iSQL*Plus Information SSO Collects Single Sign-On Information STC Collects Streams Configu

29、ration Information STM Collects Streams Monitoring Information TOPL Collects Oracle TopLink Information TTEN Collects Oracle TimesTen In-Memory Database Information UCM Collects Oracle Universal Content Management Information UOA Collects Oracle Universal Online Archive 11g Information WAC Collects

30、Web Access Client Information WCI Collects Oracle WebCenter Information WEBC Collects Oracle Web Cache Information WKSP Collects Workspaces Information WLS Collects Oracle WebLogic Server Information WMC Collects Webmail Client Information WRLS Collects Wireless Information XDB Collects XDB Informat

31、ion XSMP Samples User Defined Data XTRA Collects User Defined Data 4)我们选择四个模块( OS DB DBA INST)配置一下 只要按照提示的信息进行配置即可,基本上都可以使用默认设置的内容。 需要注意的是最后两步我们这里输入“/ ” 和“Y” ,目的是在运行RDA采集信息 的过程中不需要输入密码,避免交互操作。 ora10gsecDB /home/oracle/RDA/rda$ ./rda.sh -S OS DB DBA INST - - S000INI: Initializes the Data Collection -

32、 - 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) Enter the directory used f

33、or all the files to be generated Hit Return to accept the default (/home/oracle/RDA/rda/output) Do you want to keep report packages from previous runs (Y/N)? Hit Return to accept the default (N) Is a fresh collection performed as the default action (Y/N)? Hit Return to accept the default (Y) Enter t

34、he Oracle home to be used for data analysis Hit Return to accept the default (/oracle/app/oracle/product/10.2.0/db_1) Enter the domain name for this server localhost.localdomain - - S010CFG: Collects Key Configuration Information - - - - S090OCM: Set up the Configuration Manager Interface - - RDA be

35、nefits from Oracle Configuration Manager by improving its data collection. Oracle Configuration Manager (OCM) collects the configuration information and uploads it to the OCM Repository in connected mode. When OCM is configured in disconnected mode, it adds the OCM payload to the RDA report packages

36、 in future RDA runs. Select the mode that you want to install Oracle Configuration Manager in /oracle/app/oracle/product/10.2.0/db_1 C Connected Mode D Disconnected Mode Enter the letter corresponding to your choice Hit Return to accept the default (C) Do you want to install OCM Database collection

37、scripts (Y/N)? Hit Return to accept the default (Y) Enter a SYSDBA user for installing the OCM Database collection scripts Hit Return to accept the default (sys) Is /oracle/app/oracle/product/10.2.0/db_1 an Oracle E-Business Suite Database Oracle home (Y/N)? Hit Return to accept the default (N) - -

38、S909RDSP: Produces the Remote Data Collection Reports - - - - S919LOAD: Produces the External Collection Reports - - - - S990FLTR: Controls Report Content Filtering - - - - S999END: Finalizes the Data Collection - - - - S100OS: Collects the Operating System Information - - - - S130INST: Collects the

39、 Oracle Installation Information - - - - S200DB: Controls RDBMS Data Collection - - Is there a database for RDA to analyze (Y/N)? Hit Return to accept the default (Y) Is the database associated to the current Oracle home (Y/N)? Hit Return to accept the default (Y) Enter the Oracle SID to be analyzed

40、 Hit Return to accept the default (ora10g) Is the INIT.ORA for the database to be analyzed located on this system? (Y/N) Hit Return to accept the default (Y) Enter the location of the spfile or the INIT.ORA (including the directory and file name) Hit Return to accept the default (/oracle/app/oracle/

41、product/10.2.0/db_1/dbs/spfileora10g.ora) Enter an Oracle User ID (userid only) to view DBA_ and V$ tables. If RDA will be run under the Oracle software owners ID, enter a forward slash (/) here, and enter Y at the SYSDBA prompt to avoid a prompt for the database password at runtime. Hit Return to a

42、ccept the default (system) / Is / a SYSDBA user (will connect as SYSDBA) (Y/N)? Hit Return to accept the default (N) Y - - S201DBA: Collects RDBMS Information - - 配置完成后,会在当前目录下生成output目录和配置文件setup.cfg(如 果再次执行配置过程,会生成备份文件 setup.bak,只保存一份备份文件。 )。 配置文件 setup.cfg是可编辑的,可以直接对其进行调整。 5)此时再使用 “-L modules” 选项查看,如果模块名前有“*”号表示已经配置 过。 这里为显示清晰,省略一部分输出信息。最后一行有关于“*” 号的解释 ora10gsecDB /home/oracle/RDA/rda$ ./rda.sh -L modules Available data collection modules are: ACFS Collects ASM Cluster Fi

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 高中资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com