查看: 1987|回复: 3

[安装] 关于在vmware上安装rac的错误

[复制链接]
论坛徽章:
2
2011新春纪念徽章
日期:2011-02-18 11:43:34ITPUB十周年纪念徽章
日期:2011-11-01 16:24:04
发表于 2011-5-17 13:00 | 显示全部楼层 |阅读模式
环境:

VMware 1.06 + Linuxas5 + Oracle Clusterware 10.2.0.1

过程: (按照论坛中君三思提供的文档配置)

安装至运行root.sh脚本,在rac01上运行正常
第二节点rac02上运行,到最后出现Failure at final check of Oracle CRS stack 10

[root@rac01 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.36.188 rac01 rac01
192.168.36.190 rac01-vip rac01-vip
192.168.14.128 rac01-priv rac01-priv
192.168.36.189 rac02 rac02
192.168.36.191 rac02-vip rac02-vip
192.168.14.129 rac02-priv rac02-priv


[oracle@rac02 cssd]$ ll /dev/raw/raw*
crw-r----- 1 root   oinstall 162, 1 May 16 20:14 /dev/raw/raw1
crw-r--r-- 1 oracle oinstall 162, 2 May 16 20:52 /dev/raw/raw2
[oracle@rac02 cssd]$ ll /orac/crs/
total 0
lrwxrwxrwx 1 oracle oinstall 13 May 16 20:14 ocr.crs -> /dev/raw/raw1   
lrwxrwxrwx 1 oracle oinstall 13 May 16 20:14 vote.crs -> /dev/raw/raw2

rac01上成功安装了clusterware10.2.0,但是在rac02上执行root.sh脚本时报如下错误:

[root@rac02 crs]# sh root.sh
WARNING: directory '/home/oracle/product/10.2.0' is not owned by root
WARNING: directory '/home/oracle/product' is not owned by root
WARNING: directory '/home/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/home/oracle/product/10.2.0' is not owned by root
WARNING: directory '/home/oracle/product' is not owned by root
WARNING: directory '/home/oracle' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: rac01 rac01-priv rac01
node 2: rac02 rac02-priv rac02
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 90 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
Failure at final check of Oracle CRS stack.
10


log文件输出:

[oracle@rac02 rac02]$ more alertrac02.log
2011-05-16 20:52:17.689
[cssd(9716)]CRS-1605:CSSD voting file is online: /orac/crs/vote.crs. Details in /home/oracle/product/10.2.0/crs/log/rac02/cssd/ocssd.log.

[oracle@rac02 rac02]$ more /home/oracle/product/10.2.0/crs/log/rac02/cssd/ocssd.log
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
[    CSSD]2011-05-16 20:52:15.608 >USER:    Oracle Database 10g CSS Release 10.2.0.1.0 Production Copyright 1996, 2004 Oracle.  All rights reserved.
[    CSSD]2011-05-16 20:52:15.608 >USER:    CSS daemon log for node rac02, number 2, in cluster crs
[  clsdmt]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=rac02DBG_CSSD))
[    CSSD]2011-05-16 20:52:15.614 [2827470016] >TRACE:   clssscmain: local-only set to false
[    CSSD]2011-05-16 20:52:15.622 [2827470016] >TRACE:   clssnmReadNodeInfo: added node 1 (rac01) to cluster
[    CSSD]2011-05-16 20:52:15.627 [2827470016] >TRACE:   clssnmReadNodeInfo: added node 2 (rac02) to cluster
[    CSSD]2011-05-16 20:52:15.635 [1139382592] >TRACE:   clssnm_skgxnmon: skgxn init failed, rc 1
[    CSSD]2011-05-16 20:52:15.635 [2827470016] >TRACE:   clssnm_skgxnonline: Using vacuous skgxn monitor
[    CSSD]2011-05-16 20:52:15.637 [2827470016] >TRACE:   clssnmInitNMInfo: misscount set to 60
[    CSSD]2011-05-16 20:52:15.640 [2827470016] >TRACE:   clssnmDiskStateChange: state from 1 to 2 disk (0//orac/crs/vote.crs)
[    CSSD]2011-05-16 20:52:17.688 [1139382592] >TRACE:   clssnmDiskStateChange: state from 2 to 4 disk (0//orac/crs/vote.crs)
[    CSSD]2011-05-16 20:52:17.689 [1139382592] >TRACE:   clssnmReadDskHeartbeat: node(1) is down. rcfg(2) wrtcnt(219) LATS(0) Disk lastSeqNo(219)
[    CSSD]2011-05-16 20:52:17.718 [2827470016] >TRACE:   clssscSclsFatal: read value of disable
[    CSSD]2011-05-16 20:52:17.718 [2827470016] >TRACE:   clssscSclsFatal: read value of disable
[    CSSD]2011-05-16 20:52:17.718 [1149872448] >TRACE:   clssnmFatalThread: spawned
[    CSSD]2011-05-16 20:52:17.718 [1160362304] >TRACE:   clssnmconnect: connecting to node 2, flags 0x0001, connector 1
[    CSSD]2011-05-16 20:52:17.721 [1160362304] >TRACE:   clssnmconnect: connecting to node 0, flags 0x0000, connector 1
[    CSSD]2011-05-16 20:52:17.721 [1160362304] >TRACE:   clssnmconnect: connecting to node 1, flags 0x0001, connector 0
[    CSSD]2011-05-16 20:52:17.722 [1160362304] >TRACE:   clsc_send_msg: (0x1cf94c50) NS err (12571, 12560), transport (530, 113, 0)
[    CSSD]2011-05-16 20:52:17.764 [1170852160] >TRACE:   clssgmclientlsnr: listening on (ADDRESS=(PROTOCOL=ipc)(KEY=Oracle_CSS_LclLstnr_crs_2))
[    CSSD]2011-05-16 20:52:17.765 [1170852160] >TRACE:   clssgmclientlsnr: listening on (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac02_crs))
[    CSSD]2011-05-16 20:52:17.765 [1212811584] >TRACE:   clssnmPollingThread: Connection complete
[    CSSD]2011-05-16 20:52:17.765 [1223301440] >TRACE:   clssnmSendingThread: Connection complete
[    CSSD]2011-05-16 20:52:17.765 [1233791296] >TRACE:   clssnmRcfgMgrThread: Connection complete
[    CSSD]2011-05-16 20:52:17.765 [1233791296] >TRACE:   clssnmRcfgMgrThread: Local Join
[    CSSD]2011-05-16 20:52:17.765 [1233791296] >TRACE:   clssnmDoSyncUpdate: Initiating sync 1
[    CSSD]2011-05-16 20:52:17.765 [1233791296] >TRACE:   clssnmSetupAckWait: Ack message type (11)
[    CSSD]2011-05-16 20:52:17.765 [1233791296] >TRACE:   clssnmSetupAckWait: node(2) is ALIVE
[    CSSD]2011-05-16 20:52:17.765 [1233791296] >TRACE:   clssnmSendSync: syncSeqNo(1)
[    CSSD]2011-05-16 20:52:17.766 [1160362304] >TRACE:   clssnmHandleSync: Acknowledging sync: src[2] srcName[rac02] seq[1] sync[1]
[    CSSD]2011-05-16 20:52:17.766 [1233791296] >TRACE:   clssnmWaitForAcks: Ack message type(11), ackCount(0)
[    CSSD]2011-05-16 20:52:17.766 [1233791296] >TRACE:   clssnmSetupAckWait: Ack message type (13)
[    CSSD]2011-05-16 20:52:17.766 [1233791296] >TRACE:   clssnmSetupAckWait: node(2) is ACTIVE
[    CSSD]2011-05-16 20:52:17.766 [1233791296] >TRACE:   clssnmSendVote: syncSeqNo(1)
[    CSSD]2011-05-16 20:52:17.766 [1160362304] >TRACE:   clssnmSendVoteInfo: node(2) syncSeqNo(1)
[    CSSD]2011-05-16 20:52:17.766 [1233791296] >TRACE:   clssnmWaitForAcks: Ack message type(13), ackCount(0)
[    CSSD]2011-05-16 20:52:17.766 [1233791296] >TRACE:   clssnmCheckDskInfo: Checking disk info...
[    CSSD]2011-05-16 20:52:17.866 [2827470016] >USER:    NMEVENT_SUSPEND [00][00][00][00]
[    CSSD]2011-05-16 20:52:18.701 [1139382592] >TRACE:   clssnmReadDskHeartbeat: node(1) is down. rcfg(2) wrtcnt(220) LATS(1948804) Disk lastSeqNo(220)
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   clssnmCheckDskInfo: detected active cluster node 1
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >ERROR:   clssnmCheckDskInfo: Found cluster with node 1, state 3, incarn 2
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   clssscctx:  dump of 0x0x1ce80a80, len 3792
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80a80 30 81 06 ac aa 2a 00 00 - c0 08 00 ac aa 2a 00 00 0....*.......*..
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80a90 00 00 00 00 00 00 00 00 - d0 00 e8 1c 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80aa0 c0 9b e8 1c 00 00 00 00 - 40 1e e8 1c 00 00 00 00 ........@.......
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80ab0 00 00 70 00 00 00 00 00 - 80 0a e8 1c 00 00 00 00 ..p.............
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80ac0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80ad0 00 00 00 00 00 00 00 00 - 4d 61 69 6e 00 00 00 00 ........Main....
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80ae0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80af0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80b00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80b10 00 00 00 00 00 00 00 00 - 01 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80b20 68 68 8e a8 d9 2a 00 00 - b8 0a e8 1c 00 00 00 00 hh...*..........
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80b30 70 f9 40 00 00 00 00 00 - 00 00 00 00 00 00 00 00 p.@.............
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80b40 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80b50 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80b60 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80b70 00 00 00 00 00 00 00 00 - 10 b9 e9 1c 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80b80 60 10 ea 1c 00 00 00 00 - bc c8 0a 44 ef f0 d1 4d `..........D...M
[    CSSD]2011-05-16 20:52:18.767 [1233791296] >TRACE:   0x0x1ce80b90 01 00 00 00 01 00 02 00 - d0 bd ec 1c 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80ba0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80bb0 10 7c ec 1c 00 00 00 00 - e0 7c ec 1c 00 00 00 00 .|.......|......
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80bc0 00 08 00 00 59 00 00 00 - 00 00 00 00 00 00 00 00 ....Y...........
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80bd0 10 b0 aa aa aa 2a 00 00 - a0 7d ec 1c 00 00 00 00 .....*...}......
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80be0 b0 9d ec 1c 00 00 00 00 - 5a 00 00 00 00 00 00 00 ........Z.......
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80bf0 c0 ad ec 1c 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80c00 29 00 00 00 00 00 00 00 - e0 03 41 00 00 00 00 00 ).........A.....
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80c10 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80c20 00 00 00 00 00 00 00 00 - 80 db ef 1c 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80c30 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80c40 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
[    CSSD]2011-05-16 20:52:18.768 [1233791296] >TRACE:   0x0x1ce80c50 00 00 00 00 00 00 00 00 - 00 01 00 00 00 00 00 00 ................

省略几千行。。。。

[    CSSD]2011-05-16 20:52:18.796 [1233791296] >TRACE:   0x0x2aaaac003430 00 00 00                -                         ...
[    CSSD]2011-05-16 20:52:18.796 [1233791296] >TRACE:   clssscctx->nmctx->nmnode[002]->nodeData:  dump of 0x0x2aaaac15d310, len 65
[    CSSD]2011-05-16 20:52:18.796 [1233791296] >TRACE:   0x0x2aaaac15d310 28 41 44 44 52 45 53 53 - 3d 28 50 52 4f 54 4f 43 (ADDRESS=(PROTOC
[    CSSD]2011-05-16 20:52:18.796 [1233791296] >TRACE:   0x0x2aaaac15d320 4f 4c 3d 74 63 70 29 28 - 44 45 56 3d 31 38 29 28 OL=tcp)(DEV=18)(
[    CSSD]2011-05-16 20:52:18.796 [1233791296] >TRACE:   0x0x2aaaac15d330 48 4f 53 54 3d 31 39 32 - 2e 31 36 38 2e 31 34 2e HOST=192.168.14.
[    CSSD]2011-05-16 20:52:18.796 [1233791296] >TRACE:   0x0x2aaaac15d340 31 32 39 29 28 50 4f 52 - 54 3d 34 31 33 31 32 29 129)(PORT=41312)
[    CSSD]2011-05-16 20:52:18.796 [1233791296] >TRACE:   0x0x2aaaac15d350 29                      -                         )
[    CSSD]2011-05-16 20:52:18.796 [1233791296] >TRACE:   clssscctx->nmctx->nmnode[002]->con:  dump of 0x(nil), len 168


我怀疑是共享存储的问题,但是不知道怎么来解决,期待高人回答,非常感谢!
论坛徽章:
3
咸鸭蛋
日期:2011-09-05 15:46:51ITPUB十周年纪念徽章
日期:2011-11-01 16:25:512012新春纪念徽章
日期:2012-01-04 11:56:44
发表于 2011-5-17 14:14 | 显示全部楼层
用虚拟机安装的时候,要将共享存储单独放在一个文件夹下,而不是在每个虚拟机目录下存一个同名的.

使用道具 举报

回复
论坛徽章:
2
2011新春纪念徽章
日期:2011-02-18 11:43:34ITPUB十周年纪念徽章
日期:2011-11-01 16:24:04
 楼主| 发表于 2011-5-17 15:04 | 显示全部楼层
虚拟机的参数配置文件为:

scsi1:1.Share="TRUE"
disk.locking="FALSE"     
scsi1.SharedBus="Virtual"
scsi1.present = "TRUE"
scsi1.virtualDev = "lsilogic"
scsi1:1.present = "TRUE"
scsi1:1.mode = "independent-persistent"
scsi1:1.fileName = "D:\vmware\share_disk\sharedisk.vmdk"
scsi1:1.deviceType = "disk"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.DataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"

使用道具 举报

回复
论坛徽章:
0
发表于 2011-5-26 11:42 | 显示全部楼层
照着三思笔记一步步来吧,应该能成功,我刚搞定。

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 
京ICP备09055130号-4  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表