免费注册 查看新帖 |

Chinaunix

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

[ASM] oracle 11g RAC 节点重新安装后,加入集群ASM报错,哪位同事给个思路呢? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-03-10 14:24 |只看该作者 |倒序浏览
最近一2节点的ORACLE 11g 集群,节点1因为主机硬盘损坏,重装了os,与节点2是相同配置,RedHat Linux 5.5 + ORACLE 11.2.0.3.
安装cvuqdisk-1.0.9.rpm包,做好 ip,ssh,ntp,dns,multipath,oracleasm 等相关配置,
在节点2清除了有关节点1的集群信息,执行addNode.sh 后,
在节点1侧以root身份执行root.sh后报错,如下:
[root@db1 grid]#./root.sh
... ...
2015-03-10 12:58:24: Executing cmd: /bin/su grid -c "/u01/11.2/grid/bin/asmca -silent -diskGroupName CRS -diskList 'ORCL:CRS_DISK01,ORCL:CRS_DISK02' -redundancy EXTERNAL -configureLocalASM -au_size 1"
2015-03-10 12:58:32: Command output:
>
>  Disk Group CRS creation failed with the following message:
>  ORA-15018: diskgroup cannot be created
>  ORA-15031: disk specification 'ORCL:CRS_DISK02' matches no disks
>  ORA-15031: disk specification 'ORCL:CRS_DISK01' matches no disks

>
>
>End Command output

节点1侧 几次执行
./rootcrs.pl -deconfig -force
后,再执行./root.sh  都是报相同的错。
哪位同事 给个 解决问题的思路和方向呢,谢谢!

一下是对节点1的存储的检查:
[grid@db1 ~]$ cd /dev/oracleasm/disks
[grid@db1 disks]$ ls -l
total 0
brw-rw---- 1 grid asmadmin 253, 0 Mar 10 10:16 CRS_DISK01
brw-rw---- 1 grid asmadmin 253, 1 Mar 10 10:16 CRS_DISK02
brw-rw---- 1 grid asmadmin 253, 2 Mar 10 10:16 DATA_DISK01

[grid@db1 disks]$ kfed read /dev/oracleasm/disks/CRS_DISK01
kfbh.endian:                          1 ; 0x000: 0x01
kfbh.hard:                          130 ; 0x001: 0x82
kfbh.type:                            1 ; 0x002: KFBTYP_DISKHEAD
kfbh.datfmt:                          1 ; 0x003: 0x01
kfbh.block.blk:                       0 ; 0x004: blk=0
kfbh.block.obj:              2147483648 ; 0x008: disk=0
kfbh.check:                  1867658697 ; 0x00c: 0x6f5235c9
kfbh.fcn.base:                        0 ; 0x010: 0x00000000
kfbh.fcn.wrap:                        0 ; 0x014: 0x00000000
kfbh.spare1:                          0 ; 0x018: 0x00000000
kfbh.spare2:                          0 ; 0x01c: 0x00000000
kfdhdb.driver.provstr:ORCLDISKCRS_DISK01 ; 0x000: length=18
kfdhdb.driver.reserved[0]:   1599296067 ; 0x008: 0x5f535243
kfdhdb.driver.reserved[1]:   1263749444 ; 0x00c: 0x4b534944
kfdhdb.driver.reserved[2]:        12592 ; 0x010: 0x00003130


[grid@db1 disks]$ kfod
--------------------------------------------------------------------------------
ORACLE_SID ORACLE_HOME
================================================================================
     +ASM1 /u01/11.2/grid


[grid@db1 disks]$ kfod asm_diskstring='/dev/oracleasm/disks/*'
--------------------------------------------------------------------------------
Disk          Size Path                                     User     Group
================================================================================
   1:       1024 Mb /dev/oracleasm/disks/CRS_DISK01          grid     asmadmin
   2:       1024 Mb /dev/oracleasm/disks/CRS_DISK02          grid     asmadmin
   3:    1024000 Mb /dev/oracleasm/disks/DATA_DISK01         grid     asmadmin
--------------------------------------------------------------------------------
ORACLE_SID ORACLE_HOME
================================================================================
     +ASM1 /u01/11.2/grid

论坛徽章:
0
2 [报告]
发表于 2015-03-10 15:43 |只看该作者
顶起来,谢谢

论坛徽章:
17
天蝎座
日期:2014-03-10 14:35:04数据库技术版块每日发帖之星
日期:2015-12-13 06:20:00IT运维版块每日发帖之星
日期:2015-12-13 06:20:00数据库技术版块每日发帖之星
日期:2015-10-20 06:20:00数据库技术版块每日发帖之星
日期:2015-08-21 06:20:00数据库技术版块每日发帖之星
日期:2015-06-17 22:20:002015年迎新春徽章
日期:2015-03-04 09:57:092015年辞旧岁徽章
日期:2015-03-03 16:54:15技术图书徽章
日期:2015-01-12 17:05:35亥猪
日期:2014-11-09 13:05:04金牛座
日期:2014-09-25 11:28:54处女座
日期:2014-09-15 19:58:36
3 [报告]
发表于 2015-03-11 09:39 |只看该作者
有没有看一下节点2的三个文件的权限和属主?

论坛徽章:
0
4 [报告]
发表于 2015-03-11 11:21 |只看该作者
[grid@db1 disks]$ kfod asm_diskstring='/dev/oracleasm/disks/*'
--------------------------------------------------------------------------------
Disk          Size Path                                     User     Group
================================================================================
   1:       1024 Mb /dev/oracleasm/disks/CRS_DISK01          grid     asmadmin
   2:       1024 Mb /dev/oracleasm/disks/CRS_DISK02          grid     asmadmin
   3:    1024000 Mb /dev/oracleasm/disks/DATA_DISK01         grid     asmadmin
--------------------------------------------------------------------------------

这里可以看到 属主

[grid@db1 disks]$ ls -l
total 0
brw-rw---- 1 grid asmadmin 253, 0 Mar 10 15:54 CRS_DISK01
brw-rw---- 1 grid asmadmin 253, 1 Mar 10 15:54 CRS_DISK02
brw-rw---- 1 grid asmadmin 253, 2 Mar 10 15:54 DATA_DISK01

这里可以看到权限

好像没得问题呢

论坛徽章:
17
天蝎座
日期:2014-03-10 14:35:04数据库技术版块每日发帖之星
日期:2015-12-13 06:20:00IT运维版块每日发帖之星
日期:2015-12-13 06:20:00数据库技术版块每日发帖之星
日期:2015-10-20 06:20:00数据库技术版块每日发帖之星
日期:2015-08-21 06:20:00数据库技术版块每日发帖之星
日期:2015-06-17 22:20:002015年迎新春徽章
日期:2015-03-04 09:57:092015年辞旧岁徽章
日期:2015-03-03 16:54:15技术图书徽章
日期:2015-01-12 17:05:35亥猪
日期:2014-11-09 13:05:04金牛座
日期:2014-09-25 11:28:54处女座
日期:2014-09-15 19:58:36
5 [报告]
发表于 2015-03-11 14:03 |只看该作者
回复 4# leanaa737


    show parameter asm_diskstring;

论坛徽章:
17
天蝎座
日期:2014-03-10 14:35:04数据库技术版块每日发帖之星
日期:2015-12-13 06:20:00IT运维版块每日发帖之星
日期:2015-12-13 06:20:00数据库技术版块每日发帖之星
日期:2015-10-20 06:20:00数据库技术版块每日发帖之星
日期:2015-08-21 06:20:00数据库技术版块每日发帖之星
日期:2015-06-17 22:20:002015年迎新春徽章
日期:2015-03-04 09:57:092015年辞旧岁徽章
日期:2015-03-03 16:54:15技术图书徽章
日期:2015-01-12 17:05:35亥猪
日期:2014-11-09 13:05:04金牛座
日期:2014-09-25 11:28:54处女座
日期:2014-09-15 19:58:36
6 [报告]
发表于 2015-03-11 14:06 |只看该作者
v$asm_disk查看了吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP