免费注册 查看新帖 |

Chinaunix

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

[存储备份] help,在AIX上安装ORACLE RAC问题,磁盘不能共享??? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-07-28 13:37 |只看该作者 |倒序浏览
本帖最后由 oyhuan 于 2011-07-28 16:01 编辑

安装ORACLE RAC运行第二个节点的root.sh报如下错误,第一个节点运行正常
为什么会在第二个节点找不到盘?好像是这二个节点不能共享盘,磁盘属性reserve_lock=no


CRS-2676: Start of 'ora.diskmon' on 'miuu006' succeeded
CRS-2676: Start of 'ora.cssd' on 'miuu006' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'miuu006'
CRS-2676: Start of 'ora.ctssd' on 'miuu006' succeeded

DiskGroup DATA creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/rhdiskpower2' matches no disks
ORA-15031: disk specification '/dev/rhdiskpower3' matches no disks
ORA-15031: disk specification '/dev/rhdiskpower4' matches no disks

以下分别是二个节点的信息,以hdiskpower4为例,其它都是一样的
第一个节点miuu002:
# lspv | grep hdiskpower*
hdiskpower0     none                                None            
hdiskpower1     none                                None            
hdiskpower2     none                                None            
hdiskpower3     none                                None            
hdiskpower4     none                                None            
# lsattr -El hdiskpower4
cgname                           Consistency Group Name     True
clr_q         no                 Clear Queue (RS/6000)      True
location                         Location                   True
lun_id        0x5000000000000    LUN ID                     False
lun_reset_spt yes                FC Forced Open LUN         True
max_coalesce  0x100000           Maximum coalesce size      True
max_transfer  0x100000           Maximum transfer size      True
pvid          none               Physical volume identifier False
pvid_takeover yes                Takeover PVIDs from hdisks True
q_err         yes                Use QERR bit               True
q_type        simple             Queue TYPE                 False
queue_depth   32                 Queue DEPTH                True
reassign_to   120                REASSIGN time out value    True
reserve_lock  no                 Reserve device on open     True
rw_timeout    30                 READ/WRITE time out        True
scsi_id       0x157100           SCSI ID                    False
start_timeout 60                 START unit time out        True
ww_name       0x5006016939a0442b World Wide Name            False
# ls -l /dev/hdiskpower4
brw-rw----    1 root     system       44,  4 Jul 28 10:09 /dev/hdiskpower4
# powermt display dev=hdiskpower4
Pseudo name=hdiskpower4
CLARiiON ID=CK200070700579 [MIUU002_MIUU006]
Logical device ID=60060160B6C31D002190F2BCCF75DF11 [LUN 1055]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B       Array failover mode: 3
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
###  HW Path                I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
   1 fscsi0                    hdisk14   SP B0     active  alive      0      0
   0 fscsi1                    hdisk20   SP A1     active  alive      0      0
   0 fscsi1                    hdisk26   SP B1     active  alive      0      0
   1 fscsi0                    hdisk8    SP A0     active  alive      0      0



#
# lquerypv -h  /dev/hdiskpower4                                //第一个节点运行完root.sh。hdiskpower4已有数据
00000000   00820101 00000000 80000002 2D725055  |............-rPU|
00000010   00000000 00000000 00000000 00000000  |................|
00000020   4F52434C 4449534B 00000000 00000000  |ORCLDISK........|
00000030   00000000 00000000 00000000 00000000  |................|
00000040   0B200000 00020203 44415441 5F303030  |. ......DATA_000|
00000050   32000000 00000000 00000000 00000000  |2...............|
00000060   00000000 00000000 44415441 00000000  |........DATA....|
00000070   00000000 00000000 00000000 00000000  |................|
00000080   00000000 00000000 44415441 5F303030  |........DATA_000|
00000090   32000000 00000000 00000000 00000000  |2...............|
000000A0   00000000 00000000 00000000 00000000  |................|
000000B0   00000000 00000000 00000000 00000000  |................|
000000C0   00000000 00000000 01F6DF8A D2E8D400  |................|
000000D0   01F6DF8A E075B400 02001000 00100000  |.....u..........|
000000E0   0001BC80 00000400 00000002 00000001  |................|
000000F0   00000002 00000002 00000000 00000000  |................|
#


第二个节点miuu006
# lspv | grep hdiskpower*
hdiskpower0     none                                None            
hdiskpower1     none                                None            
hdiskpower2     none                                None            
hdiskpower3     none                                None            
hdiskpower4     none                                None            
# lsattr -El hdiskpower4
cgname                           Consistency Group Name     True
clr_q         no                 Clear Queue (RS/6000)      True
location                         Location                   True
lun_id        0x5000000000000    LUN ID                     False
lun_reset_spt yes                FC Forced Open LUN         True
max_coalesce  0x100000           Maximum coalesce size      True
max_transfer  0x100000           Maximum transfer size      True
pvid          none               Physical volume identifier False
pvid_takeover yes                Takeover PVIDs from hdisks True
q_err         yes                Use QERR bit               True
q_type        simple             Queue TYPE                 False
queue_depth   32                 Queue DEPTH                True
reassign_to   120                REASSIGN time out value    True
reserve_lock  no                 Reserve device on open     True
rw_timeout    30                 READ/WRITE time out        True
scsi_id       0x157100           SCSI ID                    False
start_timeout 60                 START unit time out        True
ww_name       0x5006016939a0442b World Wide Name            False
# powermt display dev=hdiskpower4
Pseudo name=hdiskpower4
CLARiiON ID=CK200070700579 [MIUU002_MIUU006]
Logical device ID=60060160B6C31D002190F2BCCF75DF11 [LUN 1055]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B       Array failover mode: 3
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
###  HW Path                I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
   0 fscsi0                    hdisk14   SP B0     active  alive      0      0
   1 fscsi1                    hdisk20   SP A1     active  alive      0      0
   1 fscsi1                    hdisk26   SP B1     active  alive      0      0
   0 fscsi0                    hdisk8    SP A0     active  alive      0      0



# ls -l /dev/hdiskpower4
brw-rw----    1 root     system       42,  4 Jul 28 09:30 /dev/hdiskpower4
#
# lquerypv -h  /dev/hdiskpower4                        //这个节点竟然没有数据,怀疑是不能共享盘问题
#



请大家帮帮忙,谢谢了

论坛徽章:
0
2 [报告]
发表于 2011-07-28 15:26 |只看该作者
ORA-15031: disk specification '/dev/dev/hdiskpower2' matches no disks
ORA-15031: disk specification '/dev/dev/hdiskpower3' matches no disks
ORA-15031: disk specification '/dev/dev/hdiskpower4' matches no disks

论坛徽章:
0
3 [报告]
发表于 2011-07-28 16:04 |只看该作者
本帖最后由 oyhuan 于 2011-07-28 16:11 编辑
ORA-15031: disk specification '/dev/dev/hdiskpower2' matches no disks
ORA-15031: disk specification ...
zycloveyou 发表于 2011-07-28 15:26



不好意思,上面给出的有误,因为这个是昨天装的RAC,当时没保存下这个信息,刚才是做了mknod的
正确的已经修改过了

论坛徽章:
0
4 [报告]
发表于 2011-07-28 16:26 |只看该作者
用rhdisk或者rlv都可以。。。。。。。。。。。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP