Top
PRIMECLUSTER Wizard for Oracle 4.3 Configuration and Administration Guide

2.4.2 ASM (Automatic Storage Management)

Automatic Storage Management (hereafter ASM) can be used for standby operation or scalable operation.

2.4.2.1 Environment configuration with Oracle 10g R2/11g R1

Notes in the case of using ASM of Oracle 10g R2/11g R1 in standby operation are as follows.

Creation and configuration of ASM instances

ASM initialization parameter check

Check if the disk group in which the Oracle Database is created is set for the ASM instance initialization parameter “ASM_DISKGROUPS”.

Information

For the initialization parameter of the ASM instance, see the Oracle manual.

userApplication creation

When creating userApplication, create an ASM instance resource and Oracle instance resource. Register them in the same Oracle resource.
The following screen is an example of the Oracle resource "Oracle1" with the ASM "+ASM" instance and the Oracle instance "db10g".

Information

  • For further details of registering ASM instance in an Oracle resource, refer to step 3 of "2.2.7.2 Oracle Resource Creation"

  • The NULLDETECTOR attribute is automatically set to the flag of the ASM instance resource. This value cannot be changed.

2.4.2.2 Environment configuration with Oracle 11g R2

Notes in the case of using ASM of Oracle 11g R2 in standby operation are as follows.

Supported Configurations

In order to use ASM of Oracle 11g R2, it is necessary to install Oracle Grid Infrastructure. When installing Oracle Grid Infrastructure, the composition which separates the installation user of Oracle Database and the installation user of Oracle Grid Infrastructure is supported. The composition which creating one user is not supported.
A different directory must be assigned respectively for an ORACLE_BASE of the installation user of Oracle Database and an ORACLE_BASE of the installation user of Oracle Grid Infrastructure.

Oracle Grid Infrastructure Installation and ASM instance, Oracle Database Creation

See "Appendix C Oracle Grid Infrastructure Installation and ASM instance, Oracle Database Creation" to install Oracle Grid Infrastructure and create ASM instance, Oracle Database.

Note

  • ASM instance name must begin with “+”. The default name is “+ASM”.

  • If multiple ORACLE_HOME are configured on one server, a different Oracle instance name must be assigned.

  • The relation between ASM instance and database should become 1:1 or 1:n.

    • ASM instance : database = 1:1

    • ASM instance : database = 1:n
      The following figure shows an example that ASM instance : database = 1:2.

  • The following configuration of standby operation using Oracle ASM 11g R2 is supported.

    • 1:1 standby

    The following configuration of standby operation using Oracle ASM 11g R2 is not supported.

    • Cascade

    • Mutual standby

    • N:1 standby

    • Priority transfer

    • N:M standby

    Information

    For further details, refer to "Part 1 Planning" of the "PRIMECLUSTER Installation and Administration Guide".

See

Refer to the Oracle manual.

Change Oracle Restart Settings

Execute the following command on each node with Grid user access privileges to set for Oracle Restart and the CSS(Cluster Services Synchronization) daemon to start when OS starts, and disable automatic startup of Oracle instances, Oracle listener, and ASM.

Component

Command

Oracle Restart

crsctl enable has

CSS

crsctl modify resource ora.cssd -attr "AUTO_START=always"

ASM

srvctl disable asm

Oracle listener

srvctl disable listener [-l <listener_name>]

Oracle instance

srvctl disable database -d <db_unique_name>

userApplication Create

When creating userApplication, create an ASM instance resource and Oracle instance resource. Register them in the same Oracle resource.
The following screen is an example of the Oracle resource "Oracle1" with the ASM "+ASM" instance and the Oracle instance "db11g".

Information

  • For further details of registering ASM instance in a Oracle resource, refer to step 3 of "2.2.7.2 Oracle Resource Creation"

  • The NULLDETECTOR attribute is automatically set to the flag of the ASM instance resource. This value cannot be changed.

Note

  • Set up Grid user to ASM instance resource and Oracle listener resource, Oracle user to Oracle instance resource.

  • Set up the following script in PreOnlineScript of the ASM instance resource to start ASM after CSS started.

    /opt/FJSVclora/sbin/cloracsswait <Grid user>

2.4.2.3 Precaution for ASM operation

A disk group that is used for the ASM instance must not be mounted or unmounted manually. If the disk group is mounted, the following message might be output to the console when the ASM resource is activated, but no action needs to be taken.

ORA-15032: not all alterations performed
ORA-15017: diskgroup “diskgroup name” cannot be mounted
ORA-15030: diskgroup name “diskgroup name” is in use by another diskgroup