ORA-01078 ORA-29701 11g單機asm系統啟動後不能啟動asm
ORA-01078 ORA-29701 11g單機asm系統啟動後不能啟動asm
===========================
--昨天搭的11g單機asm
--os 關閉之後重新啟動後啟動asm報錯
--如下:
--os 關閉之後重新啟動後啟動asm報錯
--如下:
[root@localhost init.d]# su - grid
-bash-3.2$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Thu Jan 5 10:44:42 2012
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
SQL>
ORA-29701: unable to connect to Cluster Synchronization Service
SQL>
--報錯css沒有啟動
--使用crs_stat命令檢視css狀態
--發現AUTO_START=never
--也就是說其實css還沒有設定為自動啟動
--又檢視了diskmon,也同樣是不自動啟動
--使用crs_stat命令檢視css狀態
--發現AUTO_START=never
--也就是說其實css還沒有設定為自動啟動
--又檢視了diskmon,也同樣是不自動啟動
-bash-3.2$ 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
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
-bash-3.2$ crs_stat -p ora.diskmon
NAME=ora.diskmon
TYPE=ora.diskmon.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
TYPE=ora.diskmon.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=never
CHECK_INTERVAL=20
DESCRIPTION="Resource type for Diskmon"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=10
SCRIPT_TIMEOUT=60
START_TIMEOUT=60
STOP_TIMEOUT=60
UPTIME_THRESHOLD=5s
DESCRIPTION="Resource type for Diskmon"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=10
SCRIPT_TIMEOUT=60
START_TIMEOUT=60
STOP_TIMEOUT=60
UPTIME_THRESHOLD=5s
--手動啟動css
--啟動過程中diskmon被一起拉起來
--啟動後查詢叢集資源狀況如下:
--啟動過程中diskmon被一起拉起來
--啟動後查詢叢集資源狀況如下:
-bash-3.2$ crsctl start resource ora.cssd
CRS-2672: Attempting to start 'ora.cssd' on 'localhost'
CRS-2679: Attempting to clean 'ora.diskmon' on 'localhost'
CRS-2681: Clean of 'ora.diskmon' on 'localhost' succeeded
CRS-2672: Attempting to start 'ora.diskmon' on 'localhost'
CRS-2676: Start of 'ora.diskmon' on 'localhost' succeeded
CRS-2676: Start of 'ora.cssd' on 'localhost' succeeded
CRS-2679: Attempting to clean 'ora.diskmon' on 'localhost'
CRS-2681: Clean of 'ora.diskmon' on 'localhost' succeeded
CRS-2672: Attempting to start 'ora.diskmon' on 'localhost'
CRS-2676: Start of 'ora.diskmon' on 'localhost' succeeded
CRS-2676: Start of 'ora.cssd' on 'localhost' succeeded
-bash-3.2$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.DATA.dg ora....up.type OFFLINE OFFLINE
ora....ER.lsnr ora....er.type ONLINE ONLINE localhost
ora.asm ora.asm.type OFFLINE OFFLINE
ora.cssd ora.cssd.type ONLINE ONLINE localhost
ora.db11.db ora....se.type OFFLINE OFFLINE
ora.diskmon ora....on.type ONLINE ONLINE localhost
------------------------------------------------------------
ora.DATA.dg ora....up.type OFFLINE OFFLINE
ora....ER.lsnr ora....er.type ONLINE ONLINE localhost
ora.asm ora.asm.type OFFLINE OFFLINE
ora.cssd ora.cssd.type ONLINE ONLINE localhost
ora.db11.db ora....se.type OFFLINE OFFLINE
ora.diskmon ora....on.type ONLINE ONLINE localhost
--再次手動啟動asm
--成功,之後啟動資料庫順利
-bash-3.2$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Thu Jan 5 10:48:16 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL*Plus: Release 11.2.0.1.0 Production on Thu Jan 5 10:48:16 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ASM instance started
Total System Global Area 284565504 bytes
Fixed Size 1336036 bytes
Variable Size 258063644 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
SQL>
Fixed Size 1336036 bytes
Variable Size 258063644 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
SQL>
--其他相關服務
--has預設是自動啟動的
--手動啟停命令如下
--手動啟停命令如下
--檢視狀態
crsctl check has
crsctl check has
--關啟自動啟停
crsctl disable has
crsctl enable has
crsctl disable has
crsctl enable has
--手動啟停
crsctl start has
crsctl stop has
crsctl start has
crsctl stop has
--css和diskmon可以設定為自動啟動
--開啟css和diskmon自動啟動
crsctl modify resource "ora.cssd" -attr "AUTO_START=1"
crsctl modify resource "ora.diskmon" -attr "AUTO_START=1"
--開啟css和diskmon自動啟動
crsctl modify resource "ora.cssd" -attr "AUTO_START=1"
crsctl modify resource "ora.diskmon" -attr "AUTO_START=1"
--關閉css和diskmon自動啟動
crsctl modify resource "ora.cssd" -attr "AUTO_START=never"
crsctl modify resource "ora.diskmon" -attr "AUTO_START=never"
crsctl modify resource "ora.cssd" -attr "AUTO_START=never"
crsctl modify resource "ora.diskmon" -attr "AUTO_START=never"
--設定自動啟動css後資源狀態
-bash-3.2$ crsctl modify resource "ora.cssd" -attr "AUTO_START=1"
-bash-3.2$ crs_stat -p ora.cssd
NAME=ora.cssd
TYPE=ora.cssd.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=1
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
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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/13177610/viewspace-714456/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-01078 ORA-29701 11gr2 asm 單例項重啟系統後不能啟動ASM單例
- 【Oracle】ORA-01078 ORA-29701 11gR2 ASM單例項重啟系統後不能啟動OracleASM單例
- ORA-29701--10g 單機asm不能啟動ASM
- 啟動ASM例項出現ORA-29701錯誤ASM
- 11G R2 ASM啟動方法ASM
- 11gR2啟動ASM例項時遭遇ORA-29701ASM
- 【轉】11gR2啟動ASM例項時遭遇ORA-29701ASM
- ASM例項啟動報錯:ORA-29701 :unable to connect to Cluster ManagerASM
- Oracle單例項+ASM啟動與關閉Oracle單例ASM
- 安裝GI後重啟作業系統後啟動ASM例項失敗及解決方法作業系統ASM
- 【ASM】ASM啟動無法找到spfile問題原因ASM
- 啟動ASM 例項報錯ASM
- 11gR2啟動ASM例項時遭遇ORA-29701, cssd dismon ohasASMCSS
- 系統重啟後卷不能自動掛載
- linux 配置oracle+asm自動啟動LinuxOracleASM
- 11gR2 RAC ASM 啟動ASM
- windows 下 asm儲存啟動故障WindowsASM
- oracle 11gR2 asm例項 不能啟動處理方法OracleASM
- redhat as 4.0系統啟動到一半不能啟動!Redhat
- 11g單機使用asmASM
- 虛擬機器搭建rac ASM盤啟動失敗虛擬機ASM
- 解決ASM無法啟動問題ASM
- RAC DG 物理standby ASM無法啟動ASM
- ASM CRS 例項啟動和關閉ASM
- 管理ASM 檢索ocr資訊 禁用RAC自動啟動ASM
- ASM無法啟動的問題分析(一)ASM
- ASM無法啟動的問題分析(二)ASM
- ASM 啟動時預設mount 的磁碟組ASM
- 11gR2 RAC ASM啟動過程ASM
- ASM磁碟組不能自動掛載ASM
- ORA-15055: unable to connect to ASM instance 造成 RAC的db不能啟動ASM
- 11.2單例項ASM啟動報錯ORA-15186單例ASM
- SAP系統不能啟動時的對應
- 建立ASM啟動SPFILE報錯ORA-17502ASM
- 【ASM】RAC19C因引數設定不當,asm無法啟動ASM
- oracle 11g asm自動備份asm磁頭任務OracleASM
- Linux中設定oracle例項和asm同時隨機自動啟動LinuxOracleASM隨機
- 11g asm Oracle 系統核心修改ASMOracle