Building Disaster Recovery Serviceguard Solutions Using Continentalclusters A.08.00

a. Log in as root on one node of the primary cluster.
b. Change to your own directory:
# cd <your own directory>
c. Copy the file:
# cp /opt/cmconcl/scripts/ccrac.config ccrac.config.mycopy
d. Edit the file ccrac.config.mycopy to suit your environment.
The following parameters must be edited:
CCRAC_ENV - fully qualified Metrocluster environment file name.
This file naming convention is required by the Metrocluster
software. It must be appended with _<DataReplication>.env where
<DataReplication> is the name of the data replication scheme
being used. See the Metrocluster documents for the environment
file naming convention.
This parameter is mandatory
CCRAC_SLVM_VGS - SLVM volume groups configured for the device
specified in the above environment file for variable DEVICE_GROUP.
These are the volume groups used by the associated RAC instance
packages. It is important that all of the volume groups configured
for the specified DEVICE_GROUP are listed. If only partial of
the configured volume groups are listed, the device will not be
prepared properly and the storage will result in an inconsistent
state.
This parameter is mandatory when SLVM volume groups are used.
This parameter must not be declared when only CVM disk groups
are used.
CCRAC_CVM_DGS - CVM disk groups configured for the device
specified in the above environment file for variable DEVICE_GROUP.
These are the disk groups used by the associated RAC instance
packages. It is important that all of the disk groups configured
for the specified DEVICE_GROUP are listed. If configured disk
groups are partially listed, the device will not be prepared
properly and the storage results in an inconsistent state.
This parameter is mandatory when CVM disk groups or CFS file
syatems are used. This parameter cannot be declared when SLVM
volume groups are used.
CCRAC_INSTANCE_PKGS - the names of the configured RAC instance
packages accessing in parallel the database stored in the
specified volume groups.
This parameter is mandatory.
CCRAC_CLUSTER - Serviceguard cluster name configured as the
primary cluster of the corresponding RAC instance package set.
This parameter is mandatory.
CCRAC_ENV_LOG - logfile specification for the storage preparation
output.
This parameter is optional. If not specified, ${CCRAC_ENV}.log
used.Sample setup:
CCRAC_ENV[0]=/etc/cmconcl/ccrac/db1/db1EnvFile_xpca.env
CCRAC_SLVM_VGS[0]=ccracvg1 ccracvg2
CCRAC_INSTANCE_PKGS[0]=ccracPkg1 ccracPkg2
CCRAC_CLUSTER[0]=PriCluster1
CCRAC_ENV_LOG[0]=/tmp/db1_prep.log
Support for Oracle RAC instances in a Continentalclusters environment 129