Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1119508
  • 博文数量: 231
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 2662
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-03 16:35
个人简介

学无止境

文章分类

全部博文(231)

文章存档

2014年(7)

2013年(103)

2011年(11)

2010年(53)

2009年(57)

分类: Oracle

2009-12-18 11:04:54

今天在虚拟机(Linux 4.7)上装rac,尝试使用软raid做md,用来建裸设备,包括建pv、vg、lv以及裸设备映射都顺利,但是在装crs时却不成功。
在第一个节点执行crs目录下的root.sh时报错:
在/u01/oracle/crs/log/rac10g1/client/ocrconfig_16898.log
日志中报错:
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
2009-12-17 16:00:57.184: [ OCRCONF][3086923456]ocrconfig starts...
2009-12-17 16:00:57.187: [ OCRCONF][3086923456]Upgrading OCR data
2009-12-17 16:00:57.199: [  OCRRAW][3086923456]propriogid:1: INVALID FORMAT
2009-12-17 16:00:57.201: [  OCRRAW][3086923456]ibctx:1:ERROR: INVALID FORMAT
2009-12-17 16:00:57.201: [  OCRRAW][3086923456]proprinit:problem reading the bootblock or superbloc 22
2009-12-17 16:00:57.201: [ default][3086923456]a_init:7!: Backend init unsuccessful : [22]
2009-12-17 16:00:57.202: [ OCRCONF][3086923456]Exporting OCR data to [OCRUPGRADEFILE]
2009-12-17 16:00:57.202: [  OCRAPI][3086923456]a_init:7!: Backend init unsuccessful : [33]
2009-12-17 16:00:57.202: [ OCRCONF][3086923456]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
2009-12-17 16:00:57.211: [  OCRRAW][3086923456]propriogid:1: INVALID FORMAT
2009-12-17 16:00:57.211: [  OCRRAW][3086923456]ibctx:1:ERROR: INVALID FORMAT
2009-12-17 16:00:57.211: [  OCRRAW][3086923456]proprinit:problem reading the bootblock or superbloc 22
2009-12-17 16:00:57.211: [ default][3086923456]a_init:7!: Backend init unsuccessful : [22]
2009-12-17 16:00:57.220: [  OCRRAW][3086923456]propriogid:1: INVALID FORMAT
2009-12-17 16:00:57.220: [  OCRRAW][3086923456]ibctx:1:ERROR: INVALID FORMAT
2009-12-17 16:00:57.221: [  OCRRAW][3086923456]proprinit:problem reading the bootblock or superbloc 22
2009-12-17 16:00:57.229: [  OCRRAW][3086923456]propriogid:1: INVALID FORMAT
2009-12-17 16:00:57.260: [  OCRRAW][3086923456]propriowv: Vote information on disk 0 [/dev/raw/raw1] is adjusted from [0/0] to [2/2]
2009-12-17 16:00:57.309: [  OCRRAW][3086923456]propriniconfig:No 92 configuration
2009-12-17 16:00:57.309: [  OCRAPI][3086923456]a_init:6a: Backend init successful
2009-12-17 16:00:57.537: [ OCRCONF][3086923456]Initialized DATABASE keys in OCR
2009-12-17 16:00:57.586: [ OCRCONF][3086923456]csetskgfrblock0: clsfmt returned with error [4].
2009-12-17 16:00:57.587: [ OCRCONF][3086923456]Failure in setting block0 [-1]
2009-12-17 16:00:57.587: [ OCRCONF][3086923456]OCR block 0 is not set !
2009-12-17 16:00:57.587: [ OCRCONF][3086923456]Exiting [status=failed]...
以上问题主要原因还是INVALID FORMAT。
metalink上关于此问题也有两种说法,1是裸设备不能从第一个柱面开始使用,头几个柱面要空出来;2是主机名不能大写。
这两种情况都是在solaris SPARC上才出现的,我装的是Linux。
一开始我主机名确实是大写的,之后修改成小写的,并且再建了一个lv给ocr做裸设备用,还是同样的错误。
最后还是把软raid拆了,才顺利完成安装。
怀疑是软raid不能做裸设备使用,有待查证。
关于主机名大写导致的问题可以查考metalink的文章ID 395697.1

RHEL 4上在第二个节点上运行crs下的root.sh会遇到如下问题。
Running vipca(silent) for configuring nodeapps
The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs.
这是由于eth0没有设为public,实际上在第一个节点上也是在安装过程中手动设为public的。
执行完这步之后,不要急于在图形界面上点OK。
在第二个节点上用root用户执行crs/bin/目录下的vipca,会出来图形界面,手动地在eth0上配置vip即可,成功完成后,再回到安装界面上点OK,之后的一步验证就会全部pass。
阅读(937) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~