CCRAC_SLVM_VGS[0]=ccracvg1 ccracvg2
CCRAC_INSTANCE_PKGS[0]=ccracPkg1 ccracPkg2
CCRAC_CLUSTER[0]=PriCluster1
CCRAC_ENV_LOG[0]=/tmp/db1_prep.log
(Multiple values for CCRAC_SLVM_VGS and CCRAC_INSTANCE_PKGS should be separated by space).
If multiple sets of Oracle instances accessing different databases are configured in your environment and need Continentalclusters recovery support, repeat this set of parameters with an incremented index. For example,
CCRAC_ENV[0]=/etc/cmconcl/ccrac/db1/db1EnvFile_xpca.env CCRAC_SLVM_VGS[0]=ccracvg1 ccracvg2CCRAC_INSTANCE_PKGS[0]=ccracPkg1 ccracPkg2CCRAC_CLUSTER[0]=PriCluster1 CCRAC_ENV_LOG[0]=/tmp/db1_prep.log CCRAC_ENV[1]=/etc/cmconcl/ccrac/db2/db2EnvFile_srdf.env CCRAC_CVM_DGS[1]=racdg01 racdg02 CCRAC_INSTANCE_PKGS[1]=ccracPkg3 ccrac Pkg4CCRAC_CLUSTER[1]=PriCluster2 CCRAC_ENV_LOG[1]=/tmp/db2_prep.log CCRAC_ENV[2]=/etc/cmconcl/ccrac/db3/db3EnvFile_xpca.env CCRAC_SLVM_VGS[2]=ccracvg5 ccracvg6 CCRAC_INSTANCE_PKGS[2]=ccracPkg5 ccracPkg6 CCRAC_CLUSTER[2]=PriCluster2
e.Copy the edited file to the final directory:
# cp ccrac.config.mycopy \/etc/cmconcl/ccrac/ccrac.config
f.Copy file /etc/cmconcl/ccrac/ccrac.config to all the other nodes of the cluster.
g.Login as root on one node of the recovery cluster and repeat steps “b” through “f” from above. If the recovery cluster is configured to recover the Oracle RAC instances for more than one primary cluster, the ccrac.config file on the recovery cluster should contain information for all the primary clusters.
8.Configure Continentalclusters Recovery Group for Oracle RAC instance. If you are using an individual package for each RAC instance, define one recovery group for each Oracle RAC instance recovery. The PRIMARY_PACKAGE specified for the Oracle RAC instance recovery group is the name of the instance package configured on the primary cluster. The RECOVERY_PACKAGE specified for the RAC instance recovery group is the corresponding instance package name configured on the recovery cluster. For example:
RECOVERY_GROUP_NAMEinstanceRG1
PRIMARY_PACKAGEClusterA/instancepkg1
RECOVERY_PACKAGE
ClusterB/instancepkg1'
RECOVERY_GROUP_NAMEinstanceRG2
PRIMARY_PACKAGEClusterA/instancepkg2
RECOVERY_PACKAGE
ClusterB/instancepkg2'
Packages instancepkg1 and instancepkg2 are configured to run on primary cluster
“ClusterA”. Packages instancepkg1’ and instancepkg2’are configured to be restarted or recovered on the recovery cluster “ClusterB” upon primary cluster failure.
If you are using one
RECOVERY_GROUP_NAME PRIMARY_PACKAGE RECOVERY_PACKAGE
manufacturing_recovery ClusterA/man_rac_mnp ClusterB/man_rac_mnp
Support for Oracle RAC Instances in a Continentalclusters Environment 119