免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1304 | 回复: 2
打印 上一主题 下一主题

rac增加新节点运行dbca 出现报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-05-09 19:38 |只看该作者 |倒序浏览
系统环境:
虚拟机环境,2台linux5.4 做rac节点,1台linux5.4做 iscsi target端 共享存储 ,现在新加了一台rac3节点。
增加节点前,系统环境如下:
[root@rac2 ~]# fdisk -l
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot Start End Blocks Id System
/dev/sda1 * 1 17 136521 83 Linux
/dev/sda2 18 1165 9221310 83 Linux
/dev/sda3 1166 1293 1028160 82 Linux swap / Solaris

Disk /dev/sdb: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot Start End Blocks Id System
/dev/sdb1 1 730 5863693+ 83 Linux

Disk /dev/sdc: 205 MB, 205599744 bytes
4 heads, 51 sectors/track, 1968 cylinders
Units = cylinders of 204 * 512 = 104448 bytes

  Device Boot Start End Blocks Id System
/dev/sdc1 1 1023 104320+ 83 Linux

Disk /dev/sdd: 205 MB, 205632000 bytes
7 heads, 57 sectors/track, 1006 cylinders
Units = cylinders of 399 * 512 = 204288 bytes

  Device Boot Start End Blocks Id System
/dev/sdd1 1 1006 200668+ 83 Linux

Disk /dev/sde: 106 MB, 106928640 bytes
4 heads, 51 sectors/track, 1023 cylinders
Units = cylinders of 204 * 512 = 104448 bytes

  Device Boot Start End Blocks Id System
/dev/sde1 1 1023 104320+ 83 Linux

Disk /dev/sdf: 106 MB, 106896384 bytes
4 heads, 51 sectors/track, 1023 cylinders
Units = cylinders of 204 * 512 = 104448 bytes

  Device Boot Start End Blocks Id System
/dev/sdf1 1 1023 104320+ 83 Linux

Disk /dev/sdg: 106 MB, 106896384 bytes
4 heads, 51 sectors/track, 1023 cylinders
Units = cylinders of 204 * 512 = 104448 bytes

  Device Boot Start End Blocks Id System
/dev/sdg1 1 1023 104320+ 83 Linux

Disk /dev/sdh: 20.0 GB, 20012073984 bytes
64 heads, 32 sectors/track, 19085 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

  Device Boot Start End Blocks Id System
/dev/sdh1 1 19085 19543024 83 Linux

Disk /dev/sdi: 20.0 GB, 20012073984 bytes
64 heads, 32 sectors/track, 19085 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

  Device Boot Start End Blocks Id System
/dev/sdi1 1 19085 19543024 83 Linux

Disk /dev/sdj: 15.0 GB, 15011103744 bytes
64 heads, 32 sectors/track, 14315 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

  Device Boot Start End Blocks Id System
/dev/sdj1 1 14315 14658544 83 Linux

[root@rac2 ~]# cat /etc/udev/rules.d/60-raw.rules
# Enter raw device bindings here.
#
# An example would be:
# ACTION=="add", KERNEL=="sda", RUN+="/bin/raw /dev/raw/raw1 %N"
# to bind /dev/raw/raw1 to /dev/sda, or
# ACTION=="add", ENV{MAJOR}=="8", ENV{MINOR}=="1", RUN+="/bin/raw /dev/raw/raw2 %M %m"
# to bind /dev/raw/raw2 to the device with major 8, minor 1.
ACTION=="add", KERNEL=="sdc1", RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL=="sdd1", RUN+="/bin/raw /dev/raw/raw2 %N"
ACTION=="add", KERNEL=="sde1", RUN+="/bin/raw /dev/raw/raw3 %N"
ACTION=="add", KERNEL=="sdf1", RUN+="/bin/raw /dev/raw/raw4 %N"
ACTION=="add", KERNEL=="sdg1", RUN+="/bin/raw /dev/raw/raw5 %N"
KERNEL=="raw[1-5]", MODE="0775", GROUP="oinstall", OWNER="oracle"

[root@rac2 ~]# ll /dev/raw
total 0
crwxrwxr-x 1 oracle oinstall 162, 1 May 5 20:34 raw1 ##集群注册表 (OCR) 位置
crwxrwxr-x 1 oracle oinstall 162, 2 May 5 20:34 raw2 ##集群注册表 (OCR) 位置
crwxrwxr-x 1 oracle oinstall 162, 3 May 5 22:18 raw3 ##表决磁盘位置
crwxrwxr-x 1 oracle oinstall 162, 4 May 5 22:18 raw4 ##表决磁盘位置
crwxrwxr-x 1 oracle oinstall 162, 5 May 5 22:18 raw5 ##表决磁盘位置

[root@rac2 ~]# /etc/init.d/oracleasm querydisk -d VOL1
Disk "VOL1" is a valid ASM disk on device /dev/sdh1[8,113]
[root@rac2 ~]# /etc/init.d/oracleasm querydisk -d VOL2
Disk "VOL2" is a valid ASM disk on device /dev/sdi1[8,129]

[root@rac2 ~]# /etc/init.d/oracleasm listdisks -h
VOL1
VOL2
在 rac3(新)节点上,操作如下:
[oracle@rac3 ~]$ /etc/init.d/oracleasm listdisks
VOL1
VOL2
[oracle@rac3 ~]$ /etc/init.d/oracleasm querydisk -d VOL1
Disk "VOL1" is a valid ASM disk on device /dev/sdh1[8,113]
[oracle@rac3 ~]$ /etc/init.d/oracleasm querydisk -d VOL2
Disk "VOL2" is a valid ASM disk on device /dev/sdi1[8,129]

[oracle@rac3 ~]$ crs_stat -t
Name Type Target State Host  
------------------------------------------------------------
ora....SM1.asm application ONLINE ONLINE rac1  
ora....C1.lsnr application ONLINE ONLINE rac1  
ora.rac1.gsd application ONLINE ONLINE rac1  
ora.rac1.ons application ONLINE ONLINE rac1  
ora.rac1.vip application ONLINE ONLINE rac1  
ora....SM2.asm application ONLINE ONLINE rac2  
ora....C2.lsnr application ONLINE ONLINE rac2  
ora.rac2.gsd application ONLINE ONLINE rac2  
ora.rac2.ons application ONLINE ONLINE rac2  
ora.rac2.vip application ONLINE ONLINE rac2  
ora....SM3.asm application ONLINE ONLINE rac3  
ora....C3.lsnr application ONLINE ONLINE rac3  
ora.rac3.gsd application ONLINE ONLINE rac3  
ora.rac3.ons application ONLINE ONLINE rac3  
ora.rac3.vip application ONLINE ONLINE rac3  
ora.racdb.db application ONLINE ONLINE rac3  
ora....b1.inst application ONLINE ONLINE rac1  
ora....b2.inst application ONLINE ONLINE rac2  
ora....licy.cs application ONLINE ONLINE rac1  
ora....db1.srv application ONLINE ONLINE rac1  
ora....db2.srv application ONLINE ONLINE rac2  

[oracle@rac3 ~]$ ll /dev/raw
total 0
crwxrwxr-x 1 oracle oinstall 162, 1 May 5 20:34 raw1
crwxrwxr-x 1 oracle oinstall 162, 2 May 5 20:34 raw2
crwxrwxr-x 1 oracle oinstall 162, 3 May 5 22:27 raw3
crwxrwxr-x 1 oracle oinstall 162, 4 May 5 22:27 raw4
crwxrwxr-x 1 oracle oinstall 162, 5 May 5 22:27 raw5

现在的问题是, 添加实例到新节点(rac3),dbca 运行到 最后一步报错如下:
the directories “[+DATA1,+DATA1/racdb]" are not on cluster file system partitions shared across nodes "rac1,rac2,rac3"
请各位高手帮忙!

论坛徽章:
0
2 [报告]
发表于 2012-05-11 00:09 |只看该作者

报错信息

论坛徽章:
0
3 [报告]
发表于 2012-05-11 08:28 |只看该作者
定,有没有高手看啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP