由于之前升级GI过程没成功,手动介绍了,本以为删除升级过程创建的新目录就OK了,没想到再次升级执行到第一步就报错
[INS-40406] The installer detects no existing Oracle Grid Infrastructure software on the system.
Cause - The installer was unable to detect any existing Oracle Clusterware or Oracle ASM installation to upgrade. Action - You can choose either to install a new Oracle Grid Infrastructure installation (Oracle Clusterware and Oracle ASM) on this node, and add the node to an existing cluster, or you can install a new Oracle Grid Infrastructure installation and make the node part of a new cluster. If you want to add the node to an existing cluster, then review Oracle Clusterware Administration and Deployment Guide and follow the add node procedure. If you want to create a new cluster, then select the option for a new installation.
安装程序未检测到任何要升级的现有 Oracle Clusterware 或 Oracle ASM 安装。这就奇怪了,如是检查配置文件
$ cat /etc/oraInst.loc
inventory_loc=/app/grid/oraInventory
inst_group=oinstall
如是进入该目录
$ cd /app/grid/oraInventory/ContentsXML/
查看 inventory.xml 文件,发现之前升级过程已修改了这个文件
# cat inventory.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2011, Oracle. All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
11.2.0.3.0
2.1.0.6.0
如是删除后面那段多余的,并把上面grid1 后面加上CRS="true",还有上面的改回11.2.0.1.0 保存退出(RAC的几个节点都要修改该配置文件)。
退出升级后再次运行,这一步成功通过。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9399028/viewspace-774884/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/9399028/viewspace-774884/