物理环境:2台物理服务器安装的WIN2008 X64企业版操作系统,挂载存储。。。已经成功安装oracle 11g r2 RAC for windows 64bit...

当前oracle 版本为11.2.0.1 已下载了11.2.0.3的升级文件(其实可以直接在新环境上安装11.2.0.3的升级文件包,安装完成后就是11.2.0.3,不需要像10G那样的升级,之前是先安装其他版10.2.0.1再安装升级包,在原目录的基础上升级到10.2.0.4或10.2.0.5.。。。。)

但上在升级的过程中遇到如下问题。。。

http://blog.ronnyegner-consulting.de/2010/04/17/11g-release-2-for-windows-buggy/

(回头转中文链接)

遇到的问题描述和上述链接一模一样。。。

082923460.png

其中有人提出成功的解决方法如下:

Finally was ableto install the grid infrastructure successfully.

1. Make surethat the disk drives are not lettered. After using the diskpart utility tocreate the partitions be sure to do a refresh in Disk Manager facility ofServer Manager to be sure that none of the dirve has letters on all nodes. Ifthey do, remove them and do a refresh again on all nodes to be sure that thedrives are not lettered. This prevented us from succesfully configuring ASM.
2. issue a route 0.0.0.0 delete on all nodes. Caution be sure that you saveyour defualt gateway address before executing this command. You will need tore-enter it after issuing this command. You may also need to login from theconsole as you will not be able to access the server untill you enter thedefault gateway.
3. remove all network adapters leaving only the private and public interfacesand all references to ipv6 in all of the network adapters. When you issue anipconfig /all you should only see the private and public interfaces. We had toissue the following commands in order to achieve this.
netsh Interface 6to4 set state state=disabled
netsh interface isatap set state disabled
netsh interface teredo set state disabled
plus we had to remove all of the ipv6 references in each of the remainingnetwork adapters. You may need to enter further netsh commands depending onwhat interfaces are installed on your servers.


最后是能够成功安装电网基础设施。【根据上内容进行检查修改】


1、检查本机主机名,要求没有大写。。。并与c:\windows\system32\drivers\etc\hosts文件中设置的一模样。。。。

  确保磁盘驱动器字母。使用Diskpart实用程序创建的分区后一定要做好刷新服务器管理的磁盘管理设施,以确保没有dirve的所有节点上的字母。如果他们这样做,删除它们,做再次刷新所有节点上,以确保驱动器字母。这阻止我们成功地配置ASM。

【按照以上内容配置完,因为我是11.2.0.1升级到11.2.0.3  磁盘上已经有文件,并且所有的磁盘名全是以英文命名的。。。所以。。第一步通过。。】

2。发出的路由0.0.0.0删除所有节点上。注意确保您保存你的defualt网关地址在执行此命令之前。发出该命令后,您将需要重新输入。您可能还需要从控制台登录,您将无法访问该服务器,直到你输入的默认网关。

【如果是远程桌面过去的,删除默认路由之前请先手工添加静态路由到你自己使用的网段。。route delete 0.0.0.0 mask 0.0.0.0 x.x.x.x】

3。删除所有网络适配器只留下了私人和公共的接口和所有的网络适配器中的所有引用到IPv6。当你发出一个IPCONFIG / ALL,您应该只看到私营部门和公共接口。为了实现这一目标,我们不得不发出以下命令。

netsh Interface 6to4 set state state=disabled
netsh interface isatap set state disabled
netsh interface teredo set state disabled

再加上我们不得不删除所有余下的每个网络适配器的IPv6引用。【在网卡属性里去除勾选IPV6协议的选项】您可能需要进一步输入netsh命令取决于您的服务器上安装接口是什么。


我要说的还是。。。失败了。。。Ins-20802网格基础结构配置失败


国外网站解决INS-20802方法:(自己测试没有成功,但国外测试成功了。。。。。。)

082924942.png

但又有人说了。。

well , i am hit by the same error , but metalink says the error is not related to the service.

the service is a dummy service and can be ignored.

The erorr may be related to something else.

WIN: During Installation The Event Log Shows Failure To Start Some Services

Solution

OracleOUIVC8Service is a dummy service and it is actually not supposed to start. It is used by the installer to install VC8 binaries on the remote node. It’s not a proper Windows service and it is not expected to start, and in fact the Installer expects and handles the exceptions about the service not starting during the install process.

The same is true for the OracleOUIOraCrs11g_home1Service service and any other OracleOUI[homename]Service . These are dummy services used by the installer to run an executable and do install work. They are not actually supposed to start. So you can ignore these errors in the Windows event log.


INS-20802 实用程序失败,可忽略   【INS-20802网格基础结构配置 失败是不能忽略的。。。上面就是忽略的代价

082923803.png

再查oracle 文档。。。。。已经没有环境测试了【为了给数据库搭建一个好的运行环境,我准备完全卸载并重新安装oracle】。。。。

剩下的留给你们测试了!因为我的第一台服务器oracle 无法启动了,第2台oracle启动正常。。。

第一台服务器:

C:\>crs_stat -t

PROC-26: 访问物理存储时出错

ORA-15077: 找不到提供所需磁盘组的 ASM 实例



第二台服务器:

C:\>crs_stat -t

名称           类型           目标      状态      主机

------------------------------------------------------------

ora.CRS.dg     ora....up.type ONLINE    ONLINE    oradb2

ora.DATA.dg    ora....up.type ONLINE    ONLINE    oradb2

ora.FRA.dg     ora....up.type ONLINE    ONLINE    oradb2

ora....ER.lsnr ora....er.type ONLINE    ONLINE    oradb2

ora....N1.lsnr ora....er.type ONLINE    ONLINE    oradb2

ora.asm        ora.asm.type   ONLINE    ONLINE    oradb2

ora.eons       ora.eons.type  ONLINE    ONLINE    oradb2

ora.gsd        ora.gsd.type   OFFLINE   OFFLINE

ora....network ora....rk.type ONLINE    ONLINE    oradb2

ora.oc4j       ora.oc4j.type  OFFLINE   OFFLINE

ora.ons        ora.ons.type   ONLINE    ONLINE    oradb2

ora.oradb1.vip ora....t1.type ONLINE    ONLINE    oradb2

ora....SM2.asm application    ONLINE    ONLINE    oradb2

ora....B2.lsnr application    ONLINE    ONLINE    oradb2

ora.oradb2.gsd application    OFFLINE   OFFLINE

ora.oradb2.ons application    ONLINE    ONLINE    oradb2

ora.oradb2.vip ora....t1.type ONLINE    ONLINE    oradb2

ora.orcl.db    ora....se.type ONLINE    ONLINE    oradb2

ora.scan1.vip  ora....ip.type ONLINE    ONLINE    oradb2


C:\>crsctl query css votedisk

##  STATE    File Universal Id                File Name Disk group

--  -----    -----------------                --------- ---------

1. ONLINE   018e6066e18c4fdcbf5a77f7617e9e0a (\\.\ORCLDISKASM0) [CRS]

找到了 1 个表决磁盘。


C:\>ocrcheck

Errors in file :

ORA-06550: line 2, column 1:

PLS-00306: wrong number or types of arguments in call to 'READ'

ORA-06550: line 2, column 1:

PL/SQL: Statement ignored

Errors in file :

ORA-06550: line 2, column 1:

PLS-00306: wrong number or types of arguments in call to 'READ'

ORA-06550: line 2, column 1:

PL/SQL: Statement ignored

PROT-602: 无法从集群注册表中检索数据

PROC-26: 访问物理存储时出错



附:其他故障的解决方法

1、A Troubleshooting the Oracle Grid Infrastructure Installation Process

http://docs.oracle.com/cd/E11882_01/install.112/e24169/trouble.htm#sthref718

INS-20802: Grid Infrastructure configuration failed
Cause: If an error is encountered while running an Oracle Grid Infrastructure installation and the Deinstallation tool is used to remove the failed installation, the rootcrs.pl -deconfig command is not run.
Action: Run the rootcrs.pl -deconfig command manually after using the Deinstallation tool, then install Oracle Grid Infrastructure again.



2、[INS-20802] Oracle NetConfiguration Assistant failed

http://blog.csdn.net/johnsonvily/article/details/6399932


3、链接--链接--链接圈

http://blog.ronnyegner-consulting.de/2010/04/17/11g-release-2-for-windows-buggy/

这篇文章里提到一个有价值的链接

https://forums.oracle.com/forums/thread.jspa?threadID=1060060&start=15&tstart=0

   同样,这里也有一个

http://download.oracle.com/docs/cd/E11882_01/relnotes.112/e10842/toc.htm#CJAJJAFB

        这里提到一个状况。


4.2.30 Upgrade of Oracle Clusterware Release 10.2.0.5 to Oracle Clusterware 11.2.0.1 Fails

During an Oracle Grid Infrastructure for a cluster installation, upgrade of Oracle Clusterware 10.2.0.5 to Oracle Clusterware 11.2.0.1 fails. The installer displays the following message:

Grid Infrastructure Configuration failed.

Solution:

Upgrading directly from Oracle Clusterware 10.2.0.5 to Oracle Clusterware 11.2.0.1 is not supported. Either complete the upgrade by running an Oracle Grid Infrastructure for a cluster 11.2.0.2 installation, or contact support for a one-off patch for the Oracle Clusterware 11.2.0.1 software.

This issue is tracked with Oracle bug 9776578.