ASMCA Command-Line Interface for Managing Oracle ACFS and Oracle ADVM

The ASMCA command-line interface provides non-GUI support for configuring Oracle ASM disk groups, volumes, and Oracle ACFS.

For general information about running ASMCA command-line interface, refer to "Running ASMCA Command-Line".

ASMCA Commands for Oracle ACFS and Oracle ADVM

This section describes the commands that can be run with ASMCA command-line.

Run ASMCA commands as a Windows domain user.

Create a Volume

-createVolume creates Oracle ADVM volumes.

Syntax

asmca -silent
      -createVolume
        { -volumeName volume_name
         -volumeDiskGroup diskgroup
         -volumeSizeGB size_GB
         [ -volumeRedundancy { INHERIT | HIGH | NORMAL | EXTERNAL } ] ... }
       [-sysAsmPassword sysasm_password ]

Table 14-1 contains the options available with the -createVolume command.


Table 14-1 Options for the -createVolume command

Option Description

-volumeName volume_name

Specifies the name of the volume to create.

-volumeDiskGroup diskgroup

Specifies the name of the disk group where you want to create the volume.

-volumeSizeGB size_GB

Specifies the size of the volume in Gigabytes.

-volumeRedundancy { INHERIT | HIGH | NORMAL | EXTERNAL }

Specifies the redundancy setting for the volume.


For additional options that are common to multiple commands, see Table 9-1.

Examples

To create an Oracle ADVM volume:

Example 14-1 Using asmca -silent -createVolume

$ asmca -silent
        -createVolume
           -volumeName volume1 
           -volumeDiskGroup mynewdg 
           -volumeSizeGB 1 

Volume volume1 created successfully.

Create an Oracle ACFS File System

-createACFS creates an Oracle Automatic Storage Management Cluster File System (Oracle ACFS).

This command does not mount the Oracle ACFS file system. For information about mounting an Oracle ACFS file system, see "mount" for Linux environments and "acfsmountvol" for Windows environments.

Syntax

asmca -silent
      -createACFS
       { -acfsVolumeDevice volume_device }
       { -acfsMountPoint mount_path }
       [-acfsUserName acfs_username ]
       [-acfsUserGroup acfs_usergroup ]
       [-sysAsmPassword sysasm_password ]

Table 14-2 contains the options available with the -createACFS command.


Table 14-2 Options for the -createACFS command

Option Description

-acfsVolumeDevice volume_device

Specifies the name of the Oracle ADVM volume device.

-acfsMountPoint mount_path

Specifies an existing path to be used as the mount point. This is required in an Oracle RAC environment.

-acfsUserName acfs_username

Specifies the Oracle ACFS user name.

-acfsUserGroup acfs_usergroup

Specifies the Oracle ACFS group name.


For additional options that are common to multiple commands, see Table 9-1.

Examples

To create an Oracle ACFS file system:

Example 14-2 Using asmca -silent -createACFS

$ asmca -silent
        -createACFS
           -acfsVolumeDevice /dev/asm/volume1-457
           -acfsMountPoint /acfsmounts/acfs1