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的目录 --不要在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 命令就可以了。 ? (编辑:晋中站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |