HP Serviceguard Toolkit for Oracle Data Guard manual ASMHOME=/ASMTEST0, Support

Models: Serviceguard Toolkit for Oracle Data Guard

1 140
Download 140 pages 15.58 Kb
Page 47
Image 47

1)Set attribute ASM to yes. ASM = yes

2)Specify all the ASM Disk Groups used by the database using the ASM_DISKGROUP attribute.

ASM_DISKGROUP[0]=asm_dg1

ASM_DISKGROUP[1]=asm_dg2

3)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

4)For the ASM_HOME attribute, specify the ASM Home directory. In case of Oracle 11g R2 this is same as Oracle clusterware home directory.

ASM_HOME=/ASM_TEST0

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

ASM_USER=Oracle

6)For the ASM_SID attribute, specify "+ASM". ECMT will automatically discover the ASM SID on a node.

ASM_SID=+ASM

7)Apply the package configuration.

# cmapplyconf -P db1pkg.conf

This command applies the package configuration to the cluster It also creates the toolkit configuration directory defined by the package attribute TKIT_DIR on all target nodes, if it is not already present, and then creates the toolkit configuration file in it with the values specified in the db1pkg.conf file.

8)Open the haoracle.conf file generated in the package directory (TKIT_DIR ) . Ensure the attribute ORA_CRS_HOME is set to the Oracle Clusterware Home directory and the attribute OC_TKIT_DIR is set to the SGeRAC OC MNP package directory.

9)For a running database package, if the value of any of the package attributes need to be modified, then the package needs to be restarted. The given below steps should be followed to update the attribute values of a running database packages :

a)Edit the package configuration file and populate the new values.

b)Halt the package

c)Apply the package configuration file.

d)Start the package

Modifying a legacy database package using an older version of Oracle ECMT scripts to use the scripts provided for ASM support

A customer can migrate from an older ECMT version database package to use the Oracle ECMT scripts provided for ASM support. The new legacy or modular database package may or may not use ASM.

1.Migration to a legacy database package not using ASM:

Halt the database package.

Copy the framework scripts provided in the bundle to the package directory on one node.

Modifying a legacy database package using an older version of Oracle ECMT scripts to use the scripts provided for ASM

47

support

 

Page 47
Image 47
HP Serviceguard Toolkit for Oracle Data Guard manual ASMHOME=/ASMTEST0, Support