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

NOTE: If the EMS disk monitor is used as a package resource, then the NO_TIMEOUT value
must not be used. If used, the package shutdown hangs if there is no access from the host to
the package disks.
5. Copy the environment file template /opt/cmcluster/toolkit/SGCA/caeva.env to the
dts/dts/dts_pkg_dir directory specified earlier.
# cp /opt/cmcluster/toolkit/SGCAEVA/caeva.env \
/etc/cmcluster/pkgname
6. Edit the environment file, caeva.env, as follows:
a. Uncomment the PKGDIR variable and set it to the full path name of the directory where
this environment file has been placed. This directory must be unique for each package.
For example:
PKG_DIR=/etc/cmcluster/pkgname
b. Uncomment the CLUSTER_TYPE variable and set it to metro.
c. Set the DT_APPLICATION_STARTUP_POLICY variable to one of following policies:
Availability_Preferred, or Data_Currency_Preferred.
d. Set the WAIT_TIME variable to the timeout, in minutes, to wait for completion of the data
merge from source to destination volume before starting up the package on the destination
volume. If the wait time expires and merging is still in progress, the package will fail to
start with an error that prevents restarting on any node in the cluster.
e. Set the DR_GROUP_NAME variable to the name of DR Group used by this package. This
DR Group name is defined when the DR Group is created.
f. Set the DC1_STORAGE_WORLD_WIDE_NAME variable to the world wide name of the
EVA storage system which resides in Data Center 1. This WWN can be found on the
front panel of the EVA controller, or from command view EVA UI.
g. Set the DC1_SMIS_LIST variable to the list of Management Servers which resides in Data
Center 1. Multiple names are defined using a comma as a separator between the names.
If a connection to the first management server fails, attempts are made to connect to the
subsequent management servers in the order that they are specified.
h. Set the DC1_HOST_LIST variable to the list of clustered nodes which resides in Data
Center 1. Multiple names are defined using a comma as a separator between the names.
i. Set the DC2_STORAGE_WORLD_WIDE_NAME variable to the world wide name of the
EVA storage system which resides in Data Center 2. This WWN can be found on the
front panel of the EVA controller, or from command view EVA UI.
j. Set the DC2_SMIS_LIST variable to the list of Management Server, which resides in Data
Center 2. Multiple names are defined using a comma as a separator between the names.
If a connection to the first management server fails, attempts are made to connect to the
subsequent management servers in the order that they are specified.
k. Set the DC2_HOST_LIST variable to the list of clustered nodes which resides in Data
Center 2. Multiple names are defined using a comma as a separator between the names.
l. Set the QUERY_TIME_OUT variable to the number of seconds to wait for a response from
the SMI-S CIMOM in Management Server. The default time-out is 300 seconds. The
recommended minimum value is 20 seconds.
7. Distribute this Metrocluster environment file to other nodes in the cluster under the same directory
by using FTP, RCP or SCP.
rcp -p /etc/cmcluster/pkgname/* \
other_node:/etc/cmcluster/pkgname
See the example script Samples/ftpit to determine how to semi-automate the copy operating
using FTP. This script assumes that the package directories already exist on all nodes. Using
236 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access EVA