Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6565951
  • 博文数量: 1005
  • 博客积分: 8199
  • 博客等级: 中将
  • 技术积分: 13071
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-25 20:19
个人简介

脚踏实地、勇往直前!

文章分类

全部博文(1005)

文章存档

2020年(2)

2019年(93)

2018年(208)

2017年(81)

2016年(49)

2015年(50)

2014年(170)

2013年(52)

2012年(177)

2011年(93)

2010年(30)

分类: Oracle

2014-02-09 16:19:20

OS:Red Hat Linux As 5
DB:10.2.0.5.6

  今天使用export手工备份ocr,执行如下命令的时候发现命令一直在执行,感觉是hang住了,按理说导出ocr是很快完成的,怎么感觉一直无法完成呢.

[root@node1 ocrbak]#/u01/app/oracle/product/10.2.0/crs_1/bin/ocrconfig -export /u01/app/oracle/ocr_export140210.bak
注意$ORACLE_HOME目下也有ocrconfig这个文件,正确是使用$ORA_CRS_HOME目录下的orcconfig文件.

一直等了很久还报了错误.
[root@node1 ocrbak]# /u01/app/oracle/product/10.2.0/crs_1/bin/ocrconfig -export /u01/app/oracle/ocr_export140210_06.bak
PROT-4: Failed to retrieve data from the cluster registry

下面查看日志,看到底导出的过程中oracle做了什么.
节点1:
查看日志:/u01/app/oracle/product/10.2.0/crs_1/log/node1/alertnode1.log
[crsd(1521)]CRS-1005:The OCR upgrade was completed. Version has changed from 169870592 to 169870592. Details in /u01/app/oracle/prod
uct/10.2.0/crs_1/log/node1/crsd/crsd.log.
2014-02-09 01:34:01.842
[crsd(3184)]CRS-1012:The OCR service started on node node1.
2014-02-09 01:34:03.314
[crsd(3184)]CRS-1005:The OCR upgrade was completed. Version has changed from 169870592 to 169870592. Details in /u01/app/oracle/prod
uct/10.2.0/crs_1/log/node1/crsd/crsd.log.
2014-02-09 01:34:16.668
[crsd(3721)]CRS-1012:The OCR service started on node node1.
2014-02-09 01:34:18.321
[crsd(3721)]CRS-1005:The OCR upgrade was completed. Version has changed from 169870592 to 169870592. Details in /u01/app/oracle/prod
uct/10.2.0/crs_1/log/node1/crsd/crsd.log.
2014-02-09 01:34:32.658
[crsd(4271)]CRS-1012:The OCR service started on node node1.
2014-02-09 01:35:05.281
[crsd(4271)]CRS-1201:CRSD started on node node1.


节点2:
查看日志/u01/app/oracle/product/10.2.0/crs_1/log/node2/alertnode2.log
[crsd(8394)]CRS-1005:The OCR upgrade was completed. Version has changed from 169870592 to 169870592. Details in /u01/app/oracle/prod
uct/10.2.0/crs_1/log/node2/crsd/crsd.log.
2014-02-09 01:33:59.780
[crsd(8394)]CRS-1012:The OCR service started on node node2.
2014-02-09 01:34:14.627
[crsd(8952)]CRS-1005:The OCR upgrade was completed. Version has changed from 169870592 to 169870592. Details in /u01/app/oracle/prod
uct/10.2.0/crs_1/log/node2/crsd/crsd.log.
2014-02-09 01:34:14.642
[crsd(8952)]CRS-1012:The OCR service started on node node2.
2014-02-09 01:34:34.035
[crsd(9509)]CRS-1005:The OCR upgrade was completed. Version has changed from 169870592 to 169870592. Details in /u01/app/oracle/prod
uct/10.2.0/crs_1/log/node2/crsd/crsd.log.
2014-02-09 01:34:34.041
[crsd(9509)]CRS-1012:The OCR service started on node node2.
2014-02-09 01:34:52.059
[crsd(9509)]CRS-1201:CRSD started on node node2.

从以上日志发现,export过程中ocr在做upgrade操作,在整个过程中crs无法访问,从如下的命令可以看出:
node1-> crsctl check crs
CSS appears healthy
Cannot communicate with CRS
EVM appears healthy

node2-> crsctl check crs
CSS appears healthy
Cannot communicate with CRS
EVM appears healthy


奇怪的是客户端还是可以连接数据库的.

-- The End --

阅读(3762) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~