上传解压
基本是默认配置,要输入节点2的实例名:
[oracle@rac1 rda]$ ./rda.sh -vX Rda start CLOUD -p DB11g Creating collection "output" ... Inside DFT scenario, define the input and profile targets Inside DFT scenario, check Oracle home or Middleware presence - RDA:DCbegin ... ------------------------------------------------------------------------------ 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:DCconfig ... ------------------------------------------------------------------------------ RDA.CONFIG: Collects Key Configuration Information ------------------------------------------------------------------------------ - RDA:DCocm ... ------------------------------------------------------------------------------ RDA.OCM: Set up the Configuration Manager Interface ------------------------------------------------------------------------------ - RDA:DCstatus ... ------------------------------------------------------------------------------ RDA.STATUS: Produces the Remote Data Collection Reports ------------------------------------------------------------------------------ - RDA:DCload ... ------------------------------------------------------------------------------ RDA.LOAD: Produces the External Collection Reports ------------------------------------------------------------------------------ - RDA:DCfilter ... ------------------------------------------------------------------------------ RDA.FILTER: Controls Report Content Filtering ------------------------------------------------------------------------------ - RDA:DCend ... ------------------------------------------------------------------------------ RDA.END: Finalizes the Data Collection ------------------------------------------------------------------------------ In CRS start scenario, getting nodes using /u01/app/11.2.0/grid/bin/olsnodes 2>/dev/null ------------------------------------------------------------------------------ Requesting common cluster information ------------------------------------------------------------------------------ Enter the absolute path of the directory where RDA will be installed on the remote nodes. Press Return to accept the default (/home/oracle/rda) >
Do you want RDA to use an alternative login to execute remote requests (Y/N)? Press Return to accept the default (N) >
In CRS start scenario, getting local node information In CRS start scenario, pinging node rac2 ------------------------------------------------------------------------------ Requesting information for node rac1 ------------------------------------------------------------------------------ Enter the Oracle home to be analyzed on the node rac1 Press Return to accept the default (/u01/app/oracle/product/11.2.0/dbhome_1) >
Enter the Oracle SID to be analyzed on the node rac1 Press Return to accept the default (orcl1) >
------------------------------------------------------------------------------ Requesting information for node rac2 ------------------------------------------------------------------------------ Enter the Oracle home to be analyzed on the node rac2 Press Return to accept the default (/u01/app/oracle/product/11.2.0/dbhome_1) >
Enter the Oracle SID to be analyzed on the node rac2 > orcl2
- RDA:DCremote ... ------------------------------------------------------------------------------ RAC Setup Summary ------------------------------------------------------------------------------ Nodes: . NOD001 rac1/orcl1 . NOD002 rac2/orcl2 2 nodes found |
[oracle@rac1 rda]$ ./rda.sh -v -e TRC/TRACE=1 Collecting diagnostic data ... ------------------------------------------------------------------------------ RDA Data Collection Started 25-Apr-2016 10:28:00 ------------------------------------------------------------------------------ Processing RDA.BEGIN module ... Inside BEGIN module, testing the RDA engine code build Inside BEGIN module, testing the report directory Inside BEGIN module, testing the module targets Inside BEGIN module, launching parallel executions Processing RDA.CONFIG module ... Inside CONFIG module, listing Oracle homes Inside CONFIG module, getting Oracle home inventory (can take time) Processing RDA.REMOTE module ... NOD001: Detecting storage type NOD001: Running RDA command NOD002: Detecting storage type NOD002: Installing RDA software NOD001: Transfering report package Processing RDA.END module ... Inside END module, gathering system information Inside END module, getting CPU information (linux) Inside END module, getting memory information (linux) Inside END module, producing the file catalog Inside END module, producing target overview Inside END module, waiting for parallel execution completion Inside END module, producing setting overview ------------------------------------------------------------------------------ RDA Data Collection Ended 25-Apr-2016 10:31:10 |
在rda目录下的/output/remote能看到已经压缩好的zip包,解压缩,打开RDA_start.htm就能看到收集到的信息了
[root@rac1 ~]# ls /home/oracle/rda/output/remote RDA_nod001_output.zip |
因为没用SSH ,这样只能收集一个节点的,需要到另外一个节点再做一次
注意:如果配置了ssh,节点正常工作但ssh访问延时很长,这可能会导致远程数据收集失败,这时候则可以尝试使用以下命令来避免ssh timeout并进行数据收集:
$ ./rda.sh -vC RDA.REMOTE set
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30935525/viewspace-2088303/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/30935525/viewspace-2088303/