HP Serviceguard Metrocluster manual Failover of Oracle RAC instances to the recovery site

Models: Serviceguard Metrocluster

1 151
Download 151 pages 11.74 Kb
Page 132
Image 132

a.Generate the resource profile.

# crs_stat -p instance_name >

$CRS_HOME/crs/public/instance_name.cap

b.Edit the resource profile and set AUTO_START value to 2.

c.Register the value.

#crs_register -u instance_name

d.Verify the value.

#crs_stat -p instance_name

Initial startup of Oracle RAC instance in a Continentalclusters environment

To ensure that the disk array is ready for access in shared mode for the Oracle RAC instances, HP recommends that you run the Continentalclusters tool /opt/cmconcl/bin/ccrac_mgmt.ksh to initially startup the configured instance packages. This tool ensures that the configured disk array is ready in writable mode for shared access before starting up the RAC instance packages. If this tool is not used, manually verify to ensure the storage is ready in writable and shared access mode before starting the RAC instance packages.

NOTE: HP recommends that ccrac_mgmt.ksh bè used for the initial startup of the RAC instance package, or for failing back the RAC instance packages. This tool must not be used at the recovery site for recovering RAC instance packages, instead cmrecovercl must be used.

After the initial startup, use the Serviceguard commands cmhaltpkg, cmrunpkg, cmmodpkg as required to halt and restart the packages in the primary cluster.

To startup the Oracle RAC instance packages on any node of the primary cluster:

1.If the cluster is running with Serviceguard and Oracle CRS, ensure that the CRS daemons and the required Oracle services, such as listener, GSD, ONS, and VIP are up and running on all the nodes the RAC database instances are configured to run.

2.Ensure the /etc/cmconcl/ccrac/ccrac.config file exists and was edited to contain the appropriate information.

3.To start all the RAC instance packages configured to run as primary packages on the local cluster.

# /opt/cmconcl/bin/ccrac_mgmt.ksh start

To start a specific set of RAC instance packages.

# /opt/cmconcl/bin/ccrac_mgmt.ksh -i <indexNumber> start

<IndexNumber> is the index used in the /etc/cmconcl/ccrac/ccrac.config file for the target set of the Oracle RAC instance packages.

4.To stop all the RAC instance packages configured to run as primary packages on the local cluster.

# /opt/cmconcl/bin/ccrac_mgmt.ksh stop

To stop a specific set of RAC instance packages.

# /opt/cmconcl/ccrac_mgmt.ksh -i <indexNumber> stop

<IndexNumber> is the index used in the /etc/cmconcl/ccrac/ccrac.config file for the target set of the Oracle RAC instance packages.

Failover of Oracle RAC instances to the recovery site

Upon a disaster that disables the primary cluster, to start up a Continentalclusters recovery process, run the following command:

# cmrecovercl

For the cluster environment having Serviceguard and Oracle Clusterware, confirm that the Clusterware daemons and the required Oracle services, such as listener, GSD, ONS, and VIP, are

132 Configuring Oracle RAC in Continentalclusters in Legacy style

Page 132
Image 132
HP Serviceguard Metrocluster manual Failover of Oracle RAC instances to the recovery site