Sunday, 22 May 2016

PRCR-1001 : Resource ora.asm does not exist in Oracle 11gR2 RAC


I am trying to stop  asm in node3( vsnlmmdb06) but getting below error.

[root@vsnlmmdb06 ~]#  srvctl stop asm -n vsnlmmdb06 -f

PRCR-1001 : Resource ora.asm does not exist

and i checked  crsctl status res -t   it is  shows list of cluster services but ora.asm services not exist.

all the cluster services are visible except  ora.asm and same service  is visible when i executed the below command.

[oracle@vsnlmmdb06 ~]$ crsctl status resource -t -init

--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       vsnlmmdb05               Started             

after that i tried to add  asm using srvctl command in both nodes.


[oracle@vsnlmmdb05 ~]$ srvctl add asm


after added successfully it is visible ora.asm service but status is offline.

[oracle@vsnlmmdb05 ~]$ crsctl status res -t

--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.asm
               OFFLINE OFFLINE      vsnlmmdb04                                   
               OFFLINE OFFLINE      vsnlmmdb05                   


[oracle@vsnlmmdb05 ~]$ crsctl status resource ora.asm

NAME=ora.asm
TYPE=ora.asm.type
TARGET=OFFLINE, OFFLINE
STATE=OFFLINE, OFFLINE

I started ora.asm resource that wa successfully started on both nodes.

[oracle@vsnlmmdb05 ~]$ crsctl start resource ora.asm

CRS-2672: Attempting to start 'ora.asm' on 'vsnlmmdb05'
CRS-2672: Attempting to start 'ora.asm' on 'vsnlmmdb04'
CRS-2676: Start of 'ora.asm' on 'vsnlmmdb04' succeeded
CRS-2676: Start of 'ora.asm' on 'vsnlmmdb05' succeeded

[oracle@vsnlmmdb05 ~]$ crsctl status resource ora.asm

NAME=ora.asm
TYPE=ora.asm.type
TARGET=ONLINE              , ONLINE
STATE=ONLINE on vsnlmmdb04, ONLINE on vsnlmmdb05

finally check it again.

[oracle@vsnlmmdb05 ~]$ crsctl status res -t

--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.asm
               ONLINE  ONLINE       vsnlmmdb04                                   
               ONLINE  ONLINE       vsnlmmdb05    


kindly check and update.

No comments:

Post a Comment