INS-35354 not part of a valid cluster

举报
Lucifer三思而后行 发表于 2021/10/28 10:48:34 2021/10/28
【摘要】 **可参考MOS文档:Top 11gR2 RAC Installation Issues (Doc ID 1372375.1)    **静默安装GRID软件之后,安装ORACLE软件时报错 INS-35354**。**报错如下:Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-04-22_11-4...

**可参考MOS文档:Top 11gR2 RAC Installation Issues (Doc ID 1372375.1)    **

静默安装GRID软件之后,安装ORACLE软件时报错 INS-35354**。**

报错如下:

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-04-22_11-44-09PM. 
Please wait ...
[FATAL] [INS-35354] The system on which you are attempting to install Oracle RAC is not part of a valid cluster.
   CAUSE: Before you can install Oracle RAC, you must install Oracle Grid Infrastructure on all servers (Oracle Clusterware and Oracle ASM) to create a cluster.
   ACTION: Oracle Grid Infrastructure is not installed. Install it either from the separate installation media included in your media pack, or install it by downloading it from Electronic Product Delivery (EPD) or the Oracle Technology Network (OTN). Oracle Grid Infrastructure normally is installed by a different operating system user than the one used for Oracle Database. It may need to be installed by your system administrator. See the installation guide for more details.

原因:

由于在静默安装grid软件时,没有执行最后一步的脚本:

Execute Root Scripts successful.
As install user, execute the following script to complete the configuration.
	1. /u01/app/11.2.0/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE=<response_file>

导致 /u01/app/oraInventory/ContentsXML/inventory.xml 文件中缺失了:CRS=“true”。

[root@lucifer01 ContentsXML]# cat inventory.xml 
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>11.2.0.4.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="Ora11g_gridinfrahome1" LOC="/u01/app/11.2.0/grid" TYPE="O" IDX="1">
   <NODE_LIST>
      <NODE NAME="lucifer01"/>
      <NODE NAME="lucifer02"/>
   </NODE_LIST>
</HOME>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>

重新执行脚本:

cat <<EOF >>/home/grid/cfgrsp.propertiesc
oracle.assistants.asm|S_ASMPASSWORD=oracle
oracle.assistants.asm|S_ASMMONITORPASSWORD=oracle
EOF

su - grid -c "$ENV_GRID_HOME/cfgtoollogs/configToolAllCommands RESPONSE_FILE=/home/grid/cfgrsp.properties"

再次查看inventory.xml文件,已经增加 CRS=“true”:

[root@lucifer01 ContentsXML]# cat inventory.xml 
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>11.2.0.4.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="Ora11g_gridinfrahome1" LOC="/u01/app/11.2.0/grid" TYPE="O" IDX="1" CRS="true">
   <NODE_LIST>
      <NODE NAME="lucifer01"/>
      <NODE NAME="lucifer02"/>
   </NODE_LIST>
</HOME>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>

再次执行Oracle安装,不再报错。

【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。