oracle 10g srvctl 不能帶起節點例項問題
今天在用crs啟動叢集時,發現不能帶起第二個節點的例項
[oracle@p520:/oracle/app/oracle]$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.orcl.db application ONLINE ONLINE p520
ora....l1.inst application ONLINE ONLINE p520
ora....l2.inst application ONLINE OFFLINE
ora....SM1.asm application ONLINE ONLINE p520
ora....20.lsnr application ONLINE ONLINE p520
ora.p520.gsd application ONLINE ONLINE p520
ora.p520.ons application ONLINE ONLINE p520
ora.p520.vip application ONLINE ONLINE p520
ora....SM2.asm application ONLINE ONLINE p650
ora....50.lsnr application ONLINE ONLINE p650
ora.p650.gsd application ONLINE ONLINE p650
ora.p650.ons application ONLINE ONLINE p650
ora.p650.vip application ONLINE ONLINE p650
檢視
[oracle@p650:/oracle/app/oracle/product/10.2.0/clusterdb/log/p650/racg]$ls -ltr
total 1376
drwxr-xr-x 2 oracle oinstall 256 May 25 14:49 racgmain
drwxr-xr-x 2 oracle oinstall 256 May 25 14:49 racgeut
drwxr-xr-x 2 oracle oinstall 256 May 25 15:07 racgimon
drwxr-xr-x 2 oracle oinstall 256 May 25 15:07 racgmdb
-rw-r--r-- 1 oracle oinstall 24214 Jun 04 10:43 ora.test.test2.inst.log
-rw-r--r-- 1 oracle oinstall 29041 Jun 04 10:59 ora.orcl.orcl2.inst.log
-rw-r--r-- 1 oracle oinstall 62664 Jun 04 11:01 ora.p650.LISTENER_P650.lsnr.log
-rw-r--r-- 1 oracle oinstall 29917 Jun 04 11:01 mdb.log
-rw-r--r-- 1 oracle oinstall 54291 Jun 04 11:01 ora.p650.ASM2.asm.log
-rw-r--r-- 1 oracle oinstall 60698 Jun 04 11:01 imontest.log
-rw-r--r-- 1 oracle oinstall 119083 Jun 04 11:01 imon_test.log
-rw-r--r-- 1 oracle oinstall 74331 Jun 04 11:01 imonorcl.log
-rw-r--r-- 1 oracle oinstall 220726 Jun 04 11:01 imon_orcl.log
ora.orcl.orcl2.inst.log 日誌記錄如下:
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jun 4 10:42:26 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Enter user-name: Connected to an idle instance.
SQL> ORA-01565: error in identifying file '+dgtest/orcl/spfileorcl.ora'
ORA-175'
處理過程如下:
手工啟動這個節點的例項是可以啟動的
[oracle@p650:/oracle/app/oracle/product/10.2.0/clusterdb/log/p650/racg]$export ORACLE_SID=orcl2
[oracle@p650:/oracle/app/oracle/product/10.2.0/clusterdb/log/p650/racg]$sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jun 4 10:54:02 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 4982833152 bytes
Fixed Size 2090856 bytes
Variable Size 889194648 bytes
Database Buffers 4076863488 bytes
Redo Buffers 14684160 bytes
SQL> show parameter spfile
NAME TYPE
------------------------------------ ----------------------
VALUE
------------------------------
spfile string
+DGTEST/orcl/spfileorcl.ora
我們可以看到是DGTEST是大寫的
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
[oracle@p650:/oracle/app/oracle/product/10.2.0/clusterdb/log/p650/racg]$cd $ORACLE_HOME/dbs
[oracle@p650:/oracle/app/oracle/product/10.2.0/clusterdb/dbs]$ls
ab_+ASM2.dat arch1_39_720092431.dbf arch2_18_720092431.dbf init.ora orapwjl
arch1_1_720542036.dbf arch1_40_720092431.dbf hc_+ASM2.dat initdw.ora orapworcl2
arch1_35_720092431.dbf arch1_41_720092431.dbf hc_jl.dat initjl.ora orapwtest2
arch1_36_720092431.dbf arch2_15_720092431.dbf hc_orcl2.dat initorcl2.ora snapcf_test2.f
arch1_37_720092431.dbf arch2_16_720092431.dbf hc_test2.dat inittest2.ora spfilejl.ora.old
arch1_38_720092431.dbf arch2_17_720092431.dbf init+ASM2.ora orapw+ASM2
[oracle@p650:/oracle/app/oracle/product/10.2.0/clusterdb/dbs]$more initorcl2.ora
SPFILE='+dgtest/orcl/spfileorcl.ora'
而initorcl2.ora 下面的spfile dgtest是小寫的
更改成大寫
[oracle@p650:/oracle/app/oracle/product/10.2.0/clusterdb/dbs]$vi initorcl2.ora
"initorcl2.ora" 1 line, 37 characters
SPFILE='
srvctl 修改database spfile 引數
[oracle@p650:/oracle/app/oracle/product/10.2.0/clusterdb/dbs]$srvctl modify database -d orcl -o /oracle/app/oracle/product/10.2.0/clusterdb -p +DGTEST/orcl/spfileorcl.ora
後再啟動crs,能帶起節點2資料庫
[oracle@p650:/oracle/app/oracle]$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.orcl.db application ONLINE ONLINE p650
ora....l1.inst application ONLINE ONLINE p520
ora....l2.inst application ONLINE ONLINE p650
ora....SM1.asm application ONLINE ONLINE p520
ora....20.lsnr application ONLINE ONLINE p520
ora.p520.gsd application ONLINE ONLINE p520
ora.p520.ons application ONLINE ONLINE p520
ora.p520.vip application ONLINE ONLINE p520
ora....SM2.asm application ONLINE ONLINE p650
ora....50.lsnr application ONLINE ONLINE p650
ora.p650.gsd application ONLINE ONLINE p650
ora.p650.ons application ONLINE ONLINE p650
ora.p650.vip application ONLINE ONLINE p650
總結:資料庫例項的spfile引數和$ORACLE_HOME/dbs/initsid.ora檔案要一致,有大小寫區分
要注意。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-664357/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 10g RAC增加節點例項Oracle 10g
- RAC之srvctl 命令不能用的問題
- oracle 12c RAC安裝,例項不能多節點同時啟動Oracle
- 10g RAC fail over測試,節點2例項不能隨Linux自動啟動AILinux
- oracle rac 單個例項不能生成awr報告的問題Oracle
- Oracle RAC 一個節點不能自動啟動 怪問題Oracle
- Oracle 10g 增刪節點Oracle 10g
- oracle 10g crs 不能啟動問題解決案例Oracle 10g
- oracle 10g cluster rac vip始終在節點2的問題處理Oracle 10g
- dom操作新增一個帶有文字的節點程式碼例項
- oracle10g單例項遷移至3節點RACOracle單例
- oracle 10g rac srvctl 命令總結Oracle 10g
- Oracle 10g RAC中Srvctl基本用法Oracle 10g
- 單節點執行ASM例項ASM
- oracle 10g rac,刪除故障節點並新增新節點Oracle 10g
- oracle 10g rac 新增節點與刪除節點步驟Oracle 10g
- WMB 使用Compute節點連線Oracle資料庫例項Oracle資料庫
- 刪除oracle10g rac(rhel4)節點_例項Oracle
- ORACLE 10G 在安裝CRS的時候,到節點選擇的時候不能顯示cluster節點列表Oracle 10g
- Oracle 10G windows 平臺 DataGuard 例項Oracle 10gWindows
- Oracle 10g高階複製例項Oracle 10g
- 10g RAC中加入新節點,已存在的節點例項都在繁忙使用,可以不停機掛載共享磁碟 ?
- Oracle 10g RAC刪除、增加節點Oracle 10g
- Oracle RAC 10g叢集節點增加Oracle
- ORACLE 11G 建立 DATAGUARD(雙節點RAC-->單例項DG)Oracle單例
- JdonFramework 5.1例項問題?Framework
- XML節點自動生成簡單例項XML單例
- 原生js刪除節點程式碼例項JS
- JavaScript刪除元素節點程式碼例項JavaScript
- RAC恢復到單例項節點上單例
- Oracle 10g RAC跨例項控制並行Oracle 10g並行
- 11g兩個節點RAC搭建單例項DG過程問題以及解決方法單例
- vue 解決不能攜帶session問題VueSession
- 重起oracle rac三節點中rac02主機以解決鏈路noname問題Oracle
- 一次oracle 節點重啟問題的定位Oracle
- Oracle 9i OEM不能正常使用10g庫(不能展開EM管理項)Oracle
- oracle 10g asm 例項開關機順序Oracle 10gASM
- ORACLE 10G增加一個節點rac3Oracle 10g