Building Disaster Recovery Serviceguard Solutions Using Continentalclusters A.08.00

1. If you have SG SMS CVM or CFS configured in your environment, add the EMS resource
dependency to all DG MNP packages in the complex workload stack in the primary cluster.
If you have SLVM configured in your environment, add the EMS resource details in the packages
that are the foremost predecessors in the dependency order among the workload packages
in the primary cluster. If you have Veritas CVM configured in your environment, add the EMS
resource details in the CVM disk group packages in the primary cluster.
resource_name /dts/mcsc/cw_sc
resource_polling_interval 120
resource_up_value != DOWN
resource_start automatic
Run the cmapplyconf command to apply the modified package configuration.
2. Verify the Site Safety Latch resource configuration in the primary cluster.
Run the following command to view the EMS resource details:
# cmviewcl -v p <pkg_name>
3. Configure the Site Controller Package with complex-workload packages in the primary cluster.
site <site1>
critical_package <site1>_cw
managed_package <site1>_cw_dg
managed_package <site1>_cw_mp
NOTE:
There must be no comments in the same line as the critical and 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.
4. Re-apply the Site Controller Package configuration.
# cmapplyconf -v -P /etc/cmcluster/cw_sc/cw_sc.config
After applying the Site Controller Package configuration, you can run the cmviewcl command
to view the packages that are configured.
Suspending the replication to the recovery cluster
In the earlier procedures, the complex workload and Site Controller package were created in the
primary cluster. Now, an identical complex workload using the target replicated disk must be
configured with the complex workload stack in the recovery cluster. Before creating an identical
complex workload at the recovery cluster, ensure that the Site Controller Package is halted in the
primary cluster. Split the data replication such that the target disk in the recovery cluster is in the
Read/Write mode.
The procedure to split the replication depends on the type of arrays that are configured in the
environment.
For information about splitting the replication on XP P9000, see Building Disaster Recovery
Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP A.11.00
available at http://www.hp.com/go/hpux-serviceguard-docs.
For information about splitting the replication on EVA P6000, see Building Disaster Recovery
Serviceguard Solutions Using Metrocluster with Continuous Access EVA A.05.01 available at
http://www.hp.com/go/hpux-serviceguard-docs.
50 Configuring complex workloads in a Continentalclusters environment using SADTA