how to get t ASM SID in 11gR2 using srvctl commands
758503Mar 8 2010 — edited Apr 23 2010hello
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