Oracle 10g RAC Installer 故障之--Oracle軟體安裝無法發現叢集

來源:互聯網
上載者:User

標籤:oracle

Oracle 10g RAC Installer 故障之--Oracle軟體安裝無法發現叢集

系統內容:

作業系統: AIX 5300-08

叢集軟體: CRS 10.2.0.1

資料庫:   Oracle 10.2.0.1

一、故障現象

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/53/7F/wKioL1RpcUHSbh9YAAHA2NM5OeA678.jpg" title="rac3.png" alt="wKioL1RpcUHSbh9YAAHA2NM5OeA678.jpg" />

       在安裝CRS後,安裝Oracle軟體時失敗,重新安裝,刪除了/u01/app/oracle下所有的目錄,導致Oracle再次安裝時不能識別叢集環境。

查看Oracle軟體安裝索引目錄:/u01/app/oracle/oraInventory,已經非CRS的叢集環境了。

[[email protected]:/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>

正常的安裝索引目錄應該是:

[[email protected] app]#cd oracle/[[email protected] oracle]#lsadmin         oraInventory  oradata       product[[email protected] oracle]#cd oraInventory/[[email protected] oraInventory]#lsContents                 logs                     orainstRoot.shContentsXML              oraInst.loc              ouiinstall.platform         oraInstaller.properties  sessionContext.ser[[email protected] oraInventory]#cd ContentsXML/[[email protected] ContentsXML]#lscomps.xml      inventory.xml  libs.xml[[email protected] 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>

二、解決方案

在一個安裝好CRS軟體的主機上(aix211),將aix211主機的 inventory.xml檔案上傳到aix211主機,替代原來的inventory.xml檔案

1、通過ftp上傳:[[email protected] ContentsXML]#pwd                 /u01/app/oracle/oraInventory/ContentsXML[[email protected] ContentsXML]#lscomps.xml      inventory.xml  libs.xml[[email protected] ContentsXML]#ftp 192.168.8.227Connected 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[[email protected] ContentsXML]#[[email protected] ContentsXML]#[[email protected] ContentsXML]#su - oracle[YOU HAVE NEW MAIL][[email protected] W]$bash[[email protected] ~]$cd /u01/app/oracle/oraInventory/[[email protected] oraInventory]$lsContents                 logs                     orainstRoot.shContentsXML              oraInst.loc              ouiinstall.platform         oraInstaller.properties  sessionContext.ser[[email protected] oraInventory]$cd ContentsXML/[[email protected] ContentsXML]$lscomps.xml      inventory.xml  libs.xml[[email protected] ContentsXML]$pwd/u01/app/oracle/oraInventory/ContentsXML[[email protected] ContentsXML]$ftp 192.168.8.227Connected 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): oracle331 Password required for oracle.Password:230-Last login: Mon Nov 17 10:36:38 2014 on /dev/pts/2 from 192.168.8.248230 User oracle logged in.ftp> bin200 Type set to I.ftp> put inventory.xml200 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.xmlftp> 覆蓋以前的inventory.xml:[[email protected]:/home/oracle]$ls -ltotal 8-rw-r-----    1 oracle   oinstall        666 Nov 17 10:45 inventory.xml[[email protected]:/home/oracle]$cp inventory.xml /u01/app/oracle/oraInventory/ContentsXML[[email protected]:/home/oracle]$cd /u01/app/oracle/oraInventory/ContentsXML[[email protected]:/u01/app/oracle/oraInventory/ContentsXML]$ls comps.xml      inventory.xml  libs.xml[[email protected]:/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>

更新inventory.xml 中node的資訊(將aix211,aix212更新為aix227,aix228)

   《注意更新命令在圖形介面下執行》

執行更新命令:[[email protected]:/u01/database/Disk1]$/u01/crs_1/oui/bin/runInstaller -updateNOdeList CLUSTER_NODES=‘aix227,aix228‘ ORACLE_HOME=‘/u01/crs_1‘Starting Oracle Universal Installer...No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.‘UpdateNodeList‘ was successful.更新成功:[[email protected]:/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="aix227"/>      <NODE NAME="aix228"/>   </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>[[email protected]:/u01/database/Disk1]$/u01/crs_1/oui/bin/runInstaller -updateNOdeList CLUSTER_NODES=‘aix227,aix228‘ ORACLE_HOME=‘/u01/app/oracle/product/10.2.0/db_1‘Starting Oracle Universal Installer...No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.‘UpdateNodeList‘ was successful.[[email protected]:/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="aix227"/>      <NODE NAME="aix228"/>   </NODE_LIST></HOME><HOME NAME="OUIHome2" LOC="/u01/app/oracle/product/10.2.0/db_1" TYPE="O" IDX="2">   <NODE_LIST>      <NODE NAME="aix227"/>      <NODE NAME="aix228"/>   </NODE_LIST></HOME></HOME_LIST></INVENTORY>

更新錯誤資訊:

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/53/81/wKiom1Rpc5LAycV6AAZzpUW6sgA267.jpg" title="rac1.png" alt="wKiom1Rpc5LAycV6AAZzpUW6sgA267.jpg" />


三、重新安裝Oracle軟體

[[email protected]:/u01/database/Disk1/rootpre]$su -root‘s Password:readline: warning: turning on OPOST for terminalreadline: warning: turning on OPOST for terminal[[email protected]:/]#cd /u01/database/Disk1/rootpre/[[email protected]:/u01/database/Disk1/rootpre]#./rootpre.sh ./rootpre.sh output will be logged in /tmp/rootpre.out_14-11-17.10:58:29Kernel extension /etc/pw-syscall.64bit_kernel is loaded.Unloading the existing extension: /etc/pw-syscall.64bit_kernel.... Oracle Kernel Extension Loader for AIX        Copyright (c) 1998,1999 Oracle Corporation  Unconfigured the kernel extension successfully Unloaded the kernel extension successfullySaving the original files in /etc/ora_save_14-11-17.10:58:29....Copying new kernel extension to /etc....Loading the kernel extension from /etc Oracle Kernel Extension Loader for AIX        Copyright (c) 1998,1999 Oracle Corporation  Successfully loaded /etc/pw-syscall.64bit_kernel with kmid: 0x41f8b00 Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x41f8b00The kernel extension was successfuly loaded.Configuring Asynchronous I/O....Asynchronous I/O is already definedConfiguring POSIX Asynchronous I/O....Posix Asynchronous I/O is already definedChecking if group services should be configured....Please confirm your Oracle userid is a member of the group: hagsuserConfiguring HACMP group services socket for possible use by Oracle.cp: /opt/ORCLcluster/lib/libskgxnr.a: Text file busycp: /opt/ORCLcluster/lib/libskgxnr.so: Text file busycp: /opt/ORCLcluster/lib32/libskgxnr.so: Text file busy

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/53/7F/wKioL1RpdHXD34HTAAXDi64KwZQ598.jpg" title="r2.png" alt="wKioL1RpdHXD34HTAAXDi64KwZQ598.jpg" />

@至此,已經能正常識別為叢集環境



本文出自 “天涯客的blog” 部落格,請務必保留此出處http://tiany.blog.51cto.com/513694/1577353

Oracle 10g RAC Installer 故障之--Oracle軟體安裝無法發現叢集

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.