博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle 11g RAC Installer 故障之--数据库软件安装无法发现集群
阅读量:7188 次
发布时间:2019-06-29

本文共 2116 字,大约阅读时间需要 7 分钟。

错误案例:

GRID进程启动正常,CRS资源全部online;但在安装Oracle 数据库软件时,不能发现集群环境!

解决方法:


Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.2 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 11-Mar-2013***

Goal

A few Oracle clusterware/database utilities depend on "CRS=true" flag in central inventory to determine which is current clusterware home, if the flag is not set or set on wrong home, those utilities will fail. "CRS=true" is allowed to be only on active clusterware home(in upgraded case) as there can be only one active clusterware home per node.

Even the behaviour has changed in latest version of 11gR2 Grid Infrastructure, due to a few known issues, the flag is still needed as a workaround in some case- refer to 
 for one known issue.

This note provides instructions to update the flag in central inventory.

Fix

OUI option -updateNodeList can be used to set/unset the flag.

To set the flag on a three-node RAC cluster on UNIX:

On node1 as clusterware user:

/ocw/grid/oui/bin/runInstaller -updateNodeList ORACLE_HOME="/ocw/grid" CRS=true

## ==> /ocw/grid is current clusterware home

To unset the flag on a three-node RAC cluster on Windows:
On node1 as clusterware user:

d:\ocw\crs\oui\bin\setup -updateNodeList ORACLE_HOME="d:\ocw\crs" CRS=false
## ==> /ocw/crs is pre-upgrade clusterware home but the flag is still there

To confirm the changes, review inventory.xml in central inventory.

Central inventory location is defined by parameter inventory_loc in /etc/oraInst.loc, /var/opt/oracle/oraInst.loc or Windows Registry depend on platform.


Example on Linux:

$ cat /etc/oraInst.loc | grep inventory_loc

inventory_loc=/home/grid/oraInventory
$ cat /home/grid/oraInventory/ContentsXML/inventory.xml
..
<HOME NAME="Ora11g_gridinfrahome1" LOC="/ocw/grid" TYPE="O" IDX="4" CRS="true">

  <NODE_LIST>
     <NODE NAME="racnode1"/>
     <NODE NAME="racnode2"/>
     <NODE NAME="racnode3"/>
  </NODE_LIST>
</HOME>
..

Note: inventory.xml must not be modified manually to avoid inventory corruption.

本文转自 客居天涯 51CTO博客,原文链接:http://blog.51cto.com/tiany/1410396,如需转载请自行联系原作者
你可能感兴趣的文章
XSS攻击简单了解
查看>>
高性能的I/O设计中 著名的模式Reactor和Proactor模式
查看>>
XDOC合同填报解决方案
查看>>
git迁移
查看>>
Ubuntu 安装JDK6
查看>>
C++前置声明
查看>>
dbcp基本配置和重连配置
查看>>
用fgetc()函数读取磁盘文件并打印到屏幕
查看>>
Golang、python中统计字母,数字、汉字其他的个数。
查看>>
greenRobot的EventBus
查看>>
select2的基本应用
查看>>
PHP面试时经常出现的小算法题
查看>>
使用strace+pstack利器分析程序性能
查看>>
关于Cadence中电源及地的处理
查看>>
cordova 环境搭建
查看>>
json所需包
查看>>
Android中ContentProvider和Uri用法
查看>>
.Net Core 简单定时任务框架封装
查看>>
php curl 的几个常用实例
查看>>
Xcache缓存器的介绍、使用及配置
查看>>