ITPUB论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

返回列表 发新帖
更多
查看: 1393|回复: 4

[安装] 请达人指点:在dbca建库时无法mount 节点2个磁盘组 [复制链接]

精华贴数
0
技术积分
742
社区积分
123
注册时间
2008-3-10
论坛徽章:
11
授权会员
日期:2008-12-02 08:03:002010新春纪念徽章
日期:2010-03-01 11:19:09生肖徽章2007版:鸡
日期:2009-11-12 11:24:57祖国60周年纪念徽章
日期:2009-10-09 08:28:00生肖徽章2007版:猪
日期:2009-05-13 13:49:36生肖徽章2007版:狗
日期:2009-04-27 22:14:53生肖徽章2007版:牛
日期:2009-03-10 21:19:32生肖徽章2007版:牛
日期:2009-03-09 13:54:57生肖徽章2007版:鸡
日期:2009-01-07 14:39:452009新春纪念徽章
日期:2009-01-04 14:52:28ITPUB十周年纪念徽章
日期:2011-11-01 16:24:04
发表于 2009-4-13 21:01:03 |显示全部楼层
一直都是在用RAW设备从来没有用过ASM,因此在家里做了一下实验:
环境:vmware server + RHEL 4.7 64bit + oracle 10.2.0.1 64bit
装了多少次clusterware不记得了,这次从安装clusterware,oracle软件都没有问题,但到了创建数据库的时候发现节点2不能mount磁盘组,

google了一下,没有找到问题的根源,也看到PUB上也有类似的问题但最终还是没有解决,在此请达人帮忙看一下,下面是一些相关信息:
1.二个节点的asm实例都启动了
RAC01:
Ps –ef |grep asm
oracle  29651 1  0 11:07 ?  00:00:00 asm_pmon_+ASM1
oracle  29672 1  0 11:07 ?  00:00:00 asm_diag_+ASM1
oracle  29680 1  0 11:07 ?  00:00:00 asm_psp0_+ASM1
oracle  29682 1  0 11:07 ?  00:00:01 asm_lmon_+ASM1
oracle  29684 1  0 11:07 ?  00:00:00 asm_lmd0_+ASM1
oracle  29686 1  0 11:07 ?  00:00:00 asm_lms0_+ASM1
oracle  29690 1  0 11:07 ?  00:00:00 asm_mman_+ASM1
oracle  29692 1  0 11:07 ?  00:00:00 asm_dbw0_+ASM1
oracle  29694 1  0 11:07 ?  00:00:00 asm_lgwr_+ASM1
oracle  29696 1  0 11:07 ?  00:00:00 asm_ckpt_+ASM1
oracle  29698 1  0 11:07 ?  00:00:00 asm_smon_+ASM1
oracle  29700 1  0 11:07 ?  00:00:00 asm_rbal_+ASM1
oracle  29702 1  0 11:07 ?  00:00:00 asm_gmon_+ASM1
oracle  29729 1  0 11:07 ?  00:00:00 asm_lck0_+ASM1
oracle  29895 1  0 11:07 ?  00:00:00 /u01/oracle/product/10.2.0/db_1/bin/racgimondaemon ora.node1.ASM1.asm

RAC02:
[oracle@node2 bin]$ ps -ef|grep asm
oracle  11423 6680 0 11:08 pts/3 00:00:00 grepasm
oracle  24716 1 0 10:56 ? 00:00:00 asm_pmon_+ASM2
oracle  24718 1 0 10:56 ? 00:00:00 asm_diag_+ASM2
oracle  24720 1 0 10:56 ? 00:00:00 asm_psp0_+ASM2
oracle  24722 1 0 10:56 ? 00:00:01 asm_lmon_+ASM2
oracle  24724 1 0 10:56 ? 00:00:00 asm_lmd0_+ASM2
oracle  24726 1 0 10:56 ? 00:00:00 asm_lms0_+ASM2
oracle  24730 1 0 10:56 ? 00:00:00 asm_mman_+ASM2
oracle  24732 1 0 10:56 ? 00:00:00 asm_dbw0_+ASM2
oracle  24734 1 0 10:56 ? 00:00:00 asm_lgwr_+ASM2
oracle  24736 1 0 10:56 ? 00:00:00 asm_ckpt_+ASM2
oracle  24738 1 0 10:56 ? 00:00:00 asm_smon_+ASM2
oracle  24749 1 0 10:56 ? 00:00:00 asm_rbal_+ASM2
oracle  24761 1 0 10:56 ? 00:00:00 asm_gmon_+ASM2
oracle  24794 1 0 10:56 ? 00:00:00 asm_lck0_+ASM2
oracle  24862 1 0 10:56 ? 00:00:00 /u01/oracle/product/10.2.0/db_1/bin/racgimondaemon ora.node2.ASM2.asm

2.根据网上搜的一些信息,说与listener有关,以下是lister的状态
RAC01:
[oracle@node1 bin]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0- Production on 12-APR-2009 11:23:50
Copyright (c) 1991, 2005, Oracle.
All rights reserved.
Connecting to(ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias        LISTENER
Version      TNSLSNR for Linux: Version 10.2.0.1.0- Production
Start Date   12-APR-2009 11:13:49
Uptime       0 days 0 hr. 10 min. 0 sec
Trace Level  off
Security     ON: Local OS Authentication
SNMP         OFF
Listener Parameter File
/u01/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File
/u01/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=node1)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status BLOCKED, has 1 handler(s) for thisservice...
Service "+ASM_XPT" has 1instance(s).
Instance "+ASM1", status BLOCKED, has 1 handler(s) for thisservice...
The command completed successfully

RAC02:
[oracle@node2 bin]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0- Production on 12-APR-2009 11:11:11
Copyright (c) 1991, 2005, Oracle.
All rights reserved.
Connecting to(ADDRESS=(PROTOCOL=tcp)(HOST=node1)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias        LISTENER
Version      TNSLSNR for Linux: Version 10.2.0.1.0- Production
Start Date   12-APR-2009 11:01:30
Uptime       0 days 0 hr. 9 min. 41 sec
Trace Level  off
Security     ON: Local OS Authentication
SNMP         OFF
Listener Parameter File
/u01/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File
/u01/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=node2)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).

Instance "+ASM2", status BLOCKED, has 1 handler(s) for thisservice...
Service "+ASM_XPT" has 1instance(s).

Instance "+ASM2", status BLOCKED, has 1 handler(s) for thisservice...
The command completed successfully

3.tnsping2个节点的listener都不通,不知道为什么,可能是真正原因所在,但ping 2节点的4个IP都是通的
[oracle@node1 bin]$ tnsping listener_node1
TNS PingUtility for Linux: Version 10.2.0.1.0 -Production on 12-APR-2009 11:23:29
Copyright (c) 1997, 2005, Oracle.
All rights reserved.
Used parameter files:
TNS-03505: Failed to resolve name

[oracle@node1 bin]$ tnsping listener_node1
TNS PingUtility for Linux: Version 10.2.0.1.0 -Production on 12-APR-2009 11:23:29
Copyright (c) 1997, 2005, Oracle.
All rights reserved.
Used parameter files:

TNS-03505: Failed to resolve name
主机的/etc/hsots文件检查也没有问题,
[oracle@node1 admin]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost
192.168.0.11    node1
192.168.0.12    node2
192.168.0.21    node1-vip
192.168.0.22    node2-vip
172.16.0.11     node1-priv
172.16.0.22     node2-priv

listener.ora内容如下:
[oracle@node1 admin]$ cat listener.ora
# listener.ora.node1 Network Configuration File: /u01/oracle/product/10.2.0/db_1/network/admin/listener.ora.node1
# Generated by Oracle configuration tools.

LISTENER_NODE1 =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.0.11)(PORT = 1521)(IP = FIRST))
      )
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.11)(PORT = 1521)(IP = FIRST))
      )
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )
    )
  )

LISTENER_NODE2 =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.0.22)(PORT = 1521)(IP = FIRST))
      )
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.12)(PORT = 1521)(IP = FIRST))
      )
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )
    )
  )

[ 本帖最后由 ochef 于 2009-4-13 21:10 编辑 ]
附件: 你需要登录才可以下载或查看附件。没有帐号?注册
MSN:ochef(at)hotmail.com

我的Blog:http://www.ochef.net |

精华贴数
0
技术积分
4062
社区积分
1449
注册时间
2006-11-2
论坛徽章:
58
Heart of PUB
日期:2009-08-06 15:11:022012新春纪念徽章
日期:2012-01-04 11:53:29
发表于 2009-4-13 21:15:02 |显示全部楼层
这个问题我也一直没解决,最后也没个答案
http://www.itpub.net/thread-1120678-1-1.html
I believe I can fly,I believe I can touch the sky,I believe!

使用道具 举报

注册会员

一花一世界,一叶一如来

精华贴数
0
技术积分
3077
社区积分
437
注册时间
2006-10-31
论坛徽章:
38
生肖徽章2007版:鼠
日期:2008-01-02 17:35:532012新春纪念徽章
日期:2012-01-04 11:53:29NBA大富翁
日期:2011-04-15 13:36:26NBA常规赛纪念章
日期:2011-04-15 13:34:112011新春纪念徽章
日期:2011-02-18 11:43:322011新春纪念徽章
日期:2011-01-25 15:42:332010广州亚运会纪念徽章:网球
日期:2010-12-20 22:11:052010广州亚运会纪念徽章:摔跤
日期:2010-11-29 11:27:442010广州亚运会纪念徽章:曲棍球
日期:2010-11-24 23:19:032010广州亚运会纪念徽章:棋类
日期:2010-11-22 15:28:082010新春纪念徽章
日期:2010-03-01 11:04:56ITPUB元老
日期:2010-01-06 23:53:44
发表于 2009-4-13 21:20:33 |显示全部楼层
升级到oracle 10.2.0.4  试试
http://tahiti.oracle.com/
https://support.oracle.com/
http://edelivery.oracle.com/
昨夜西风凋碧树。独上高楼,望尽天涯路
------------------------------------------------------------------

使用道具 举报

精华贴数
0
技术积分
742
社区积分
123
注册时间
2008-3-10
论坛徽章:
11
授权会员
日期:2008-12-02 08:03:002010新春纪念徽章
日期:2010-03-01 11:19:09生肖徽章2007版:鸡
日期:2009-11-12 11:24:57祖国60周年纪念徽章
日期:2009-10-09 08:28:00生肖徽章2007版:猪
日期:2009-05-13 13:49:36生肖徽章2007版:狗
日期:2009-04-27 22:14:53生肖徽章2007版:牛
日期:2009-03-10 21:19:32生肖徽章2007版:牛
日期:2009-03-09 13:54:57生肖徽章2007版:鸡
日期:2009-01-07 14:39:452009新春纪念徽章
日期:2009-01-04 14:52:28ITPUB十周年纪念徽章
日期:2011-11-01 16:24:04
发表于 2009-4-13 22:26:46 |显示全部楼层
to guoq.lee:刚刚看了你原来的那个帖子,看来这个问题很多人碰到过啊,呵呵

to max123567:周末休息再来整啊,照你说的先升级到10.2.0.4.0再DBCA看看是什么情况
谢谢二位了。
MSN:ochef(at)hotmail.com

我的Blog:http://www.ochef.net |

使用道具 举报

精华贴数
0
技术积分
742
社区积分
123
注册时间
2008-3-10
论坛徽章:
11
授权会员
日期:2008-12-02 08:03:002010新春纪念徽章
日期:2010-03-01 11:19:09生肖徽章2007版:鸡
日期:2009-11-12 11:24:57祖国60周年纪念徽章
日期:2009-10-09 08:28:00生肖徽章2007版:猪
日期:2009-05-13 13:49:36生肖徽章2007版:狗
日期:2009-04-27 22:14:53生肖徽章2007版:牛
日期:2009-03-10 21:19:32生肖徽章2007版:牛
日期:2009-03-09 13:54:57生肖徽章2007版:鸡
日期:2009-01-07 14:39:452009新春纪念徽章
日期:2009-01-04 14:52:28ITPUB十周年纪念徽章
日期:2011-11-01 16:24:04
发表于 2009-4-22 21:49:56 |显示全部楼层
这个问题刚才解决了,说好上个星期六试着解决的,一个字:懒
其实很简单,往往在我们解决ORACLE问题的时候却忽视了最基本的问题,这个是我在VMware下做的实验,有一点很重要,就是共享存储设备,当初只把目光放在了ORACLE上,忘记了修改Node2上的虚拟机的配置文件,
disk.locking = "false"
加上了这个参数问题就解决了。
BTW:三思说过,在DBCA建库的时候关于远程监听参数处理方法
可以参考他的文章:
http://www.itpub.net/thread-1009235-1-1.html
或者Blog:
http://www.5ienet.com
附件: 你需要登录才可以下载或查看附件。没有帐号?注册
MSN:ochef(at)hotmail.com

我的Blog:http://www.ochef.net |

使用道具 举报

相关内容推荐
您需要登录后才可以回帖 登录 | 注册

TOP技术积分榜 社区积分榜 徽章 电子杂志 团队 统计 邮箱 虎吧 老博客 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档 | IT博客
CopyRight 1999-2011 itpub.net All Right Reserved. 北京皓辰网域网络信息技术有限公司版权所有 联系我们 网站律师 隐私政策 知识产权声明
京ICP证:060528号 北京市公安局海淀分局网监中心备案编号:1101082001 广播电视节目制作经营许可证:编号(京)字第1149号
  
回顶部