Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access EVA A.05.01

1. From any node, create a Site Controller Package configuration file using the dts/sc module:
# cmmakepkg -m dts/sc -m dts/mccaeva
/etc/cmcluster/hrdb_sc/hrdb_sc.config
2. Edit the hrdb_sc.config file and specify a name for the package_name attribute:
package_name hrdb_sc
3. Edit the hrdb_sc.config file and specify the node_name parameter explicitly.
node_name SFO_1
node_name SFO_2
node_name SJC_1
node_name SJC_2
4. Edit the hrdb_sc.config file and specify the directory created in step 1 for the
dts/dts/dts_pkg_dir attribute.
dts/dts/dts_pkg_dir /etc/cmcluster/hrdb_sc
5. Specify a name for the log file. HP recommends that this file be located in the dts/dts/
dts_pkg_dir directory.
script_log_file /etc/cmcluster/hrdb_sc/hrdb_sc.log
6. Specify the sites without any packages. Do not specify any critical_package or
managed_package.
site san_francisco
site san_jose
7. Edit the Metrocluster EVA attributes in hrdb_sc.config file.
8. Apply the empty Site Controller Package configuration file. Ensure there are no packages
configured using the critical_package or managed_package attributes in the Site
Controller Package configuration file.
# cmapplyconf -P /etc/cmcluster/sc/hrdb_sc.config
When the Site Controller Package configuration is applied, the corresponding Site Safety Latch is
also configured automatically in the cluster. Use the resls command to view the Site Safety Latch
resources.
resls -q -s /dts/mcsc/hrdb_sc
The following output is displayed:
/dts/mcsc/hrdb_sc: Resource Instance
The current value of the resource is DOWN (0)
IMPORTANT: You must adhere to the following guidelines while configuring the Site Controller
Package:
The default value of the priority parameter is set to no_priority. The Site Controller
Package must not be subjected to any movement due to package prioritization. Do not change
this default value.
The default value of the failover_policy parameter for the Site Controller Package is set
to site_preferred.
This value implies that during a Site Controller Package failover, while selecting notes from
the list of the node_name entries, the Site Controller Package fails over to the nodes that belong
to the site of the node it last ran on, rather than the nodes that belong to the other site.
Configuring the Site Safety Latch Dependencies
After the Site Controller package configuration is applied, the corresponding Site Safety Latch is
automatically configured in the cluster. This section describes the procedure to configure the Site
Safety Latch dependencies.
Complete the following procedure to configure the Site Safety Latch dependencies:
Configuring oracle RAC database in a SADTA 115