物理环境:2台物理服务器安装的WIN2008 X64企业版操做系统,挂载存储。。。已经成功安装oracle 11g r2 RAC for windows 64bit...css
当前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.。。。。)node
但上在升级的过程当中遇到以下问题。。。数据库
http://blog.ronnyegner-consulting.de/2010/04/17/11g-release-2-for-windows-buggy/windows
(回头转中文连接)服务器
遇到的问题描述和上述连接如出一辙。。。网络
其中有人提出成功的解决方法以下:
oracle
Finally was ableto install the grid infrastructure successfully.app
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.jsp
最后是可以成功安装电网基础设施。【根据上内容进行检查修改】ide
一、检查本机主机名,要求没有大写。。。并与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方法:(本身测试没有成功,但国外测试成功了。。。。。。)
但又有人说了。。
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网格基础结构配置 失败是不能忽略的。。。上面就是忽略的代价】
再查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: 访问物理存储时出错
附:其余故障的解决方法
一、A Troubleshooting the Oracle Grid Infrastructure Installation Process
http://docs.oracle.com/cd/E11882_01/install.112/e24169/trouble.htm#sthref718
rootcrs.pl -deconfig
command is not run.
rootcrs.pl -deconfig
command manually after using the Deinstallation tool, then install Oracle Grid Infrastructure again.
二、[INS-20802] Oracle NetConfiguration Assistant failed
http://blog.csdn.net/johnsonvily/article/details/6399932
三、连接--连接--连接圈
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
这里提到一个情况。
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.