Oracle 11gR2 RAC alert_+ASM1.log出现WARNING: failed to online diskgroup resource ora.CRS.dg (unable to

环境说明:

Redhat Linux 6.5 x64 + Oracle 11.2.0.4 RAC


ASM alert出现如下告警信息:

NOTE: LGWR opening thread 1 at fcn 0.0 ABA 2.0
NOTE: setting 11.2 start ABA for group CRS thread 1 to 2.0
NOTE: cache mounting group 1/0x3A0A81B9 (CRS) succeeded
NOTE: cache ending mount (success) of group CRS number=1 incarn=0x3a0a81b9
NOTE: Instance updated compatible.asm to 11.2.0.0.0 for grp 1
SUCCESS: diskgroup CRS was mounted
SUCCESS: CREATE DISKGROUP CRS HIGH REDUNDANCY  DISK '/dev/oracleasm/ocra',
'/dev/oracleasm/ocrb',
'/dev/oracleasm/ocrc',
'/dev/oracleasm/ocrd',
'/dev/oracleasm/ocre' ATTRIBUTE 'compatible.asm'='11.2.0.0.0','au_size'='1M' /* ASMCA */
Tue Nov 24 14:55:30 2015
WARNING: failed to online diskgroup resource ora.CRS.dg (unable to communicate with CRSD/OHASD)
ERROR: failed to update diskgroup resource ora.CRS.dg

NOTE: Advanced to new COD format for group CRS
NOTE: updated gpnp profile ASM diskstring: /dev/oracleasm/*
NOTE: updated gpnp profile ASM diskstring: /dev/oracleasm/*
NOTE: updated gpnp profile ASM SPFILE to +CRS/frqsr-cluster/asmparameterfile/registry.253.896626531
Tue Nov 24 14:55:36 2015
NOTE: [ocrcheck.bin@frqsr1 (TNS V1-V3) 62869] opening OCR file
Starting background process ASMB
Tue Nov 24 14:55:36 2015
ASMB started with pid=28, OS id=62879 
Tue Nov 24 14:55:36 2015
NOTE: client +ASM1:+ASM registered, osid 62881, mbr 0x0
Tue Nov 24 14:55:37 2015
NOTE: [ocrconfig.bin@frqsr1 (TNS V1-V3) 62886] opening OCR file
Tue Nov 24 14:55:37 2015
NOTE: [ocrconfig.bin@frqsr1 (TNS V1-V3) 62886] opening OCR file


解决方案参考:

ALERT.LOG for ASM Shows"WARNING: failed to online diskgroup resource ora.GI.dg (unable tocommunicate with CRSD/OHASD)" (文档 ID 1060920.1)

APPLIES TO:

OracleDatabase - Enterprise Edition - Version 11.2.0.1 to 12.1.0.1 [Release 11.2 to12.1]
Information in this document applies to anyplatform.
***Checked for relevance on 03-Jul-2013*** 
SYMPTOMS

If OCR is locatedon ASM diskgroup, following shows in ASM alert log ($ORACLE_BASE/diag/asm/+asm/+ASMn/trace/alert_+ASMn.log)after ASM mounted all diskgroup successfully while starting up GridInfrastructure(CRS):
SQL> ALTER DISKGROUP ALL MOUNT /* asm agent */

..
SUCCESS: diskgroup GI was mounted
SUCCESS: ALTER DISKGROUP ALL MOUNT /* asm agent */
..
WARNING: failed to online diskgroup resource ora.GI.dg (unable to communicatewith CRSD/OHASD)


Or after ASM dismounted all diskgroup successfully while shutting downclusterware:

..
SUCCESS: ALTER DISKGROUP ALL DISMOUNT /* asm agent */
Sun Feb 07 11:11:13 2010
WARNING: failed to offline diskgroup resource ora.GI.dg (unable to communicatewith CRSD/OHASD)
..
freeing rdom 0

CAUSE

In contrast toprevious version of CRS, 11gR2 ASM does not depend on CRSD anymore; rather ifOCR is located on ASM, ASM will start before CRSD while clusterware is comingup, and stops after CRSD while clusterware is going down. Due to the newstartup sequence, ASM can not update diskgroup resource status in CRSD eitherduring clusterware startup or shutdown, thus above message is logged.

SOLUTION

The message can beignored, the status of diskgroup and diskgroup resource will be synchronize byoraagent once clusterware is fully up.

To find out diskgroup resource status:

$GRID_HOME/bin/srvctl status diskgroup -g diskgroupname-a


To start or sync diskgroup resource:

$GRID_HOME/bin/srvctl start diskgroup -g diskgroupname



你可能感兴趣的:(Oracle 11gR2 RAC alert_+ASM1.log出现WARNING: failed to online diskgroup resource ora.CRS.dg (unable to)