resources, or subnets, will cause the package to be halted only on the node on which the failure occurred.

The Veritas Cluster File System (CFS) system multi-node packages are examples of multi-node packages; but support for multi-node packages is no longer restricted to CVM/CFS; you can create a multi-node package for any purpose.

IMPORTANT: If the package uses volume groups, they must be activated in shared mode: vgchange -a s.

NOTE: On systems that support CFS, you configure the legacy CFS multi-node packages by means of the cfsdgadm and cfsmntadm commands, not by editing a package configuration file. For modular CFS packages, you cannot edit using the cfs commands, but must edit the parameters in the package configuration files; see “Creating a Storage Infrastructure with Veritas Cluster File System (CFS)” (page 199).

Note that relocatable IP addresses cannot be assigned to multi-node packages. See also “Differences between Failover and Multi-Node Packages” (page 230).

To generate a package configuration file that creates a multi-node package, include-m sg/multi_node on the cmmakepkg command line. See “Generating the Package Configuration File” (page 254).

System multi-node packages. These packages run simultaneously on every node in the cluster. They cannot be started and halted on individual nodes.

Both node_fail_fast_enabled (page 235) and auto_run (page 235) must be set to yes for this type of package. All services must have service_fail_fast_enabled (page 244) set to yes.

System multi-node packages are supported only for applications supplied by HP, for example Veritas Cluster File System (CFS).

NOTE: On systems that support CFS, you configure the legacy CFS system multi-node package by means of the cfscluster command, not by editing a package configuration file. For modular CFS packages, you cannot edit using the cfs commands, but must edit the parameters in the package configuration files; see “Creating a Storage Infrastructure with Veritas Cluster File System (CFS)” (page 199).

NOTE: The following parameters cannot be configured for multi-node or system multi-node packages:

failover_policy

failback_policy

ip_subnet

ip_address

Volume groups configured for packages of these types must be activated in shared mode.

For more information about types of packages and how they work, see “How the Package Manager Works” (page 50). For information on planning a package, see “Package Configuration Planning ” (page 125).

When you have decided on the type of package you want to create, the next step is to decide what additional package-configuration modules you need to include; see “Package Modules and Parameters” (page 230).

Choosing Package Modules 229

Page 229
Image 229
HP Serviceguard manual Failoverpolicy Failbackpolicy Ipsubnet Ipaddress