HP-UX HB v13.00 Ch-15 - Serviceguard

HP-UX Handbook Rev 13.00 Page 64 (of 108)
Chapter 15 Serviceguard
October 29, 2013
operation_sequence $SGCONF/scripts/sg/service.sh
operation_sequence $SGCONF/scripts/sg/resource.sh
Legacy package control scripts generally operate using the same order of operation.
If toolkits are embedded in the package configuration, their entry points will also be listed.
Example listing of a SGeSAP modular package configuration file:
operation_sequence $SGCONF/scripts/sg/external_pre.sh
operation_sequence $SGCONF/scripts/sg/volume_group.sh
operation_sequence $SGCONF/scripts/sg/filesystem.sh
operation_sequence $SGCONF/scripts/sg/package_ip.sh
operation_sequence $SGCONF/scripts/sgesap/infra_pre.sh
operation_sequence $SGCONF/scripts/sgesap/sapextinstance_pre.sh
operation_sequence $SGCONF/scripts/sgesap/livecache.sh
operation_sequence $SGCONF/scripts/sgesap/dbinstance.sh
operation_sequence $SGCONF/scripts/sgesap/sapinstance.sh
operation_sequence $SGCONF/scripts/sgesap/sapextinstance_post.sh
operation_sequence $SGCONF/scripts/sgesap/infra_post.sh
operation_sequence $SGCONF/scripts/sg/external.sh
operation_sequence $SGCONF/scripts/sg/service.sh
operation_sequence $SGCONF/scripts/sg/resource.sh
operation_sequence $SGCONF/scripts/sgesap/mdm.sh
Note the sgesap modules are interspersed among standard Serviceguard modules by the sgesap toolkit
module during package configuration creation.
Standard Serviceguard package startup in general consists of several steps, summarized in the
next section (using legacy package control script function identifiers)
activate_volume_group All volume groups of the package are activated with exclusive
option (as specified in the package control script). The message Activation mode
requested for the volume group conflicts with configured mode appears if the volume
group is not flagged as cluster aware (vgchange c y <VG>). The command
cmapplyconf sets this flag autmatically for all cluster aware VGs listed in the cluster
ASCII file and it clears it from all VGs that are missing (if no k option is used).
check_and_mount The file systems are checked by fsck and are then mounted, using the
mount options specified in the package control script. Missing (No such file or directory)
or busy (already mounted, is busy, or allowable number of mount points exceeded) mount
points make package start fail in this stage. Use fuser <directory> to find responsible
processes.
add_ip_address The Serviceguard command cmmodnet is used to configure all
relocatable IP addresses associated with this package. The command can be also used
from command line, e.g. cmmodnet a I 192.10.10.120 192.10.10.0. Extreme
caution should be exercised when executing this command outside the context of the