12
返回列表 发新帖
楼主: waymar

oracle11g R2 RAC for RHEL5 安装疑问

[复制链接]
论坛徽章:
0
11#
发表于 2010-1-22 19:40 | 只看该作者
学习!

使用道具 举报

回复
论坛徽章:
4
ITPUB9周年纪念徽章
日期:2010-10-08 09:28:522011新春纪念徽章
日期:2011-02-18 11:43:32ITPUB社区12周年站庆徽章
日期:2013-08-20 11:30:11路虎
日期:2013-09-05 15:36:31
12#
发表于 2010-5-18 17:52 | 只看该作者
恭喜Lz,我也遇到了和你这个差不多相同的问题,能说下处理的方法吗?

使用道具 举报

回复
论坛徽章:
0
13#
 楼主| 发表于 2010-7-7 13:12 | 只看该作者
直接使用操作系统字符设备即可,不用ASMLIB。

即在创建diskgroup时直接使用/dev/mapper/下的设备。

使用道具 举报

回复
论坛徽章:
48
马上加薪
日期:2014-02-19 11:55:142011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:41:502011新春纪念徽章
日期:2011-01-25 15:41:01ITPUB9周年纪念徽章
日期:2010-10-08 09:32:26ITPUB季度 技术新星
日期:2010-05-17 15:53:17数据库板块每日发贴之星
日期:2010-05-12 01:01:01数据库板块每日发贴之星
日期:2010-05-08 01:01:01数据库板块每日发贴之星
日期:2010-05-07 01:01:02数据库板块每日发贴之星
日期:2010-04-29 01:01:01
14#
发表于 2010-7-7 23:09 | 只看该作者
root.sh最后出错的话,多数是和ocr盘有关的。

这时可以检查client下的ocrconfig的log,查看有关的错误。

使用道具 举报

回复
论坛徽章:
2
2011新春纪念徽章
日期:2011-02-18 11:42:49ITPUB十周年纪念徽章
日期:2011-11-01 16:25:51
15#
发表于 2011-1-23 01:40 | 只看该作者
楼主,请看到我的回复后,回复下我的问题,我也遇到和你类似的问题,只是我安装的平台是在hp11.31上
我的信息如下:
节点一:
# ./root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/crs_home

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2011-01-22 21:54:08: Parsing the host name
2011-01-22 21:54:08: Checking for super user privileges
2011-01-22 21:54:08: User has super user privileges
Using configuration parameter file: /u01/app/crs_home/crs/install/crsconfig_params
Creating trace directory
stty: : Not a typewriter
/etc/profile[131]: test: Specify a parameter with this command.
/etc/profile[131]: test: Specify a parameter with this command.
.profile[14]: test: Specify a parameter with this command.
.profile[14]: test: Specify a parameter with this command.
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'sys'..
Operation successful.
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'hp01'
CRS-2672: Attempting to start 'ora.mdnsd' on 'hp01'
CRS-2676: Start of 'ora.gipcd' on 'hp01' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'hp01'
CRS-2676: Start of 'ora.gpnpd' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'hp01'
CRS-2676: Start of 'ora.cssdmonitor' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'hp01'
CRS-2672: Attempting to start 'ora.diskmon' on 'hp01'
CRS-2676: Start of 'ora.diskmon' on 'hp01' succeeded
CRS-2676: Start of 'ora.cssd' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'hp01'
CRS-2676: Start of 'ora.ctssd' on 'hp01' succeeded

ASM created and started successfully.

DiskGroup crs1 created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'sys'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'hp01'
CRS-2676: Start of 'ora.crsd' on 'hp01' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 008317b5d3cf4fb4bf63be660a4d81eb.
Successful addition of voting disk 798f0fd3e8654f50bfadd8562b3dc228.
Successful addition of voting disk 2bd4d6ccb7cd4fa8bf2da0a64c7dd8b5.
Successfully replaced voting disk group with +crs1.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
1. ONLINE   008317b5d3cf4fb4bf63be660a4d81eb (/dev/rdisk/ora_rac_6) [CRS1]
2. ONLINE   798f0fd3e8654f50bfadd8562b3dc228 (/dev/rdisk/ora_rac_7) [CRS1]
3. ONLINE   2bd4d6ccb7cd4fa8bf2da0a64c7dd8b5 (/dev/rdisk/ora_rac_8) [CRS1]
Located 3 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd' on 'hp01'
CRS-2677: Stop of 'ora.crsd' on 'hp01' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'hp01'
CRS-2677: Stop of 'ora.asm' on 'hp01' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'hp01'
CRS-2677: Stop of 'ora.ctssd' on 'hp01' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'hp01'
CRS-2677: Stop of 'ora.cssdmonitor' on 'hp01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'hp01'
CRS-2677: Stop of 'ora.cssd' on 'hp01' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'hp01'
CRS-2677: Stop of 'ora.gpnpd' on 'hp01' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'hp01'
CRS-2677: Stop of 'ora.gipcd' on 'hp01' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'hp01'
CRS-2677: Stop of 'ora.mdnsd' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.mdnsd' on 'hp01'
CRS-2676: Start of 'ora.mdnsd' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'hp01'
CRS-2676: Start of 'ora.gipcd' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'hp01'
CRS-2676: Start of 'ora.gpnpd' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'hp01'
CRS-2676: Start of 'ora.cssdmonitor' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'hp01'
CRS-2672: Attempting to start 'ora.diskmon' on 'hp01'
CRS-2676: Start of 'ora.diskmon' on 'hp01' succeeded
CRS-2676: Start of 'ora.cssd' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'hp01'
CRS-2676: Start of 'ora.ctssd' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'hp01'
CRS-2676: Start of 'ora.asm' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'hp01'
CRS-2676: Start of 'ora.crsd' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'hp01'
CRS-2676: Start of 'ora.evmd' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'hp01'
CRS-2676: Start of 'ora.asm' on 'hp01' succeeded
CRS-2672: Attempting to start 'ora.CRS1.dg' on 'hp01'
CRS-2676: Start of 'ora.CRS1.dg' on 'hp01' succeeded

hp01     2011/01/22 22:02:43     /u01/app/crs_home/cdata/hp01/backup_20110122_220243.olr
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 12288 MB    Passed
The inventory pointer is located at /var/opt/oracle/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
#

没有任何问题


节点2:
出现故障如下:

# ./root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/crs_home

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2011-01-22 22:04:48: Parsing the host name
2011-01-22 22:04:48: Checking for super user privileges
2011-01-22 22:04:48: User has super user privileges
Using configuration parameter file: /u01/app/crs_home/crs/install/crsconfig_params
Creating trace directory
stty: : Not a typewriter
/etc/profile[130]: test: Specify a parameter with this command.
/etc/profile[130]: test: Specify a parameter with this command.
.profile[14]: test: Specify a parameter with this command.
.profile[14]: test: Specify a parameter with this command.
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'sys'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'hp02'
CRS-2672: Attempting to start 'ora.mdnsd' on 'hp02'
CRS-2676: Start of 'ora.gipcd' on 'hp02' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'hp02' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'hp02'
CRS-2676: Start of 'ora.gpnpd' on 'hp02' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'hp02'
CRS-2676: Start of 'ora.cssdmonitor' on 'hp02' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'hp02'
CRS-2672: Attempting to start 'ora.diskmon' on 'hp02'
CRS-2676: Start of 'ora.diskmon' on 'hp02' succeeded
CRS-2676: Start of 'ora.cssd' on 'hp02' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'hp02'
CRS-2676: Start of 'ora.ctssd' on 'hp02' succeeded

DiskGroup crs1 creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/rdisk/ora_rac_8' matches no disks
ORA-15025: could not open disk '/dev/rdisk/ora_rac_8'
ORA-27041: unable to open file


Configuration of ASM failed, see logs for details
Did not succssfully configure and start ASM
CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/crs_home/bin/crsctl stop resource ora.crsd -init
Stop of resource "ora.crsd -init" failed
Failed to stop CRSD
CRS-2673: Attempting to stop 'ora.asm' on 'hp02'
CRS-2677: Stop of 'ora.asm' on 'hp02' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'hp02'
CRS-2677: Stop of 'ora.ctssd' on 'hp02' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'hp02'
CRS-2677: Stop of 'ora.cssdmonitor' on 'hp02' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'hp02'
CRS-2677: Stop of 'ora.cssd' on 'hp02' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'hp02'
CRS-2677: Stop of 'ora.gpnpd' on 'hp02' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'hp02'
CRS-2677: Stop of 'ora.gipcd' on 'hp02' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'hp02'
CRS-2677: Stop of 'ora.mdnsd' on 'hp02' succeeded
Initial cluster configuration failed.  See /u01/app/crs_home/cfgtoollogs/crsconfig/rootcrs_hp02.log for details
#

请问你是怎么解决的?谢谢

使用道具 举报

回复
论坛徽章:
2
2011新春纪念徽章
日期:2011-02-18 11:42:49ITPUB十周年纪念徽章
日期:2011-11-01 16:25:51
16#
发表于 2011-1-23 13:45 | 只看该作者
楼主,看到一定回个消息啊,我一直期待着,急~急~急!

使用道具 举报

回复
论坛徽章:
19
授权会员
日期:2005-10-30 17:05:33马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:11:522012新春纪念徽章
日期:2012-02-13 15:11:522012新春纪念徽章
日期:2012-02-13 15:11:522012新春纪念徽章
日期:2012-02-13 15:11:522012新春纪念徽章
日期:2012-02-13 15:11:52
17#
发表于 2011-2-18 17:13 | 只看该作者

回复 #15 38207299 的帖子

ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/rdisk/ora_rac_8' matches no disks
ORA-15025: could not open disk '/dev/rdisk/ora_rac_8'
ORA-27041: unable to open file

错误已经很明白了,节点2的磁盘映射配置文件有问题 或者是权限的问题
执行 "ls -l /dev/rdisk/ora_rac_8/*", 看看文件属主和组,正常情况下 这些文件的owner 应该是 grid 用户, Group是asmadmin.
还有,这些文件的权限应该是660.

使用道具 举报

回复
论坛徽章:
26
2009新春纪念徽章
日期:2009-01-04 14:52:28咸鸭蛋
日期:2011-11-13 14:16:262012新春纪念徽章
日期:2012-01-04 11:51:22紫蛋头
日期:2012-02-02 13:13:42玉石琵琶
日期:2012-02-21 15:04:38蛋疼蛋
日期:2012-03-09 08:25:45奥运纪念徽章
日期:2012-11-27 15:37:34复活蛋
日期:2012-12-07 13:05:172013年新春福章
日期:2013-02-25 14:51:242014年世界杯参赛球队:西班牙
日期:2014-06-26 12:03:53
18#
发表于 2011-3-31 20:58 | 只看该作者
问题解决了吗?

使用道具 举报

回复
论坛徽章:
26
2009新春纪念徽章
日期:2009-01-04 14:52:28咸鸭蛋
日期:2011-11-13 14:16:262012新春纪念徽章
日期:2012-01-04 11:51:22紫蛋头
日期:2012-02-02 13:13:42玉石琵琶
日期:2012-02-21 15:04:38蛋疼蛋
日期:2012-03-09 08:25:45奥运纪念徽章
日期:2012-11-27 15:37:34复活蛋
日期:2012-12-07 13:05:172013年新春福章
日期:2013-02-25 14:51:242014年世界杯参赛球队:西班牙
日期:2014-06-26 12:03:53
19#
发表于 2011-3-31 21:07 | 只看该作者
Oracle新技术/11gR2 » Step by Step Install Oracle 11gR2 RAC for AS5U3 64bit
http://www.itpub.net/viewthread.php?tid=1256518&pid=17480321

原帖由 old_bear 于 2010-1-8 17:06 发表
参考:Oracle专题深入讨论 [原创] Step by Step Install Oracle 11gR2 RAC for AS5U3 64bit

使用道具 举报

回复

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

本版积分规则 发表回复

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