Managing HP Serviceguard A.12.00.00 for Linux, June 2014

If the package needs to mount LVM volumes to file systems (see fs_type (page 198)), use the
vg parameters to specify the names of the volume groups to be activated, and select the
appropriate vgchange_cmd.
Use the fs_ parameters (page 198) to specify the characteristics of file systems and how and
where to mount them. See the comments in the FILESYSTEMS section of the configuration
file for more information and examples.
Enter each volume group on a separate line, for example:
vg vg01
vg vg02
If your package mounts large number of file systems, consider increasing the values of the
following parameters:
concurrent_fsck_operations—specifies the number of parallel fsck operations
that will be allowed at package startup.
Specify the filesystem mount and unmount retry options.
You can use the pev_ parameter to specify a variable to be passed to external scripts. Make
sure the variable name begins with the upper-case or lower-case letters pev and an underscore
( _). You can specify more than one variable. See About External Scripts” (page 135), and
the comments in the configuration file, for more information.
If you want the package to run an external pre-script” during startup and shutdown, use the
external_pre_script parameter (see (page 200)) to specify the full pathname of the script,
for example, $SGCONF/pkg1/pre_script1.
If the package will run an external script, use the external_script parameter (see
(page 200)) to specify the full pathname of the script, for example, $SGCONF/pkg1/script1.
See About External Scripts (page 135), and the comments in the configuration file, for more
information.
Configure the Access Control Policy for up to eight specific users or any_user.
The only user role you can configure in the package configuration file is package_admin
for the package in question. Cluster-wide roles are defined in the cluster configuration file.
See “Setting up Access-Control Policies” (page 171) for more information.
If you are using mirrored VxVM disks, use vxvol_cmd (page 196) to specify the mirror recovery
option to be used by vxvol.
You can specify a deactivation_retry_count for LVM and VxVM volume groups. See
(page 196).
6.4 Adding or Removing a Module from an Existing Package
To add a module to an existing package, use the cmmakepkg command to generate a new
configuration file. Then, include the parameters of the new module to the existing package
configuration file and re-apply the package configuration.
For example, to add an external_script module to an existing package, say pkg1:
1. Obtain a copy of the package configuration file:
cmgetconf -p pkg1 pkg1.conf
2. Generate a new configuration file adding the external_script module to the existing
package pkg1:
cmmakepkg -i pkg1.conf -m sg/external_script pkg1_v2.conf
6.4 Adding or Removing a Module from an Existing Package 205