广告
返回顶部
首页 > 资讯 > 数据库 >oracle 11g rac安装之grid报错解决
  • 955
分享到

oracle 11g rac安装之grid报错解决

2024-04-02 19:04:59 955人浏览 安东尼
摘要

1.在rac2节点使用oracleasm找不到共享磁盘[root@rac2 ~]# oracleasm scandisks       

1.在rac2节点使用oracleasm找不到共享磁盘

[root@rac2 ~]# oracleasm scandisks        
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@rac2 ~]#


解决方法:

   是因为在rac1节点格式化磁盘没有使用partprobe命令,分区没有生效

在rac1执行:

[root@rac1 ~]# partprobe

在rac2执行:

[root@rac2 ~]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "VOL04"
Instantiating disk "VOL03"
Instantiating disk "VOL01"
Instantiating disk "VOL02"
[root@rac2 ~]# /usr/sbin/oracleasm listdisks
VOL01
VOL02
VOL03
VOL04
[root@rac2 ~]#


2.安装grid集群软件时出现ORACLE_HOME和ORACLE_BASE目录不对

错误提示:

INS-32026]The Software Location specified should not be under Oracle base location.
   CAUSE: Grid Infrastructure for a Cluster installation will assign root ownership to all parent directories of clusterware software location. As a result, all named directories in the software location path will acquire root ownership. This may create problems for subsequent installations into the same Oracle base.
   ACTION: Specify software location outside of Oracle base


解决方法:

我当前目录是:ORACLE_BASE=/home/grid

       ORACLE_HOME=/home/grid/11.2.0/grid


这样目录是不正确的,因为ORACLE_BASE和ORACLE_HOME目录要分开,ORACLE_BASE安装好后是有root权限的,而ORACLE_HOME则没有.

这样才对:ORACLE_BASE=/home/grid/app

      ORACLE_HOME=/home/grid/11.2.0/grid


3.在安装grid到最后一步出错误,是因为scan的IP问题补占用了

oracle 11g rac安装之grid报错解决

日志:

INFO: All nodes have same "hosts" entry defined in file "/etc/nsswitch.conf"

INFO: Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passed

INFO: ERROR:

INFO: PRVG-1101 : SCAN name "scan-cluster" failed to resolve

INFO: ERROR:

INFO: PRVF-4657 : Name resolution setup check for "scan-cluster" (IP address: 192.168.3.155) failed

INFO: ERROR:

INFO: PRVF-4664 : Found inconsistent name resolution entries for SCAN name "scan-cluster"

INFO: Verification of SCAN VIP and Listener setup failed

INFO: Checking OLR integrity...

INFO: Checking OLR config file...

INFO: OLR config file check successful

INFO: Checking OLR file attributes...

INFO: OLR file check successful


解决方法:

(1).直接跳过不影响

(2),修改系统的nslookup二进制文件(Http://www.ithao123.cn/content-1094742.html)


4.crs无法共享磁盘通信

错误信息:

CRS-0184: Cannot communicate with the CRS daemon.


日志信息:

2016-09-16 09:20:45.508: [   CRSPE][1175734592]{1:19372:2} Reading (12) resources

2016-09-16 09:20:45.510: [   CRSPE][1175734592]{1:19372:2} Reading (15) types

2016-09-16 09:20:46.087: [   CRSPE][1175734592]{1:19372:2} Reading (2) server pools

2016-09-16 09:20:48.321: [  OCRRAW][1171532096]proprseterror: Error in accessing physical storage [26] Marking context invalid.

2016-09-16 09:20:48.321: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_ctx_tag=PROPCTXT

2016-09-16 09:20:48.325: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_valid=0

2016-09-16 09:20:48.325: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_boot_mode=1


解决方法:

  这是共享磁盘的问题,我是用iscsi做的共享,查看了下asm只能挂载自己在磁盘组,将共享磁盘换成虚拟机自带的磁盘共享就解决了.

您可能感兴趣的文档:

--结束END--

本文标题: oracle 11g rac安装之grid报错解决

本文链接: https://www.lsjlt.com/news/44315.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作