【RAC】Diskgroup shows offline after restart even it is mounted in ASM instance

Diskgroup resource shows status offline after restart even it is mounted in ASM instance
Applies to:
Oracle Server - Enterprise Edition - Version: 11.2.0.1.0 - Release: 11.2
Information in this document applies to any platform.
Symptoms
After restart the 11.2 HAS stack, the diskgroup (.dg) resource is showing "OFFLINE" status, but diskgroup is mounted in the ASM instance.
For example:
$ crsctl stat res ora.DATA.dg
NAME=ora.DATA.dg
TYPE=ora.diskgroup.type
TARGET=OFFLINE, ONLINE
STATE=OFFLINE, ONLINE on host1

From ASM when you query , the diskgroup shows as mounted.
SQL> conn / as sysdba
Connected.
SQL> select name,state from v$asm_diskgroup;
NAME                            STATE
------------------------------ -----------
DATA                             MOUNTED

Changes
From the crsd.log:
2010-02-05 16:05:09.988: [AGFW][56] ora.DATA.dg host1 1 received state from probe request. Old state = UNKNOWN, New state = OFFLINE
From oraagent_oracle.log:
2010-02-05 16:05:09.799: [AGFW][9] ora.DATA.dg host1 1 state changed from: UNKNOWN to: OFFLINE

Cause
This is caused by an unpublished bug 8663101 11.2 DG RES OFFLINE, BUT DISKGROUP MOUNTED AFTER RESTART HAS STACK 
The diskgroup is mounted in asm before crsd is up so crsd is never notified of the diskgroup resource start. 

Solution
The bug has been fixed in 11.2.0.2 patchset.
Two workarounds available:
1. Manually start the diskgroup:
   srvctl start diskgroup -g [-n ""]
或者:
2. Modify the attribute AUTO_START to "always"
   crsctl modify resource ora..dg -attr AUTO_START=always

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22664653/viewspace-706682/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/22664653/viewspace-706682/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值