PRVF-4037 : CRS is not installed on any of the nodes

描述:公司要求替换centos,重新安装ORACLE LINUX + RAC的数据库做备库,到时候切换成主库,安装Linux7+GRID 19C + 11G Oracle,顺利安装grid 19c,安装11G数据库软件的时候检测报如题错误:**PRVF-4037 : CRS is not installed on any of the nodes**

执行更新节点前,查看/u01/app/oraInventory/ContentsXML/inventory.xml,确实少了节点信息:

[root@d2-cc-db108 ~]# cat /u01/app/oraInventory/ContentsXML/inventory.xml 
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2024, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>12.2.0.7.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OraGI19Home1" LOC="/u01/app/19.0.0/grid" TYPE="O" IDX="1" CRS="true"/>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>

查了MOS,几个建议都差不多,手动执行了给的解决方案

/u01/app/19.0.0/grid/oui/bin/runInstaller -silent -ignoreSysPrereqs -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES={d2-cc-db108,d2-cc-db109}" CRS=true
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 16191 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
You can find the log of this install session at:
 /u01/app/oraInventory/logs/UpdateNodeList2024-08-13_09-29-49AM.log
'UpdateNodeList' was successful.

执行更新节点后,查看/u01/app/oraInventory/ContentsXML/inventory.xml,多了节点信息:

cat /u01/app/oraInventory/ContentsXML/inventory.xml 
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2024, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>12.2.0.7.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OraGI19Home1" LOC="/u01/app/19.0.0/grid" TYPE="O" IDX="1" CRS="true">
   <NODE_LIST>
      <NODE NAME="d2-cc-db108"/>
      <NODE NAME="d2-cc-db109"/>
   </NODE_LIST>

</HOME>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>

点击图形化界面的“Check Again” 还是一样的,关闭窗口,在开启安装窗口,这个报错就没了

下面是MOS原文

RAC RDBMS Installation fails with Error:"PRVF-4037 : CRS is not installed on any of the nodes" (Doc ID 2315020.1)

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

RAC DB Installation fails with error:

INFO: Database Clusterware Version Compatibility: This test ensures that the Database version is compatible with the CRS version.
INFO: Severity:CRITICAL
INFO: OverallStatus:OPERATION_FAILED
INFO: -----------------------------------------------
INFO: Verification Result for Node:node1
WARNING: Result values are not available for this verification task
INFO: Error Message:PRVF-4037 : CRS is not installed on any of the nodes
INFO: Cause: Could not identify a CRS installation on any node.
INFO: Action: Ensure that CRS is installed on all the nodes participating in the operation.
INFO: All forked task are completed at state performChecks
INFO: Completed background operations
INFO: Moved to state

Cause

hostname for both name is FQDN.

Node1

$hostname node1.test.com


Node2

$ hostname node2.test.com


But Central Inventory (inventory.xml) shows that for GI Home CRS=TRUE is already enabled, but  the node name is not FQDN.

<HOME NAME="OraGI12Home1" LOC="/u01/app/grid/product/12.2.0.1" TYPE="O" IDX="1" CRS="true">
<NODE_LIST>
<NODE NAME="node1"/>
<NODE NAME="node2"/>

Solution

Update the Inventory to include the node name as FQDN:

e.g.

/u01/app/grid/product/12.2.0.1/grid/oui/bin/runInstaller -updateNodeList ORACLE_HOME="/u01/app/grid/product/12.2.0.1" "CLUSTER_NODES={node1.test.com,node2.test.com}" CRS=true
And retry the RAC DB Installation.

  • 8
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值