IMPORTANT: Make sure you read the configuration file comments for both

concurrent_vgchange_operations and enable_threaded_vgchange before configuring these options, as well as the vgchange (1m) manpage.

vgchange_cmd

Specifies the method of activation for each HP-UX Logical Volume Manager (LVM) volume group identified by a vg entry (see (page 248)). Replaces VGCHANGE which is still supported in the package control script for legacy packages; see “Configuring a Legacy Package” (page 302).

The default is vgchange -a e.

The configuration file contains several other vgchange command variants; either uncomment one of these and comment out the default, or use the default. For more information, see the explanations in the configuration file, “LVM Planning ” (page 100), and “Creating the Storage Infrastructure and file systems with LVM, VxVM and CVM” (page 177).

IMPORTANT: Volume groups for multi-node and system multi-node packages must be activated

in shared mode: vgchange -a s, which is only available if the add-on product Serviceguard Extension for Real Application Cluster (SGeRAC) is installed. (See the latest version of Using Serviceguard Extension for RAC at http://www.hp.com/go/hpux-serviceguard-docs for more information.) Shared LVM volume groups must not contain a file system.

(For more information about LVM, see the Logical Volume Management volume of the HP-UX System Administrator’s Guide under HP-UX 11i v3 at http://www.hp.com/go/hpux-core-docs.)

NOTE: A given package can use LVM volume groups, VxVM volume groups, CVM volume groups, or any combination.

cvm_activation_cmd

Specifies the method of activation for Veritas Cluster Volume Manager (CVM) disk groups. The default is

vxdg -g \${DiskGroup} set activation=readonly

The configuration file contains several other vxdg command variants; either uncomment one of these and comment out the default, or use the default. For more information, see the explanations in the configuration file, and the sections “CVM and VxVM Planning ” (page 102) and “Creating the Storage Infrastructure with Veritas Cluster Volume Manager (CVM)” (page 219).

vxvol_cmd

Specifies the method of recovery for mirrored VxVM volumes. Replaces VXVOL, which is still supported in the package control script for legacy packages; see “Configuring a Legacy Package” (page 302).

If recovery is found to be necessary during package startup, by default the script will pause until the recovery is complete. To change this behavior, comment out the line

vxvol_cmd "vxvol -g \${DiskGroup} startall"

in the configuration file, and uncomment the line

vxvol_cmd "vxvol -g \${DiskGroup} -o bg startall"

This allows package startup to continue while mirror re-synchronization is in progress.

vg

Specifies an LVM volume group (one per vg, each on a new line) on which a file system needs to be mounted. A corresponding vgchange_cmd (page 248) specifies how the volume group is to be activated. The package script generates the necessary file system commands on the basis of the fs_ parameters (page 251).

248 Configuring Packages and Their Services

Page 248
Image 248
HP Serviceguard manual Vgchangecmd, Cvmactivationcmd, Vxvolcmd