时间:2021-07-01 10:21:17 帮助过:33人阅读
Clusterware 安装正常,但安装Oracle 软件的时候,runInstaller 看不到节点信息: [grid@rac1 bin]$ crs_stat -tName Type Target State Host------------------------------------------------------------ora....N1.lsnr ora....er.type ONLINE ONLINE rac
Clusterware 安装正常,但安装Oracle 软件的时候,runInstaller 看不到节点信息:
[grid@rac1 bin]$ crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora....N1.lsnr ora....er.type ONLINE ONLINE rac1 ora.OCR.dg ora....up.type ONLINE ONLINE rac1 ora.asm ora.asm.type ONLINE ONLINE rac1 ora.cvu ora.cvu.type ONLINE ONLINE rac2 ora.gsd ora.gsd.type OFFLINE OFFLINE ora....network ora....rk.type ONLINE ONLINE rac1 ora.oc4j ora.oc4j.type ONLINE ONLINE rac2 ora.ons ora.ons.type ONLINE ONLINE rac1 ora....SM1.asm application ONLINE ONLINE rac1 ora.rac1.gsd application OFFLINE OFFLINE ora.rac1.ons application ONLINE ONLINE rac1 ora.rac1.vip ora....t1.type ONLINE ONLINE rac1 ora....SM2.asm application ONLINE ONLINE rac2 ora.rac2.gsd application OFFLINE OFFLINE ora.rac2.ons application ONLINE ONLINE rac2 ora.rac2.vip ora....t1.type ONLINE ONLINE rac2 ora....ry.acfs ora....fs.type ONLINE ONLINE rac1 ora.scan1.vip ora....ip.type ONLINE ONLINE rac1 [grid@rac1 bin]$
导致这种现象的原因是因为Clusterware 的Inventory信息不准确,重新更新一下即可。
解决方法:
切到GRID用户,进入$ORACLE_HOME/bin
[grid@rac1 bin]$ pwd /u01/gridsoft/11.2.0/oui/bin [grid@rac1 bin]$ ls addLangs.sh attachHome.sh filesList.bat filesList.sh resource runInstaller runSSHSetup.sh addNode.sh detachHome.sh filesList.properties lsnodes runConfig.sh runInstaller.sh [grid@rac1 bin]$ --更新inventory: [grid@rac1 bin]$ ./runInstaller -silent -ignoreSysPrereqs -updateNodeList ORACLE_HOME="/u01/gridsoft/11.2.0" LOCAL_NODE="rac1" CLUSTER_NODES="{rac1,rac2}" CRS=true Starting Oracle Universal Installer... Checking swap space: must be greater than500 MB. Actual 15999 MB Passed The inventory pointer is located at/etc/oraInst.loc The inventory is located at/u01/oraInventory 'UpdateNodeList' was successful.
恢复正常。