spell 发表于 2018-9-23 06:59:37

使用ocrconfig将Oracle RAC OCR导出为文件

  在操作之前,需要注意以下几点:
  1、好几个地方都有这个文件ocrcheck这个命令:
# find / -name ocrcheck  /u01/crs/oracle/10gr2/crs/inventory/Templates/bin/ocrcheck
  /u01/crs/oracle/10gr2/crs/bin/ocrcheck
  /u01/app/oracle/product/10.2.0/db_1/inventory/Templates/bin/ocrcheck
  /u01/app/oracle/product/10.2.0/db_1/bin/ocrcheck
  find: /proc/7099/task: No such file or directory
  #
  2、必须用$ORA_CRS_HOME下面的,对照上述输出应该是/u01/crs/oracle/10gr2/crs/bin/ocrcheck,如果是11g,就要以grid身份运行ocrcheck,这个位于grid用户变量$ORACLE_HOME的家目录里。
如果以上没有注意以上两点,会出现如下问题:http://forums.oracle.com/forums/thread.jspa?threadID=709634&tstart=628  3、必须用root用户执行这个文件
命令为:/u01/crs/oracle/10gr2/crs/bin/ocrcheck -export 导出的文件为二进制格式,不可编辑,可用于restore。
页: [1]
查看完整版本: 使用ocrconfig将Oracle RAC OCR导出为文件