Skip Headers
Oracle® Automatic Storage Management Administrator's Guide
12c Release 1 (12.1)

E17612-20
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

14 Managing Oracle ACFS and Oracle ADVM With ASMCA

Oracle ASM Configuration Assistant (ASMCA) supports installing and configuring Oracle ASM instances, Oracle ASM disk groups, Oracle ASM Dynamic Volume Manager (Oracle ADVM) volumes, and Oracle Automatic Storage Management Cluster File System (Oracle ACFS) file systems. In addition, you can use the ASMCA command-line interface.

This chapter discusses the following topics:

The Instances tab functionality and some menu options of ASMCA are only available in an Oracle RAC configuration. For information about managing Oracle ASM instances and disk groups with ASMCA, refer to Chapter 9, "Managing Oracle ASM With ASMCA".

ASMCA GUI Tool for Managing Oracle ACFS and Oracle ADVM

This section contains the following topics:

Managing Oracle ADVM Volumes with ASMCA

Note:

When creating an Oracle ADVM volume for an Oracle ACFS file system that is intended to store database files, use the ASMCMD volcreate command or the SQL ALTER DISKGROUP ADD VOLUME SQL statement rather than the ASMCA tool to ensure that the column striping is set to 1. For information about the volcreate command, refer to "volcreate". For information about the ALTER DISKGROUP ADD VOLUME statement, refer to "Managing Oracle ADVM Volumes in a Disk Group".

Oracle ASM Configuration Assistant enables you to create or configure an Oracle ADVM volume, as shown in Figure 14-1.

Right click a selected volume in the Oracle ASM Configuration Assistant screen to display the configuration options menu.

The menu includes options to:

  • Enable disabled volumes and disable enabled volumes

  • View status details

  • Resize volumes that have not been mounted on an Oracle ACFS file system

  • Delete volumes

There are options for creating a volume, enabling all volumes, and disabling all volumes.

Figure 14-1 Oracle ASM Configuration Assistant Configure ASM Volumes Page

Description of Figure 14-1 follows
Description of "Figure 14-1 Oracle ASM Configuration Assistant Configure ASM Volumes Page"

Click Create to display the dialog for creating a volume. You must provide a unique volume name for the existing Oracle ASM disk group that you select from the list of disk groups. You must also specify the size for the volume. You can optionally choose to display advanced options for creating a volume which enables you to specify the redundancy level and striping characteristics. For information about the advanced options when creating a volume, refer to "volcreate".

The compatibility parameters COMPATIBLE.ASM and COMPATIBLE.ADVM must be set to 11.2 or higher for the disk group to contain an Oracle ADVM volume. To use Oracle ACFS encryption, replication, security, or tagging, the disk group on which the volume is created for the file system must have compatibility attributes for ASM and ADVM set to 11.2.0.2 or higher. See "Disk Group Compatibility Attributes".

Before creating an Oracle ADVM volume on AIX, ensure that the necessary user authorizations have been created. For information, refer to "Oracle ACFS Command-line Tools for the AIX Environment".

Figure 14-2 Oracle ASM Configuration Assistant Create an ASM Volume Page

Description of Figure 14-2 follows
Description of "Figure 14-2 Oracle ASM Configuration Assistant Create an ASM Volume Page"

For information about creating a volume with the ASMCMD volcreate command, refer to Chapter 15, "Managing Oracle ADVM with ASMCMD". For an overview of Oracle ACFS, see Chapter 11, "Introducing Oracle ACFS and Oracle ADVM".

Managing Oracle ACFS File Systems with ASMCA

Oracle ASM Configuration Assistant enables you to create or configure an Oracle ACFS file system, as shown in Figure 14-3.

To configure an existing file system, right click a selected file system in the Oracle ASM Configuration Assistant screen to display the configuration options menu.

The menu includes options to:

  • View status details

  • Mount and dismount the file system

  • Resize the file system

  • Delete the file system

  • Display the security commands

Some commands require root privileges, such as mounting a file system. ASMCA generates the command for you to run manually as root.

When creating Oracle ACFS file systems on Windows, run ASMCA as a Windows domain user who is also an administrator of the computer.

There are buttons for Create, Mount All, Dismount All, and Security and Encryption commands.

Figure 14-3 Oracle ASM Configuration Assistant Configure Oracle ACFS Page

Description of Figure 14-3 follows
Description of "Figure 14-3 Oracle ASM Configuration Assistant Configure Oracle ACFS Page"

Oracle ASM Configuration Assistant enables you to create an Oracle ACFS file system, as shown in Figure 14-3.

Select Create, then select the type of Oracle ACFS file system you want to create and an existing Oracle ADVM volume from the lists. Specify the mount point field; the mount point must be an existing directory. The file system must be mounted to make it available. You can choose to enable the Auto Mount option. You can also provide a description of the file system in the Description field.

The mount command must be manually run as root or the Windows Administrator at an operating system prompt. For information about mounting an Oracle ACFS file system, see "mount" for Linux or "acfsmountvol" for Windows.

You can choose to create an Oracle ACFS file system for an Oracle Database. For more information about creating a file system for a database home, see "Creating an Oracle ACFS File System for Database Use".

Figure 14-4 Oracle ASM Configuration Assistant Create Oracle ACFS Dialog

Description of Figure 14-4 follows
Description of "Figure 14-4 Oracle ASM Configuration Assistant Create Oracle ACFS Dialog"

For information about Oracle ACFS, see Chapter 11, "Introducing Oracle ACFS and Oracle ADVM". For a summary of the basic steps for creating an Oracle ACFS file system, see "Basic Steps to Manage Oracle ACFS Systems".

Managing Security and Encryption for Oracle ACFS with ASMCA

Oracle ASM Configuration Assistant enables you to configure security and encryption for an Oracle ACFS file system, as shown in Figure 14-5.

Figure 14-5 Oracle ASM Configuration Assistant Configure Security and Encryption Dialog

Description of Figure 14-5 follows
Description of "Figure 14-5 Oracle ASM Configuration Assistant Configure Security and Encryption Dialog"

You must initialize the security system as the first step in configuring security for an Oracle ACFS file system. You must also initialize the encryption system as the first step in encrypting an Oracle ACFS file system. You do not have to use both Oracle ACFS security and encryption on the same file system. If you decide to use both security and encryption, then encryption must be initialized and set before enabling encryption on a security realm.

In the dialog shown in Figure 14-5, enter the information to specify the security administrator and the operating system group of the security administrator. You can choose to create a password protected wallet. After you complete the entry fields in the dialog, click Show Command to display the commands you must run as a root or Administrator user at an operating system prompt. For example:

# /sbin/acfsutil sec init -u grid -g asmadmin
# /sbin/acfsutil encr init

For information about the acfsutil sec init and acfsutil encr init commands, refer to "acfsutil sec init" and "acfsutil encr init".

After security has been initialized, you can use the menu options to manage security and encryption for an Oracle ACFS file system, as shown in Figure 14-6.

The menu includes options to:

  • Set encryption

  • Enable and disable encryption

  • Prepare and enable security

  • Enable and disable security

Figure 14-6 Oracle ASM Configuration Assistant Oracle ACFS Security Menu Options

Description of Figure 14-6 follows
Description of "Figure 14-6 Oracle ASM Configuration Assistant Oracle ACFS Security Menu Options"

For information about Oracle ACFS security, see "Oracle ACFS Security". For a summary of the basic steps for setting up security on an Oracle ACFS file system, see "Securing Oracle ACFS File Systems".

For information about Oracle ACFS encryption, see "Oracle ACFS Encryption". For a summary of the basic steps for setting up encryption on an Oracle ACFS file system, see "Encrypting Oracle ACFS File Systems".

For information about the acfsutil encr and acfsutil sec commands, see "Oracle ACFS Command-Line Utilities".

Creating an Oracle ACFS File System for Database Use

To create an Oracle ACFS file system for database use, you can select the Create ACFS for Database Use from the disk group configuration options menu, as shown in Figure 9-4. A dialog displays as shown in Figure 14-7.

Note:

When creating an Oracle ADVM volume for an Oracle ACFS file system that is intended to store database files, use the ASMCMD volcreate command or the SQL ALTER DISKGROUP ADD VOLUME SQL statement rather than the ASMCA tool to ensure that the column striping is set to 1. For information about the volcreate command, refer to "volcreate". For information about the ALTER DISKGROUP ADD VOLUME statement, refer to "Managing Oracle ADVM Volumes in a Disk Group".

In this dialog, you must enter:

  • Database Home Volume Name

    This is the name of the Oracle ADVM volume you want to create. For information about Oracle ADVM volumes, refer to "Overview of Oracle ASM Dynamic Volume Manager" and "volcreate".

  • Database Home Mount Point

    This is the mount point for the file system where you want to install the database home. The file system that contains the database home should not be located under the Oracle Grid Infrastructure base (ORACLE_BASE for grid) directory. For information about mount points and database homes, see "About Oracle ACFS and Oracle Database Homes".

  • Database Home Size in gigabytes (GB)

    The default is 7 GB and the minimum recommended size.

  • Database Home Owner Name

    This is the operating system name of the user that installs the database and owns the software in the database home.

  • Database Home Owner Group

    This is the operating system group of the owner of the database home.

The mount point must be an existing directory. The file system must be mounted to make it available. The mount command must be manually run as root or the Windows Administrator at an operating system prompt. For information about mounting an Oracle ACFS file system, see "mount" for Linux or "acfsmountvol" for Windows.

For information on the mount registry, see "About the Oracle ACFS Mount Registry".

Figure 14-7 Oracle ASM Configuration Assistant Create Oracle ACFS for Database Use Dialog

Description of Figure 14-7 follows
Description of "Figure 14-7 Oracle ASM Configuration Assistant Create Oracle ACFS for Database Use Dialog"

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.

-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