Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP A.11.00
to the other site. The site_preferred_manual failover policy provides automatic failover
of packages within a site and manual failover across sites.
To configure the Site Controller package for the complex workload:
1. From any node, create a Site Controller package configuration file using the dts/sc module.
# cmmakepkg -m dts/sc -m dts/mcxpca \
/etc/cmcluster/cw_sc/cw_sc.config
2. Edit the cw_sc.config file and specify the following:
IMPORTANT: Ensure there are no packages configured with the critical_package or
managed_package attributes in the Site Controller package configuration file.
a. Name for the package_name attribute.
package_name cw_sc
b. Names of the nodes explicitly using the node_name attribute.
c. The directory created in step 1 for the dts/dts/dts_pkg_dir attribute.
dts/dts/dts_pkg_dir /etc/cmcluster/cw_sc
d. Name for the log file.
script_log_file /etc/cmcluster/cw_sc/cw_sc.log
e. The sites without any packages.
Do not specify any packages using the critical_package or managed_package
attributes.
site site1
site site2
For Example:
site san_francisco
site san_jose
3. Edit the XP module parameters in the package configuration file, cw_sc.config to match
your environment.
4. Apply the empty Site Controller package configuration file.
# cmapplyconf -P /etc/cmcluster/cw_sc/cw_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 resource on every 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 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.
To configure the Site Safety Latch dependency for a complex workload:
1. If you have SLVM or Veritas CVM or SG SMS CVM or CFS configured in your environment,
add the EMS resource details in the root packages of workload packages in both the sites.
resource_name /dts/mcsc/cw_sc
resource_polling_interval 120
48 Configuring complex workloads using SADTA