您好,欢迎访问一九零五行业门户网

Oracle10gRACInstaller故障之--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://www.68idc.cn/help/uploads/allimg/151209/115222i24-
oracle 10g rac installer 故障之--oracle软件安装无法发现集群
系统环境:
操作系统: aix 5300-08
集群软件: crs 10.2.0.1
数据库:   oracle 10.2.0.1
一、故障现象
650) this.width=650; src=http://www.68idc.cn/help/uploads/allimg/151209/115222i24-0.jpg title=rac3.png alt=wkiol1rpcuhsbh9yaaha2nm5oea678.jpg>
       在安装crs后,安装oracle软件时失败,重新安装,删除了/u01/app/oracle下所有的目录,导致oracle再次安装时不能识别集群环境。
查看oracle软件安装索引目录:/u01/app/oracle/orainventory,已经非crs的集群环境了。
[root@aix227:/u01/app/oracle/orainventory/contentsxml]#vi inventory.xml inventory.xml 12 lines, 409 characters 10.2.0.1.0 2.1.0.6.0
正常的安装索引目录应该是:
[root@aix211 app]#cd oracle/[root@aix211 oracle]#lsadmin orainventory oradata product[root@aix211 oracle]#cd orainventory/[root@aix211 orainventory]#lscontents logs orainstroot.shcontentsxml orainst.loc ouiinstall.platform orainstaller.properties sessioncontext.ser[root@aix211 orainventory]#cd contentsxml/[root@aix211 contentsxml]#lscomps.xml inventory.xml libs.xml[root@aix211 contentsxml]#more inventory.xml 10.2.0.1.0 2.1.0.6.0
二、解决方法
在一个安装好crs软件的主机上(aix211),将aix211主机的 inventory.xml文件上传到aix211主机,替代原来的inventory.xml文件
1、通过ftp上传:[root@aix211 contentsxml]#pwd /u01/app/oracle/orainventory/contentsxml[root@aix211 contentsxml]#lscomps.xml inventory.xml libs.xml[root@aix211 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[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]$lscontents logs orainstroot.shcontentsxml orainst.loc ouiinstall.platform orainstaller.properties sessioncontext.ser[oracle@aix211 orainventory]$cd contentsxml/[oracle@aix211 contentsxml]$lscomps.xml inventory.xml libs.xml[oracle@aix211 contentsxml]$pwd/u01/app/oracle/orainventory/contentsxml[oracle@aix211 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:[oracle@aix227:/home/oracle]$ls -ltotal 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 10.2.0.1.0 2.1.0.6.0
更新inventory.xml 中node的信息(将aix211,aix212更新为aix227,aix228):
《注意更新命令在图形界面下执行》
执行更新命令:[oracle@aix227:/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.更新成功:[oracle@aix227:/u01/app/oracle/orainventory/contentsxml]$more inventory.xml 10.2.0.1.0 2.1.0.6.0 [oracle@aix227:/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.[oracle@aix227:/u01/app/oracle/orainventory/contentsxml]$more inventory.xml 10.2.0.1.0 2.1.0.6.0
更新错误信息:
650) this.width=650; src=http://www.68idc.cn/help/uploads/allimg/151209/1152221591-1.jpg title=rac1.png alt=wkiom1rpc5laycv6aazzpuw6sga267.jpg />
三、重新安装oracle软件
[oracle@aix227:/u01/database/disk1/rootpre]$su -root's password:readline: warning: turning on opost for terminalreadline: warning: turning on opost for terminal[root@aix227:/]#cd /u01/database/disk1/rootpre/[root@aix227:/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://www.68idc.cn/help/uploads/allimg/151209/115222mh-2.jpg title=r2.png alt=wkiol1rpdhxd34htaaxdi64kwzq598.jpg>
@至此,已经能正常识别为集群环境
其它类似信息

推荐信息