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

Use the resls command to view the Site Safety Latch resource on each node.
# resls -q -s /dts/mcsc/cw_sc
The following output is displayed:
/dts/mcsc/cw_sc: Resource Instance The current value of the resource
is DOWN (0)
Configuring the Site Safety Latch dependencies for a complex workload
After you apply the Site Controller package configuration, the corresponding Site Safety Latch is
automatically configured in the cluster. This section describes the procedure to configure the Site
Safety Latch dependencies.
To configure the Site Safety Latch dependency for a complex workload:
1. If SLVM or Veritas CVM or SG SMS CVM or CFS is configured in your environment, add the
EMS resource details in the root packages among the workload packages in both the sites.
resource_name /dts/mcsc/cw_sc
resource_polling_interval 120
resource_up_value != DOWN
resource_start automatic
When using SLVM, or VERITAS CVM, or SG SMS CVM/CFS configured as a modular package,
run cmapplyconf to apply the modified package configuration.
2. Verify the Site Safety Latch resource configuration at both sites.
If SLVM or Veritas CVM or SG SMS CVM or CFS is configured in your environment, run the
following command to view the EMS resource details:
# cmviewcl -v p <pkg_name>
Modifying Site Controller to manage complex workload
1. Configure the Site Controller Package with complex-workload packages of both sites.
The following example depicts configuring the Site Controller Package with complex workload
packages using CFS:
site san_francisco
critical_package sfo_cw
managed_package sfo_cw_dg
managed_package sfo_cw_mp
site san_jose
critical_package sjc_cw
managed_package sjc_cw_dg
managed_package sjc_cw_mp
NOTE:
Do not add any comments on the same line after specifying critical or managed packages.
Always set auto_run parameter to yes for failover packages configured as critical or
managed packages.
The packages configured with mutual dependency must not be configured as critical or
managed packages.
2. Apply the Site Controller package configuration.
# cmapplyconf -v -P /etc/cmcluster/cw_sc/cw_sc.config
After applying the Site Controller package configuration, run the cmviewcl command to
view the controller packages that are configured.
Configuring the Site Controller package for the complex workload 47