ASM_DISKGROUP[1] asm_dg2

Specify all the LVM Volume Groups used by the ASM Disk Groups using the ASM_VOLUME_GROUP attribute:

ASM_VOLUME_GROUP[0] vgora_asm1 ASM_VOLUME_GROUP[1] vgora_asm2

For the ASM_HOME attribute, specify the ASM Home directory. In case of Oracle 11g

R2 this is same as CRS Home: ASM_HOME /ASM_TEST0

For the ASM_USER attribute, specify the UNIX user account for administering ASM Instances:

ASM_USER oracle

For the ASM_SID attribute, Specify "+ASM" in a coexistence environment, ECMT will automatically discover the ASM SID on a node:

ASM_SID +ASMApply the package configuration file:

# cmapplyconf -P pkg2.conf

This command "applies" the package configuration to the CDB (Serviceguard Configuration Database). It also creates toolkit configuration directory defined by TKIT_DIR on all target nodes, if not already present and then creates the toolkit configuration file in it with the values specified in the pkg2.conf file.

Open the haoracle.conf file generated in the package directory (TKIT_DIR).

Configuring a legacy failover package for an Oracle database using ASM in a Coexistence Environment

To configure an ECMT legacy package for an Oracle database:

1.Log in as the Oracle administrator and run the following command to set the database management policy to manual:

$ORACLE_HOME/bin/srvctl modify database -d <dbname> -y MANUAL

2.Create your own database package directory under /etc/cmcluster and copy over the files shipped in the bundle.

Log in as root:

#mkdir /etc/cmcluster/db1_package

#cd /etc/cmcluster/db1_package

Copy the framework scripts provided to this location.

3.Edit the configuration file haoracle.conf for the database failover package to fit your Oracle environment. Set the following parameters in the configuration file:

INSTANCE_TYPE=database ORACLE_HOME=/ORACLE_TEST0 ORACLE_ADMIN=oracle SID_NAME=ORACLE_TEST0 ASM=yes ASM_DISKGROUP[0]=asm_dg1 ASM_DISKGROUP[1]=asm_dg2 ASM_VOLUME_GROUP[0]=vgora_asm1 ASM_VOLUME_GROUP[1]=vgora_asm2

Configuring and packaging Oracle single-instance database to co-exist with SGeRAC packages 55