Developers Guide
Other useful commands for an ASM environment
18 Dell EMC SC Series Storage with Oracle ASM | CML1111
B Other useful commands for an ASM environment
The following commands can be useful in an ASM configuration. For a complete list of commands, refer to the
references in appendix D.
Component
Description
srvctl modify asm -count <n>
Change cardinality of Flex ASM instances to <n>
srvctl config asm
Display ASM configuration
srvctl status asm -detail
Display status of ASM on all nodes
crsctl status res ora.asm [-t|–l|-f]
Display status of ASM and cardinality of Flex ASM if enabled.
crsctl status res
ora.ASMNET1LSNR_ASM.lsnr [-t|-l|-f]
Display status of the listener used by Flex ASM
asmcmd showversion
Display ASM version
asmcmd showpatches
Display the patches applied on the grid home
asmcmd showclustermode
Show if flex ASM is enabled
asmcmd showclusterstate
Displays ASM rolling migration/patching state
asmcmd lsct <diskgroup>
Display information about ASM clients
asmcmd pwget --asm
Display ASM password file location
asmcmd spget
Display ASM spfile file location
asmcmd shutdown
Shut down an Oracle ASM instance
asmcmd startup
Start up an Oracle ASM instance
asmcmd spbackup
Back up an Oracle ASM spfile
oifcfg getif
Display the network interfaces (including ASM’s)
olsnodes –n –s -a
Display state and type of nodes (hub,leaf) in cluster
See the Oracle Automatic Storage Management Administrator’s Guide, 12c Release 1 (12.1), for additional
information.