See the example script Samples/ftpit to see how to semi-automate the copy using ftp. This script assumes the package directories already exist on all nodes.

Using ftp may be preferable at your organization, since it does not require the use of a.rhosts file for root. Root access via .rhosts may create a security issue.

10.Verify that each node in the Serviceguard cluster has the following files in the directory

/etc/cmcluster/pkgname:

pkgname.cntl

Serviceguard package control script

pkgname_srdf.env

Metrocluster EMC SRDF environment file

pkgname.ascii

Serviceguard package ASCII configuration file

pkgname.sh

Package monitor shell script, if applicable

other files

Any other scripts you use to manage Serviceguard packages

The Serviceguard cluster is ready to automatically switch packages to nodes in remote data centers using Metrocluster/SRDF

11.Check the configuration using the cmcheckconf -Ppackage_name.ascii, then apply the Serviceguard configuration using the cmapplyconf -Ppackage_name.ascii command or SAM.

12.Restore the SRDF logical links for the disks associated with the application package. See the script Samples/post.cmapply for an example of how to automate this task. The script must be customized with the Symmetrix device group names. Redirect the output of this script to a file for debugging purposes.

Configuring Modular Packages

With HP Serviceguard A.11.18 and above, Modular packages can be created using building blocks that consist of only those functions that are required for the package. This new modular method of creating packages provides the following benefits:

All package parameters are now configured in one place - the package configuration file.

Separate package control files need not be created and distributed in the cluster.

Modular Metrocluster packages can be created using Metrocluster with EMC SRDF A.08.00 and above. Legacy Metrocluster packages can also be migrated to Modular packages.

This section discusses the following topics:

“Configuring Modular Packages with Metrocluster EMC SRDF A.08.00” (page 275)

“Migrating a Metrocluster Legacy Package to a Metrocluster SRDF A.08.00 Modular Package” (page 278)

“Configuring Modular Packages using Metrocluster EMC SRDF A.09.00 or Later” (page 279)

“Migrating Legacy Packages to Modular Packages using Metrocluster EMC SRDF A.09.00 or Later” (page 280)

“Upgrading Metrocluster SRDF Modular Packages to the Latest Version” (page 281)

“Checking the Metrocluster Package Configuration” (page 282)

Configuring Modular Packages with Metrocluster EMC SRDF A.08.00

Following are the steps to configure a Modular package with Metrocluster with SRDF.

1.Run the following command to create a Metrocluster SRDF modular package configuration file:

# cmmakepkg –m dts/mcsrdf temp.config

In this command, dts/mcsrdf is the Metrocluster SRDF module that needs to be included to create a Metrocluster SRDF package configuration file.

Building a Metrocluster Solution with EMC SRDF 275