when shutting down ASM using "srvctl stop asm -n linix101", I got this error.
PRCR-1014 : Failed to stop resource ora.asm
PRCR-1065 : Failed to stop resource ora.asm
CRS-2673: Attempting to stop 'ora.asm' on 'linux101'
ORA-15097: cannot SHUTDOWN ASM instance with connected client
CRS-2675: Stop of 'ora.asm' on 'linux101' failed
The reason you need to stop crs therefore stopping ASM is your OCR is located on ASM disks. Thus ASM can't be shutdown while cluster is running.
See metalink 984663.1.
this error may occur if my ocr and voting disk were residing on ASM then it will not allow me to stop the asm and I should use (Check below links)
PRCR-1014 : Failed to stop resource ora.asm
PRCR-1065 : Failed to stop resource ora.asm
CRS-2673: Attempting to stop 'ora.asm' on 'linux101'
ORA-15097: cannot SHUTDOWN ASM instance with connected client
CRS-2675: Stop of 'ora.asm' on 'linux101' failed
The reason you need to stop crs therefore stopping ASM is your OCR is located on ASM disks. Thus ASM can't be shutdown while cluster is running.
See metalink 984663.1.
this error may occur if my ocr and voting disk were residing on ASM then it will not allow me to stop the asm and I should use (Check below links)
www.dba-village.com/village/dvp_forum.OpenThread?ThreadIdA=43116
But I have verified my ocr file and voting disk are residing on ASM.
[root@RAC1 bin]# ./ocrcheck Status of Oracle Cluster Registry is as follows : Version : 3 Total space (kbytes) : 8381156 Used space (kbytes) : 6060 Available space (kbytes) : 8375096 ID : 1141966925 Device/File Name : /dev/raw/raw1 Device/File integrity check succeeded Device/File not configured Device/File not configured Device/File not configured Device/File not configured Cluster registry integrity check succeeded Logical corruption check succeeded [root@RAC1 bin]# ./crsctl query css votedisk ## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- --------- 1. ONLINE 03db5164ffb96f85ff95896b184eb362 (/dev/raw/raw2) [] Located 1 voting disk(s).From 11g R2 onwards, ASM disk groups are now registered as resources within Grid Infrastructure and the dependency has been redefined, means the dependency is already set in resource definition. This dependency is created with one or more ASM disk groups. For ex. ------- [oracle@london1 ~]$ crsctl status resource ora.prod.db -p NAME=ora.prod.db TYPE=ora.database.type ACL=owner:oracle:rwx,pgrp:oinstall:rwx,other::r-- [...] SPFILE=+DATA/prod/spfileprod.ora START_DEPENDENCIES=hard(ora.DATA.dg) [...] pullup(ora.DATA.dg) STOP_DEPENDENCIES=hard(intermediate:ora.asm,shutdown:ora.DATA.dg) You can see that a start dependency has been created for the disk group DATA, which will also be started if needed as part of the database start. Similarly, a stop dependency exists for the same disk group. The hard dependency at "ora.asm" shows that the database must be shutdown before stopping the ASM. Note that not only database, but other resources may also have dependency on the ASM, like ACFS. So if you use "force" option to execute the stop command on ASM, still some components won't stop, due to too many dependencies on other resources. So, to stop ASM in 11gR2, "crsctl stop crs" or "crsctl stop cluster" is the only option to stop the ASM, since it first stop all the dependent resources the stop the ASM. So, I think in my case, there must be some resources which depends on ASM, like my database files would be on ASM.
No comments:
Post a Comment