物理環境: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.