Managing HP Serviceguard for Linux, Tenth Edition, September 2012
• If your package uses a large number of volume groups or disk groups, or mounts a
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 (not used for Red Hat GFS).
◦ concurrent_mount_and_umount_operations—specifies the number of
parallel mount operations allowed during package startup and unmount
operations during package shutdown.
• Specify the filesystem mount and unmount retry options. For Red Hat GFS (see
fs_type (page 222)), use the default (zero).
• 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 147), 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 223)) 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 223)) to specify the full pathname of the script, for example $SGCONF/
pkg1/script1.
See “About External Scripts” (page 147), 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 188) for
more information.
Verifying and Applying the Package Configuration
Serviceguard checks the configuration you enter and reports any errors.
Use a command such as the following to verify the content of the package configuration
file you have created, for example:
cmcheckconf -v -P $SGCONF/pkg1/pkg1.conf
Errors are displayed on the standard output. If necessary, re-edit the file to correct any
errors, then run cmcheckconf again until it completes without errors.
230 Configuring Packages and Their Services