單例項opatch出現RAC資訊

myhuaer發表於2016-02-24
當在單例項資料庫中opatch 發現出現RAC 資訊。如

Rac system comprising of multiple nodes
  Local node = rac1    
  Remote node = rac2
SO i updated the updateNodeList parameter like below, and the opatch apply went successful.

這種情況基本是這個單例項的軟體是從RAC 環境copy 過來的。所以會帶出RAC 資訊。


出現此狀況opatch apply 某個patch 時會報

[oracle@xxxxxxxxxxxxxxxxxxxxx]$ opatch apply
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation.  All rights reserved.
UtilSession failed: oracle/cluster/install/InstallException
Log file location: /oracle/product/11.2.0.3/XXXXXX/cfgtoollogs/opatch/opatch2013-04-25_02-37-35AM_1.log
OPatch failed with error code 73
The Stack Trace error shows the below error:

[Apr 25, 2013 2:37:38 AM]    OUI-67073:UtilSession failed: oracle/cluster/install/InstallException
[Apr 25, 2013 2:37:38 AM]    StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[Apr 25, 2013 2:37:38 AM]    StackTrace: java.lang.reflect.Method.invoke(Method.java:592)
[Apr 25, 2013 2:37:38 AM]    StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:322)
[Apr 25, 2013 2:37:38 AM]    StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2346)
[Apr 25, 2013 2:37:38 AM]    StackTrace: oracle.opatch.OPatch.main(OPatch.java:613)

這種情況下,需要將 /etc/oraInst.loc 中的invenory 路徑修改為已知的路徑,並執行
cd $ORACLE_HOME/oui/bin/
./runInstaller -silent -updateNodeList ORACLE_HOME=/u01/db/tech_st/11.2.0 "CLUSTER_NODES={newname}"

執行完成後就可以直接 opatch apply 了。





來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/34596/viewspace-1993838/,如需轉載,請註明出處,否則將追究法律責任。

相關文章