(Multiple values for CCRAC_SLVM_VGS and CCRAC_INSTANCE_PKGS must be separated by space).
If multiple sets of Oracle instances accessing different databases are configured in your environment, and require 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.Log in as root on one node of the recovery cluster and repeat steps “b” through “f”. 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 must contain information for all the primary clusters.
8.Configure Continentalclusters Recovery Group for Oracle RAC instance. If you are using an individual package for every RAC instance, define one recovery group for every Oracle RAC instance recovery. The PRIMARY_PACKAGE specified for the Oracle RAC instance recovery group is the name of the instance package configured in 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_NAME | instanceRG2 |
PRIMARY_PACKAGE | ClusterA/instancepkg2 |
RECOVERY_PACKAGE | ClusterB/instancepkg2' |
The packages instancepkg1 and instancepkg2 are configured to run in the primary cluster “ClusterA”. The 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 | manufacturing_recovery |
PRIMARY_PACKAGE | ClusterA/man_rac_mnp |
RECOVERY_PACKAGE | ClusterB/man_rac_mnp |
When recovering a recovery group with
After editing the Continentalclusters configuration file to add in the recovery group specification for Oracle RAC instance packages, you must manually apply the new configuration by running the cmapplyconcl command.
130 Configuring Oracle RAC in Continentalclusters in Legacy style