Running ASMCA Command-Line

The syntax for running the ASMCA command-line tool is:

asmca -silent command_name [options] 

Table 9-1 contains the options available with the asmca command-line tool.


Table 9-1 Options for the ASMCA command-line tool

Option Description

-silent

Specifies to run asmca in command-line mode.

command_name

Specifies the command to run. The command can be any of the following:

  • -convertToFlexASM
  • -configureASM
  • -upgradeASM
  • -configureParameter
  • -deleteASM
  • -createDiskGroup
  • -addDisk
  • -createVolume
  • -createACFS

See "ASMCA Commands for Instances and Disk Groups".

options

Specifies the options to run for a command. The options vary by command. See the individual commands described in "ASMCA Commands for Instances and Disk Groups" for the available options.

The following list describes the options that are common for multiple commands.

  • -help

    Displays help for running ASMCA in silent mode.

  • -asmsnmpPassword asmsnmp_password

    The Oracle ASM monitor user (ASMSNMP) password. This is optional and only required when creating and migrating an Oracle ASM instance.

  • -sysAsmPassword sysasm_password

    The SYSASM password for Oracle ASM instance. This option is required.


The following is an example of the -help option.

$ asmca -help
asmca [-silent] [-sysAsmPassword <SYS user password>] [-asmsnmpPassword <ASMSNMP password>] {<command> <options>}
Please refer to the manual for details.
You can enter one of the following commands:
...