14 Managing Oracle ACFS and Oracle ADVM With ASMCA
Oracle ASM Configuration Assistant (ASMCA) provides utilities for managing Oracle Automatic Storage Management Cluster File System (Oracle ACFS) and Oracle ASM Dynamic Volume Manager (Oracle ADVM).
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:
For information about managing Oracle ASM instances and disk groups with ASMCA, refer to Managing Oracle ASM With ASMCA.
Note:
Some ASMCA functionality and menu options are only available in specific environments, such as an Oracle RAC configuration. For details about a specific ASMCA page, access the online help provided with the Help button.
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.
Oracle ASM Configuration Assistant enables you to create or configure an Oracle ADVM volume.
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.
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.
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.
Before creating an Oracle ADVM volume on AIX, ensure that the necessary user authorizations have been created.
See Also:
-
Managing Oracle ADVM Volumes in a Disk Group for information about the
ALTER
DISKGROUP
ADD
VOLUME
statement -
volcreate for information about the advanced options when creating a volume
-
Disk Group Compatibility Attributes for information about disk group compatibility
-
Oracle ACFS Command-Line Tools for the AIX Environment for information about creating an Oracle ADVM volume on the AIX operating system
-
Managing Oracle ADVM with ASMCMD for information about creating a volume with the ASMCMD
volcreate
command -
Introducing Oracle ACFS and Oracle ADVM for an overview of Oracle ACFS
Managing Oracle ACFS File Systems with ASMCA
Oracle ASM Configuration Assistant enables you to create or configure an Oracle ACFS file system.
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 or execute the security commands
-
Create or delete snapshots
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.
Oracle ASM Configuration Assistant enables you to create an Oracle ACFS file system.
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.
You can choose to create an Oracle ACFS file system for an Oracle Database.
See Also:
-
acfsmountvol for information about mounting an Oracle ACFS file system on Windows
-
mount for information about mounting an Oracle ACFS file system on Linux
-
Creating an Oracle ACFS File System for Database Use for more information about creating a file system for a database home
-
Introducing Oracle ACFS and Oracle ADVMfor additional information about Oracle ACFS
-
Basic Steps to Manage Oracle ACFS Systems for a summary of the basic steps for creating an Oracle ACFS file system
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.
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 that displays, 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
After security has been initialized, you can use the menu options to manage security and encryption for an Oracle ACFS file system.
The menu includes options to:
-
Set encryption
-
Enable and disable encryption
-
Prepare and enable security
-
Enable and disable security
See Also:
-
acfsutil sec init and acfsutil encr init for information about the
acfsutil
sec
init
andacfsutil
encr
init
commands -
Oracle ACFS Security for information about Oracle ACFS security
-
Securing Oracle ACFS File Systems for a summary of the basic steps for setting up security on an Oracle ACFS file system
-
Oracle ACFS Encryption for information about Oracle ACFS encryption
-
Encrypting Oracle ACFS File Systems for a summary of the basic steps for setting up encryption on an Oracle ACFS file system
-
Oracle ACFS Command-Line Utilities for information about the
acfsutil
encr
andacfsutil
sec
commands
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 to display the dialog entry box.
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.
In this dialog, you must enter:
-
Volume Name
This is the name of the Oracle ADVM volume you want to create.
-
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. -
Size in gigabytes (GB)
The default is 7 GB and the minimum recommended size.
-
Owner Name
This is the operating system name of the user that installs the database and owns the software in the 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.
Select Automatically run configuration commands to run ASMCA configuration commands automatically. To use this option, you must provide the root
credentials on the ASMCA Settings page.
The mount command may also be run manually as root
or the Windows Administrator
at an operating system prompt.
See Also:
-
volcreate for information about the
volcreate
command -
Managing Oracle ADVM Volumes in a Disk Group for information about the
ALTER
DISKGROUP
ADD
VOLUME
statement -
Overview of Oracle ASM Dynamic Volume Manager for information about Oracle ADVM volumes
-
About Oracle ACFS and Oracle Database Homes for information about mount points and database homes
-
mount for information about mounting an Oracle ACFS file system on Linux
-
acfsmountvol for information about mounting an Oracle ACFS file system on Windows
-
About the Oracle ACFS Mount Registry for information on the mount registry
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 to manage Oracle ACFS objects.
Run ASMCA commands as a Windows domain user.
Create an Oracle ACFS Snapshot
—createACFSSnapshot
creates an Oracle Automatic Storage Management Cluster File System (Oracle ACFS) snapshot.
Syntax
asmca -silent -createACFSSnapshot (-acfsMountPoint mount_path ) (-snapshotName snapshot_name ) [-snapshotMode { r|w } ] [-parentSnapshotName parent_snapshot_name ]
Table 14-1 contains the options available with the —createACFSSnapshot
command.
Table 14-1 Options for the -createACFSSnapshot command
Option | Description |
---|---|
|
Specifies an existing path to be used as the mount point. This is required in an Oracle RAC environment. |
|
Specifies the name of the Oracle ACFS snapshot. |
|
Specifies the mode of the Oracle ACFS snapshot, either read-only ( |
|
Specifies the name of the Oracle ACFS parent snapshot. |
Delete an Oracle ACFS Snapshot
—deleteACFSSnapshot
deletes an existing Oracle Automatic Storage Management Cluster File System (Oracle ACFS) snapshot.
Syntax
asmca -silent -deleteACFSSnapshot (-acfsMountPoint mount_path ) (-snapshotName snapshot_name )
Table 14-2 contains the options available with the —deleteACFSSnapshot
command.
Table 14-2 Options for the -deleteACFSSnapshot command
Option | Description |
---|---|
|
Specifies an existing path to be used as the mount point. This is required in an Oracle RAC environment. |
|
Specifies the name of the Oracle ACFS snapshot. |
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-3 contains the options available with the -createVolume
command.
Table 14-3 Options for the -createVolume command
Option | Description |
---|---|
|
Specifies the name of the volume to create. |
|
Specifies the name of the disk group where you want to create the volume. |
|
Specifies the size of the volume in Gigabytes. |
|
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-4 contains the options available with the -createACFS
command.
Table 14-4 Options for the -createACFS command
Option | Description |
---|---|
|
Specifies the name of the Oracle ADVM volume device. |
|
Specifies an existing path to be used as the mount point. This is required in an Oracle RAC environment. |
|
Specifies the Oracle ACFS user name. |
|
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