RAC DG 物理standby ASM無法啟動
執行一段時間的standby 想重新啟動下,在主資料庫切了下日誌,就重新啟動standby os,啟動後發現standby ASM沒有自動啟動,手動啟動報錯如下
1,啟動ASM報錯
[grid@racdg ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Sat Dec 7 05:10:36 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-29701: unable to connect to Cluster Synchronization Service
2,檢查那些伺服器沒有啟動
[grid@racdg ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.ARCH.dg ora....up.type 0/5 0/ OFFLINE OFFLINE
ora.CRS.dg ora....up.type 0/5 0/ OFFLINE OFFLINE
ora.DATA1.dg ora....up.type 0/5 0/ OFFLINE OFFLINE
ora....ER.lsnr ora....er.type 0/5 0/ ONLINE ONLINE racdg
ora.asm ora.asm.type 0/5 0/ OFFLINE OFFLINE
ora.cssd ora.cssd.type 0/5 0/5 ONLINE OFFLINE ---沒有啟動 css
ora.diskmon ora....on.type 0/10 0/5 ONLINE OFFLINE
ora.racdb.db ora....se.type 0/2 0/1 ONLINE OFFLINE
3,手動執行CSS 伺服器沒有啟動
[grid@racdg ~]$ crs_start ora.cssd
啟動後
[grid@racdg ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.ARCH.dg ora....up.type 0/5 0/ OFFLINE OFFLINE
ora.CRS.dg ora....up.type 0/5 0/ OFFLINE OFFLINE
ora.DATA1.dg ora....up.type 0/5 0/ OFFLINE OFFLINE
ora....ER.lsnr ora....er.type 0/5 0/ ONLINE ONLINE racdg
ora.asm ora.asm.type 0/5 0/ OFFLINE OFFLINE
ora.cssd ora.cssd.type 0/5 0/5 ONLINE ONLINE racdg
ora.diskmon ora....on.type 0/10 0/5 ONLINE ONLINE racdg
ora.racdb.db ora....se.type 0/2 0/1 ONLINE OFFLINE
4,再啟動ASM實列
[grid@racdg ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Sat Dec 7 05:53:39 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ASM instance started
Total System Global Area 283930624 bytes
Fixed Size 2212656 bytes
Variable Size 256552144 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
啟動OK
5,檢視 配置
crs_stat -p ora.cssd
[grid@racdg ~]$ crs_stat -p ora.cssd
NAME=ora.cssd
TYPE=ora.cssd.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=never
CHECK_INTERVAL=30
DESCRIPTION="Resource type for CSSD"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=600
STOP_TIMEOUT=900
UPTIME_THRESHOLD=1m
----以下來源網路
下面將AUTO_START屬性的可選值列以下:
AUTO_START
Indicates whether Oracle Clusterware automatically starts a resource after a cluster server restart.Valid AUTO_START values are:
always: Restarts the resource when the server restarts regardless of the state of the resource when the server stopped.--始終restart
restore: Restores the resource to the same state that it was in when the server stopped.Oracle Clusterware attempts to restart the resource if the value of TARGET was ONLINE before the server stopped. --根據關閉前一次狀態是否選擇啟動
never: Oracle Clusterware never restarts the resource regardless of the state of the resource when the server stopped.
可以將auto_start設定為 always,就可以隨著主機啟動 一直保持啟動了。
tips
1)預設情況下HAS(High Availability Service)是自動啟動的.通過如下命令可以取消和啟用自動啟動
crsctl disable has
crsctl enable has
2)HAS手動啟動和停止
crsctl start has
crsctl stop has
3)檢視HAS的狀態
crsctl check has
4)如果想讓ora.css和ora.diskmon服務隨著HAS的啟動而自動啟動,那麼你可以這兩個服務的AUTO_START屬性
crsctl modify resource "ora.cssd" -attr "AUTO_START=1"
or
crsctl modify resource "ora.diskmon" -attr "AUTO_START=1"
5)如果想取消ora.css和ora.diskmon的Auto start
crsctl modify resource "ora.cssd" -attr "AUTO_START=never"
crsctl modify resource "ora.diskmon" -attr "AUTO_START=never"
總結:
原因是cssd設定引數沒有配置自動啟動,設定為always或restart就OK
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15187685/viewspace-1062525/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- DG -- READ ONLY模式開啟物理Standby模式
- RAC節點啟動失敗--ASM無法連線ASM
- DG物理standby,switchover步驟
- oracle11g RAC 啟動時無法識別ASMOracleASM
- 【ASM】RAC19C因引數設定不當,asm無法啟動ASM
- DG物理standby,failover步驟AI
- Oracle Rac crs無法啟動Oracle
- DG物理standby,Failover之後原primary重回DGAI
- 【ASM】ASM啟動無法找到spfile問題原因ASM
- oracle rac 無法建立asm磁碟OracleASM
- 解決ASM無法啟動問題ASM
- 邏輯 rac standby和物理 rac standby的switchover 和 failoverAI
- ASM無法啟動的問題分析(一)ASM
- ASM無法啟動的問題分析(二)ASM
- RAC+DG(asm單例項)ASM單例
- 【DG】Oracle 19c使用dbca來搭建物理DG--主rac備racOracle
- 11g rac standby asm---04ASM
- 【Oracle】RAC 11.2.0.4.0 OHASD服務無法啟動Oracle
- 11gR2 RAC ASM 啟動ASM
- Oracle RAC+DG 調整redo/standby log fileOracle
- Oracle11g物理STANDBY開啟模式應用歸檔時無法執行備份Oracle模式
- Oracle 11g RAC Data Guard 物理standby 建立Oracle
- RAC環境的物理STANDBY的 SWITCHOVER切換
- Oracle 11g RAC的ASM例項記憶體引數被修改導致無法啟動OracleASM記憶體
- 【RAC,DATAGUARD】Creating a physical standby from ASM (RAC ) primary之四ASM
- 【RAC】Creating a filesystem physical standby from ASM (RAC ) primary之三ASM
- 【RAC】Creating a filesystem physical standby from ASM (RAC ) primary 之二ASM
- 【RAC】Creating a filesystem physical standby from ASM (RAC ) primary之一ASM
- 11gR2 RAC ASM啟動過程ASM
- 管理ASM 檢索ocr資訊 禁用RAC自動啟動ASM
- Oracle 12c DG備庫啟動報錯standby database requires recoveryOracleDatabaseUI
- Oracle 12c RAC CSSD程式無法啟動real time模式OracleCSS模式
- DG學習筆記(4)_建立物理Standby步驟及注意事項筆記
- 11G ORACLE RAC DBCA 無法識別asm磁碟組OracleASM
- 11gR2 RAC dbca無法發現ASM磁碟組ASM
- WinXP啟動無法顯示桌面,無法啟動IE,無法關機的解決方案
- 在Oracle DG Standby庫上啟用flashback database功能OracleDatabase
- 11.2.0.4 RAC CSSD服務無法啟動故障 unable to set priority to 4CSS