记录10.2.0.5下,RAC删节点遇到的两个怪问题

今天去做了个删节点的工作,遇到了2个怪问题,记录一下

1.在删除DBHOME时,在被删除的节点上运行runInstaller报OUI-25023

[oracle@racdb2:/oracle/app/oracle/product/10.2/db_1/oui/bin]$ ./runInstaller -updateNodeList ORACLE_HOME=/oracle/app/oracle/product/10.2/db_1 "CLUSTER_NODES={racdb2}" -local
Starting Oracle Universal Installer...

No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /oracle/oraInventory
'UpdateNodeList' failed.

-- 查看日志如下:
INFO: Setting variable 'LOCAL_NODE' to 'racdb1'. Received the value from a code block.
SEVERE: OUI-25023: The local node is not selected for installing this product. Include the local node in the cluster list or perform the installation on the nodes on which the install is to be performed.
INFO: Ending the inventory Session
INFO: Disposing the install area control objects
INFO: 'UpdateNodeList' failed.

-- 使用truss跟踪,发现读取了$ORACLE_HOME/inventory/ContentsXML下的oraclehomeproperties.xml文件
-- 被删除的节点名为racdb2,而这个文件中,LOCAL_NODE的名称为racdb1
-- 将其修正后,运行OK
[oracle@racdb2:/oracle/app/oracle/product/10.2/db_1/inventory/ContentsXML]$ cat oraclehomeproperties.xml
"oraclehomeproperties.xml" 18 lines, 551 characters

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部