Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

351

积分

0

好友

8

主题
1#
发表于 2012-4-19 21:51:36 | 查看: 6696| 回复: 4
./runInstaller -updateNodeList CLUSTER_NODES={"Node1","Node2"} ORACLE_HOME=$ORACLE_HOME -local现在有下面三个目录文件:

1.<central inventory location>/ContentsXML/inventory.xml

2.$ORACLE_HOME/inventory/ContentsXML/oraclehomeproperties.xml

3.$CRS_HOME/inventory/ContentsXML/oraclehomeproperties.xml

那么上面这条语句是更新哪个文件呢?我个人觉得是更新了1和2,因为指定了ORACLE_HOME=$ORACLE_HOME,如果没有指定ORACLE_HOME=$ORACLE_HOME则应该更新1,2和3,不知道我的理解对不?另外这里的-local是更新本地节点,假如没有加-local是不是会更新所有节点呢?

[ 本帖最后由 gdpr-dba 于 2012-4-19 21:59 编辑 ]
2#
发表于 2012-4-19 21:55:17
看得一头雾水

回复 只看该作者 道具 举报

3#
发表于 2012-4-19 21:59:11
原帖由 maclean 于 2012-4-19 21:55 发表
看得一头雾水

不好意思,我发帖的时候排版是正常,但是发完格式就乱了,我重新编辑了一下,谢谢。

回复 只看该作者 道具 举报

4#
发表于 2012-4-19 23:30:19
From the inventory.xml, we see that the HOME NAME line is missing the CRS="true" flag.

The error INS-35354 will occur when the central inventory entry for the Grid Infrastructure
home is missing the flag that identifies it as CRS-type home.
Solution
Use the -updateNodeList option for the installer command to fix the the inventory.



This issue may be caused by corrupted binary inventory. The $ORACLE_HOME/inventory/ContentsXML/oraclehomeproperties.xml in the remote nodes does not get updated with the correct local node information.
  For example,
  On local node:

<CLUSTER_INFO>
<LOCAL_NODE NAME="rac1"/> ====>correct
<NODE_LIST>
<NODE NAME="rac1"/>
<NODE NAME="rac2"/>
</NODE_LIST>
</CLUSTER_INFO>


  On remote node:
  <CLUSTER_INFO>
<LOCAL_NODE NAME="rac1"/> ====>incorrect, it should be rac2.
<NODE_LIST>
<NODE NAME="rac1"/>
<NODE NAME="rac2"/>
</NODE_LIST>
</CLUSTER_INFO>



Solution
Note: Manually editing inventory files is not supported!

To implement the solution, please execute the following steps:

    1. Backup the $ORACLE_HOME/inventory/ContentsXML/oraclehomeproperties.xml on remote node.

2. Run the following command on the remote node:

  ./runInstaller -updateNodeList -local ORACLE_HOME=/u01/app/oracle/product/10gR2/crs "CLUSTER_NODES={node1,node2}" LOCAL_NODE=node2 ORACLE_HOME_NAME="OraCrs10g_home1"
==>Please change above path, node name and home name to your actual value.

3. Check whether the Opatch lsinventory output is correct:



就MOS 描述来看 updateNodeList  会更新 inventory.xml 和  oraclehomeproperties.xml ,CRS 或 RDBMS HOME下的 oraclehomeproperties.xml 均有可能, 受到实际环境变量的影响。

回复 只看该作者 道具 举报

5#
发表于 2012-4-19 23:31:14

回复 只看该作者 道具 举报

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

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-11-15 16:01 , Processed in 0.074063 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569