禁用HAIP,cluster_interconnects配錯了叢集無法啟動
挫挫把vip和priv ip傻傻分不清, 扔來這麼一段
-------------------------begin-------------------
禁用HAIP,其中的將169.254.x.x修改為兩個節點的private IP後
將所有節點的ASM例項及所有資料庫例項的cluster_interconnects引數值修改為對應節點的private IP的值:
SQL> alter system set cluster_interconnects='83.16.193.38' sid='+ASM1' scope=spfile;
SQL> alter system set cluster_interconnects='83.16.193.40' sid='+ASM2' scope=spfile;
SQL> alter system set cluster_interconnects='83.16.193.38' sid='orcl1' scope=spfile;
SQL> alter system set cluster_interconnects='83.16.193.40' sid='orcl2' scope=spfile;
啟動叢集時報錯,看報錯是找不到private IP,83.16.193.138和83.16.193.140,現在重啟了機器,ifconfig -a又能看到169.254.70.237這個ip了
eth1:1 Link encap:Ethernet HWaddr 18:C5:8A:1A:3A:70
inet addr:169.254.70.237 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:44
啟叢集抱錯
CRS-2672: Attempting to start 'ora.asm' on 'aas20150114l2'
CRS-5017: The resource action "ora.asm start" encountered the following error:
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:if_not_found failed with status: 0
ORA-27301: OS failure message: Error 0
ORA-27302: failure occurred at: skgxpvaddr9
ORA-27303: additional information: requested interface 83.16.193.138 not found. Check output from ifconfig command
. For details refer to "(:CLSN00107:)" in "/oracle/app/11.2.0/grid/log/aas20150114l1/agent/ohasd/oraagent_grid/oraagent_grid.log".
CRS-2674: Start of 'ora.asm' on 'aas20150114l1' failed
-------------------------扔來這麼一段end-----------------------
開始排查
grid@AAS20150114L1:~> sqlplus '/as sysasm'
SQL*Plus: Release 11.2.0.3.0 Production on Tue Mar 3 14:09:46 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:if_not_found failed with status: 0
ORA-27301: OS failure message: Error 0
ORA-27302: failure occurred at: skgxpvaddr9
ORA-27303: additional information: requested interface 83.16.193.138 not found. Check output from ifconfig command
SQL> !
asm啟不來,在pfile後面加上正確的cluster_interconnects
+ASM1.asm_diskgroups='DATDG'#Manual Mount
+ASM2.asm_diskgroups='DATDG'#Manual Mount
*.asm_diskstring='/dev/asmdisk*'
*.asm_power_limit=1
*.diagnostic_dest='/oracle/app/grid'
*.instance_type='asm'
*.large_pool_size=12M
*.memory_max_target=1572864000
*.memory_target=0
*.pga_aggregate_target=524288000
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=1048576000
+ASM1.cluster_interconnects='83.5.227.200'
+ASM2.cluster_interconnects='83.5.227.201'
用pfile啟動
sqlplus '/as sysasm'
SQL> startup pfile='/oracle/app/11.2.0/grid/dbs/init+ASM1.ora';
ASM instance started
Total System Global Area 1603411968 bytes
Fixed Size 2228784 bytes
Variable Size 1567628752 bytes
ASM Cache 33554432 bytes
ASM diskgroups mounted
隨後例項自動起來了。
SQL> select name,ip_address from v$cluster_interconnects;
NAME IP_ADDRESS
--------------- ----------------
eth1:1 169.254.204.52
SQL> alter system set cluster_interconnects='83.5.227.200' sid='orcl1' scope=spfile;
System altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 2.2556E+11 bytes
Fixed Size 2241744 bytes
Variable Size 1.1489E+11 bytes
Database Buffers 1.1006E+11 bytes
Redo Buffers 604123136 bytes
Database mounted.
Database opened.
再到gi裡
SQL> create spfile from pfile;
create spfile from pfile
*
ERROR at line 1:
ORA-17502: ksfdcre:4 Failed to create file
+DGOCR/aas-cluster/asmparameterfile/registry.253.873210539
ORA-15177: cannot operate on system aliases
缺少目錄吧,進去建一個。
ASMCMD>cd +DGOCR/aas-cluster
ASMCMD> mkdir asmparameterfile
sqlplus '/as sysasm'
SQL> create spfile from pfile;
File created.
SQL> shutdown immediate;
ORA-15097: cannot SHUTDOWN ASM instance with connected client (process 17079)
直接重啟整個叢集正常
AAS20150114L1:/ # /oracle/app/11.2.0/grid/bin/crsctl stop cluster -all
CRS-2673: Attempting to stop 'ora.crsd' on 'aas20150114l1'
CRS-2673: Attempting to stop 'ora.crsd' on 'aas20150114l2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'aas20150114l1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'aas20150114l1'
CRS-2673: Attempting to stop 'ora.oc4j' on 'aas20150114l1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'aas20150114l1'
CRS-2673: Attempting to stop 'ora.cvu' on 'aas20150114l1'
...。。。
AAS20150114L1:/ # /oracle/app/11.2.0/grid/bin/crsctl start cluster -all
......。。。
CRS-2672: Attempting to start 'ora.crsd' on 'aas20150114l2'
CRS-2676: Start of 'ora.crsd' on 'aas20150114l1' succeeded
CRS-2676: Start of 'ora.crsd' on 'aas20150114l2' succeeded
-------------------------begin-------------------
禁用HAIP,其中的將169.254.x.x修改為兩個節點的private IP後
將所有節點的ASM例項及所有資料庫例項的cluster_interconnects引數值修改為對應節點的private IP的值:
SQL> alter system set cluster_interconnects='83.16.193.38' sid='+ASM1' scope=spfile;
SQL> alter system set cluster_interconnects='83.16.193.40' sid='+ASM2' scope=spfile;
SQL> alter system set cluster_interconnects='83.16.193.38' sid='orcl1' scope=spfile;
SQL> alter system set cluster_interconnects='83.16.193.40' sid='orcl2' scope=spfile;
啟動叢集時報錯,看報錯是找不到private IP,83.16.193.138和83.16.193.140,現在重啟了機器,ifconfig -a又能看到169.254.70.237這個ip了
eth1:1 Link encap:Ethernet HWaddr 18:C5:8A:1A:3A:70
inet addr:169.254.70.237 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:44
啟叢集抱錯
CRS-2672: Attempting to start 'ora.asm' on 'aas20150114l2'
CRS-5017: The resource action "ora.asm start" encountered the following error:
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:if_not_found failed with status: 0
ORA-27301: OS failure message: Error 0
ORA-27302: failure occurred at: skgxpvaddr9
ORA-27303: additional information: requested interface 83.16.193.138 not found. Check output from ifconfig command
. For details refer to "(:CLSN00107:)" in "/oracle/app/11.2.0/grid/log/aas20150114l1/agent/ohasd/oraagent_grid/oraagent_grid.log".
CRS-2674: Start of 'ora.asm' on 'aas20150114l1' failed
-------------------------扔來這麼一段end-----------------------
開始排查
grid@AAS20150114L1:~> sqlplus '/as sysasm'
SQL*Plus: Release 11.2.0.3.0 Production on Tue Mar 3 14:09:46 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:if_not_found failed with status: 0
ORA-27301: OS failure message: Error 0
ORA-27302: failure occurred at: skgxpvaddr9
ORA-27303: additional information: requested interface 83.16.193.138 not found. Check output from ifconfig command
SQL> !
asm啟不來,在pfile後面加上正確的cluster_interconnects
+ASM1.asm_diskgroups='DATDG'#Manual Mount
+ASM2.asm_diskgroups='DATDG'#Manual Mount
*.asm_diskstring='/dev/asmdisk*'
*.asm_power_limit=1
*.diagnostic_dest='/oracle/app/grid'
*.instance_type='asm'
*.large_pool_size=12M
*.memory_max_target=1572864000
*.memory_target=0
*.pga_aggregate_target=524288000
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=1048576000
+ASM1.cluster_interconnects='83.5.227.200'
+ASM2.cluster_interconnects='83.5.227.201'
用pfile啟動
sqlplus '/as sysasm'
SQL> startup pfile='/oracle/app/11.2.0/grid/dbs/init+ASM1.ora';
ASM instance started
Total System Global Area 1603411968 bytes
Fixed Size 2228784 bytes
Variable Size 1567628752 bytes
ASM Cache 33554432 bytes
ASM diskgroups mounted
隨後例項自動起來了。
SQL> select name,ip_address from v$cluster_interconnects;
NAME IP_ADDRESS
--------------- ----------------
eth1:1 169.254.204.52
SQL> alter system set cluster_interconnects='83.5.227.200' sid='orcl1' scope=spfile;
System altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 2.2556E+11 bytes
Fixed Size 2241744 bytes
Variable Size 1.1489E+11 bytes
Database Buffers 1.1006E+11 bytes
Redo Buffers 604123136 bytes
Database mounted.
Database opened.
再到gi裡
SQL> create spfile from pfile;
create spfile from pfile
*
ERROR at line 1:
ORA-17502: ksfdcre:4 Failed to create file
+DGOCR/aas-cluster/asmparameterfile/registry.253.873210539
ORA-15177: cannot operate on system aliases
缺少目錄吧,進去建一個。
ASMCMD>cd +DGOCR/aas-cluster
ASMCMD> mkdir asmparameterfile
sqlplus '/as sysasm'
SQL> create spfile from pfile;
File created.
SQL> shutdown immediate;
ORA-15097: cannot SHUTDOWN ASM instance with connected client (process 17079)
直接重啟整個叢集正常
AAS20150114L1:/ # /oracle/app/11.2.0/grid/bin/crsctl stop cluster -all
CRS-2673: Attempting to stop 'ora.crsd' on 'aas20150114l1'
CRS-2673: Attempting to stop 'ora.crsd' on 'aas20150114l2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'aas20150114l1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'aas20150114l1'
CRS-2673: Attempting to stop 'ora.oc4j' on 'aas20150114l1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'aas20150114l1'
CRS-2673: Attempting to stop 'ora.cvu' on 'aas20150114l1'
...。。。
AAS20150114L1:/ # /oracle/app/11.2.0/grid/bin/crsctl start cluster -all
......。。。
CRS-2672: Attempting to start 'ora.crsd' on 'aas20150114l2'
CRS-2676: Start of 'ora.crsd' on 'aas20150114l1' succeeded
CRS-2676: Start of 'ora.crsd' on 'aas20150114l2' succeeded
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7590112/viewspace-1410355/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Haip無法啟動問題學習OracleAI
- RAC節點hang住, oracle bug導致了cpu過高,無法啟動叢集隔離Oracle
- ORACLE RAC 11.2.0.4 FOR RHEL6叢集無法啟動的處理Oracle
- 華納雲:如何解決hadoop叢集無法啟動的問題?Hadoop
- 外網無法連線Kafka叢集(報錯:NoBrokersAvailable)KafkaAI
- RabbitMQ叢集重啟報錯MQ
- 解決Spark叢集無法停止Spark
- Oracle叢集技術 | 叢集的自啟動系列(一)Oracle
- ambari安裝hdp叢集時,ResourceManager無法啟動,提示Error while executing command 'start':...ErrorWhile
- VMWARE啟動虛機報錯無法開啟檔案
- 11gRAC許可權問題導致的叢集及資料庫無法啟動資料庫
- multicast導致節點無法加入叢集AST
- storm叢集啟動停止指令碼ORM指令碼
- hadoop叢集配置和啟動Hadoop
- Kali Linux更新後無法啟動解決了Linux
- InfoPackage無法開啟 報錯Package
- WinXP啟動無法顯示桌面,無法啟動IE,無法關機的解決方案
- Hadoop叢集初始化啟動Hadoop
- Oracle 12c叢集啟動故障Oracle
- Sybase IQ 16叢集修改啟動埠
- eclipse無法啟動Eclipse
- Oracle lsnrctl 無法啟動Oracle
- VS2005無法啟動除錯問題除錯
- 恢復資料庫引數錯誤無法啟動資料庫
- KingbaseES V8R3叢集運維案例之---OpenEuler系統kingbasecluster無法啟動運維
- Hadoop叢集環境啟動順序Hadoop
- 儲存磁碟名稱不同啟動叢集
- redis叢集報錯Redis
- php-worker 無法啟動PHP
- Manjaro下Steam無法啟動JAR
- Oracle Rac crs無法啟動Oracle
- 啟動頁無法載入
- oracle偵聽無法啟動Oracle
- dbua後資料庫無法啟動錯誤的解決資料庫
- Cadence 啟動報錯——無法檢測到主機名
- oracle 11gR2 grid 叢集資源設定跟隨叢集自動啟動Oracle
- 處理mysql無法啟動且啟動時服務沒報錯的異常情況MySql
- ORACLE 12C 叢集啟動順序圖Oracle