User's Guide

NOTE:
Do not add any comments after specifying 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.
Site controller package can be created using the Package Easy Deployment feature
available in Serviceguard Manager version B.03.10. For more details, see Using Easy
Deployment in Serviceguard and Metrocluster Environments on HP-UX 11i v3 available
at http://www.hp.com/go/ hpux-serviceguard-docs —> HP Serviceguard.
5. 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.
Starting the Disaster Tolerant Complex Workload in the Metrocluster
At this point, you have completed configuring SADTA in your environment with the complex
workload. This section describes the procedure to start the disaster tolerant complex workload in
the Metrocluster.
Complete the following procedure to start the disaster tolerant complex workload:
1. Run the cmviewcl command to view the complex workload configuration in a Metrocluster.
2. Enable all nodes in the Metrocluster for the Site Controller Package.
cmmodpkg e n site1node_1 n site1node_2 -n site2node_1 n
site2node_2 cw_sc
3. Start the Site Controller Package.
cmmodpkg -e cw_sc
The Site Controller Package, and the complex-workload package starts up on local site.
4. Check the Site Controller Package log file to ensure clean startup.
Verifying the Disaster Tolerant Complex Workload in the Metrocluster
See “Validating Metrocluster Package (page 189), or “Validating Metrocluster Package (page 282),
or “Validating Metrocluster Package” (page 242) for the checks that are made on a site controller
package when the Metrocluster module is integrated with it.
Table 27 (page 359) lists additional checks made on the Site Controller packages.
Table 27 Additional Validation of Site Controller Packages
RemarkCommandValidations/Checks
Checks the state of the resource with
the resls command.
cmcheckconf [v]Check whether the Site Controller EMS
resource is accessible.
Checks if the path specified by the
dts/dts/dts_pkg_dir attribute exists. This
cmapplyconf
cmcheckconf [-P/-p]
Verify that the package directory
exists.
is usually set up automatically by the
Metrocluster module.
Checks if the node_name attribute is
not set to *
cmapplyconf
cmcheckconf [-P/-p]
Check the node_name attribute of the
site controller package.
Configuring Complex Workloads using Site Aware Disaster Tolerant Architecture 359