prioritized list of cluster nodes on which the package can run together with definitions of the acceptable types of failover allowed for the package.

You can create a legacy package and its control script in Serviceguard Manager; use the Help for detailed instructions. Otherwise, use the following procedure to create a legacy package.

1.Create a subdirectory for each package you are configuring in the /etc/cmcluster directory:

mkdir /etc/cmcluster/pkg1

You can use any directory names you like.

2.Generate a package configuration file for each package, for example: cmmakepkg -p /etc/cmcluster/pkg1/pkg1.conf

You can use any file name you like for the configuration file.

3.Edit each configuration file to specify package name, prioritized list of nodes (with 39 bytes or less in the name), the location of the control script, and failover parameters for each package. Include the data you recorded on the Package Configuration Worksheet.

Configuring a Package in Stages

It is a good idea to configure failover packages in stages, as follows:

1.Configure volume groups and mount points only.

2.Distribute the control script to all nodes.

3.Apply the configuration.

4.Run the package and ensure that it can be moved from node to node.

5.Halt the package.

6.Configure package IP addresses and application services in the control script.

7.Distribute the control script to all nodes.

8.Run the package and ensure that applications run as expected and that the package fails over correctly when services are disrupted.

Editing the Package Configuration File

Edit the file you generated with cmmakepkg. Use the bullet points that follow as a checklist.

NOTE: HP strongly recommends that you never edit the package configuration file of a legacy CVM/CFS multi-node or system multi-node package, although Serviceguard does not prohibit it. Create and modify the legacy CFS packages SG-CFS-DG-id#and SG-CFS-MP-id#using cfs commands.

For the CVM/CFS modular style packages, you cannot use the cfs commands. Instead, you must edit the modular CFS package parameters in the package configuration files.

PACKAGE_TYPE. Enter the package type; see “Types of Package: Failover, Multi-Node, System Multi-Node” (page 228) and package_type (page 234).

Configuring a Legacy Package 303

Page 303
Image 303
HP Serviceguard manual Configuring a Package in Stages, Editing the Package Configuration File, Mkdir /etc/cmcluster/pkg1