Re: 11gR2 RAC Network Failure - Timeout

From: Yong Huang <yong321_at_yahoo.com>
Date: Wed, 7 Mar 2012 06:52:22 -0800 (PST)
Message-ID: <1331131942.3780.YahooMailClassic_at_web181205.mail.ne1.yahoo.com>



> goran bogdanovic wrote:
> ...
> dependant resources
> you can find with following:
>
> oracle_at_main-gc-1@+ASM1: ~-bash-3.2 $ crsctl stat res -p | egrep -i '^name|START_DEPENDENCIES'
> NAME=ora.GC_OCR_VOTE.dg
> START_DEPENDENCIES=hard(ora.asm) pullup(ora.asm)

I use the following command to see resource dependency, with indentation:

#10g
crs_stat -p | grep -v =$ | perl -nle 'if(/^NAME/){print}elsif(/^REQUIRED_RESOURCES/){print "\t$_"}' #11g
crsctl stat res -p | grep -v =$ | perl -nle 'if(/^NAME/){print}elsif(/DEPENDENCIES/){print "\t$_"}'

For example (11g):

$ crsctl stat res -p | grep -v =$ | perl -nle 'if(/^NAME/){print}elsif(/DEPENDENCIES/){print "\t$_"}' NAME=ora.DATA.dg

        START_DEPENDENCIES=hard(ora.asm) pullup(ora.asm)
        STOP_DEPENDENCIES=hard(intermediate:ora.asm)
NAME=ora.FRA.dg
        START_DEPENDENCIES=hard(ora.asm) pullup(ora.asm)
        STOP_DEPENDENCIES=hard(intermediate:ora.asm)
...

(Ref: bottom of http://yong321.freeshell.org/oranotes/srvctl_crs_x.txt)

Yong Huang

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Mar 07 2012 - 08:52:22 CST

Original text of this message