Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

a. Login 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 fit your environment.
The following parameters need to be edited:
CCRAC_ENV - fully qualified Metrocluster environment file name.
This file naming convention as required by the Metrocluster
software. It has to be appended with _<DataReplication>.env where
<DataReplication> is the name of the data replication scheme
being used. Refer to 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 should 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 only partial of
the configured disk groups are listed, the device will not be
prepared properly and the storage will result in an inconsistent
state.
This parameter is mandatory when CVM disk groups or CFS 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
will be used.Sample setup:
CCRAC_ENV[0]=/etc/cmconcl/ccrac/db1/db1EnvFile_xpca.env
118 Designing Continentalclusters