ASMCMD Instance Management Commands

This section describes the ASMCMD Oracle ASM instance management commands.

Some commands in this section affect the Grid Plug and Play (GPnP) profile, which is a resource in a clustered configuration. In an Oracle Restart configuration, the profile is actually located in a resource attribute, not the Grid Plug and Play (GPnP) profile. However, the functionality of the commands is the same for both configurations.

See Also:

Oracle Grid Infrastructure Installation Guide for your operating system for information about installing and configuring Oracle Grid Infrastructure

Table 10-4 provides a summary of the Oracle ASM instance management commands.


Table 10-4 Summary of ASMCMD instance management commands

Command Description

dsget

Retrieves the discovery diskstring value that is used by the Oracle ASM instance and its clients.

dsset

Sets the disk discovery diskstring value that is used by the Oracle ASM instance and its clients.

lsct

Lists information about current Oracle ASM clients.

lsop

Lists the current operations on a disk group or Oracle ASM instance.

lspwusr

Lists the users from an Oracle ASM password file.

orapwusr

Adds, drops, or changes an Oracle ASM password user.

pwcopy

Copies a password file to the specified location.

pwcreate

Creates a password file at the specified location.

pwdelete

Deletes a password file at the specified location.

pwget

Returns the location of the password file.

pwmove

Moves the location of the password file.

pwset

Sets the location of the password file.

showclustermode

Displays the current mode of the Oracle ASM cluster.

showclusterstate

Displays the current state of the cluster.

showpatches

Lists the patches applied to the Oracle Grid Infrastructure home.

showversion

Displays the Oracle ASM cluster release and software patch levels.

shutdown

Shuts down an Oracle ASM instance.

spbackup

Backs up an Oracle ASM SPFILE.

spcopy

Copies an Oracle ASM SPFILE.

spget

Retrieves the location of the Oracle ASM SPFILE.

spmove

Moves an Oracle ASM SPFILE.

spset

Sets the location of the Oracle ASM SPFILE.

startup

Starts up an Oracle ASM instance.