Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to get t ASM SID in 11gR2 using srvctl commands

758503Mar 8 2010 — edited Apr 23 2010
hello

I am looking for a command which gives ASM SID.

in 11gR1 i am using the following command

srvctl config asm -n <node name>

+ASM2 /var/opt/product/RACDB

i use the first part of it and use it in scripts.

srvctl status asm -n <node name>

ASM instance +ASM2 is running on node <node name>.



the above comand also gives ASM SID in 11gR1. but coming to 11gR2 the output is as below.


srvctl status asm
ASM is running on <node1>,<node2>

srvctl status asm -n <node name>
ASM is running on <node name>


srvctl config asm -n <node name>
-n option has been deprecated and will be ignored.
ASM home: /var/CRS
ASM listener: LISTENER


Any of the above commands doesnt give the ASM SID( asm instance name). can you please specify the command in 11gR2 to get it. or any other smarter way of doing it.

Thanks in advance


Regards
Sampath
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 21 2010
Added on Mar 8 2010
4 comments
4,133 views