您的位置:首页 > 数据库 > Oracle

Oracle 10g RAC Installer 故障之--Oracle软件安装无法发现集群

2015-03-31 12:10 363 查看
Oracle 10g RAC Installer 故障之--Oracle软件安装无法发现集群系统环境:操作系统: AIX 5300-08集群软件: CRS 10.2.0.1数据库:   Oracle 10.2.0.1
一、故障现象



       在安装CRS后,安装Oracle软件时失败,重新安装,删除了/u01/app/oracle下所有的目录,导致Oracle再次安装时不能识别集群环境。
查看Oracle软件安装索引目录:/u01/app/oracle/oraInventory,已经非CRS的集群环境了。
[code=cpp;toolbar:false">[root@aix227:/u01/app/oracle/oraInventory/ContentsXML]#vi inventory.xml 
"inventory.xml" 12 lines, 409 characters 
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 2005 Oracle Corporation. All rights Reserved -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>10.2.0.1.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OUIHome1" LOC="/u01/app/oracle/product/10.2.0/db_1" TYPE="O" IDX="1"/>
</HOME_LIST>
</INVENTORY>1、通过ftp上传:
[root@aix211 ContentsXML]#pwd                 
/u01/app/oracle/oraInventory/ContentsXML
[root@aix211 ContentsXML]#ls
comps.xml      inventory.xml  libs.xml
[root@aix211 ContentsXML]#ftp 192.168.8.227
Connected to 192.168.8.227.
220 aix227 FTP server (Version 4.2 Sat Sep 8 09:49:58 CDT 2007) ready.
Name (192.168.8.227:root): ^C[root@aix211 ContentsXML]#
[root@aix211 ContentsXML]#
[root@aix211 ContentsXML]#su - oracle
[YOU HAVE NEW MAIL]
[u@h W]$bash
[oracle@aix211 ~]$cd /u01/app/oracle/oraInventory/
[oracle@aix211 oraInventory]$ls
Contents                 logs                     orainstRoot.sh
ContentsXML              oraInst.loc              oui
install.platform         oraInstaller.properties  sessionContext.ser
[oracle@aix211 oraInventory]$cd ContentsXML/
[oracle@aix211 ContentsXML]$ls
comps.xml      inventory.xml  libs.xml
[oracle@aix211 ContentsXML]$pwd
/u01/app/oracle/oraInventory/ContentsXML
[oracle@aix211 ContentsXML]$ftp 192.168.8.227
Connected to 192.168.8.227.
220 aix227 FTP server (Version 4.2 Sat Sep 8 09:49:58 CDT 2007) ready.
Name (192.168.8.227:root): oracle
331 Password required for oracle.
Password:
230-Last login: Mon Nov 17 10:36:38 2014 on /dev/pts/2 from 192.168.8.248
230 User oracle logged in.
ftp> bin
200 Type set to I.
ftp> put inventory.xml
200 PORT command successful.
150 Opening data connection for inventory.xml.
226 Transfer complete.
666 bytes sent in 0.001007 seconds (645.9 Kbytes/s)
local: inventory.xml remote: inventory.xml
ftp> 

覆盖以前的inventory.xml:
[oracle@aix227:/home/oracle]$ls -l
total 8
-rw-r-----    1 oracle   oinstall        666 Nov 17 10:45 inventory.xml
[oracle@aix227:/home/oracle]$cp inventory.xml /u01/app/oracle/oraInventory/ContentsXML
[oracle@aix227:/home/oracle]$cd /u01/app/oracle/oraInventory/ContentsXML
[oracle@aix227:/u01/app/oracle/oraInventory/ContentsXML]$ls 
comps.xml      inventory.xml  libs.xml
[oracle@aix227:/u01/app/oracle/oraInventory/ContentsXML]$more inventory.xml 
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 2005 Oracle Corporation. All rights Reserved -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>10.2.0.1.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OUIHome1" LOC="/u01/crs_1" TYPE="O" IDX="1" CRS="true">
   <NODE_LIST>
      <NODE NAME="aix211"/>
      <NODE NAME="aix212"/>
   </NODE_LIST>
</HOME>
<HOME NAME="OUIHome2" LOC="/u01/app/oracle/product/10.2.0/db_1" TYPE="O" IDX="2">
   <NODE_LIST>
      <NODE NAME="aix211"/>
      <NODE NAME="aix212"/>
   </NODE_LIST>
</HOME>
</HOME_LIST>
</INVENTORY>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: