Managing Serviceguard 13th Edition, February 2007
Configuring Packages and Their Services
Creating the Package Control Script
Chapter 6276
Master Toolkit product (B5139DA). These files are found in
/opt/cmcluster/toolkit/DB/. Separate toolkits are available for
Oracle, Informix, and Sybase. In addition to the standard package
control script, you use the special script that is provided for the database.
To set up these scripts, follow the instructions that appear in the
README file provided with each toolkit.
Customizing the Package Control Script
Check the definitions and declarations at the beginning of the control
script using the information in the Package Configuration worksheet.
You need to customize as follows:
• Update the PATH statement to reflect any required paths needed to
start your services.
• If you are using LVM, enter the names of volume groups to be
activated using the VG[] array parameters, and select the
appropriate options for the storage activation command, including
options for mounting and unmounting filesystems, if desired. Do not
use the VXVM_DG[] or CVM_DG[] parameters for LVM volume groups.
• If you are using CVM, enter the names of disk groups to be activated
using the CVM_DG[] array parameters, and select the appropriate
storage activation command, CVM_ACTIVATION_CMD. Do not use the
VG[] or VXVM_DG[] parameters for CVM disk groups.
• If you are using VxVM disk groups without CVM, enter the names of
VxVM disk groups that will be imported using the VXVM_DG[] array
parameters. Enter one disk group per array element. Do not use the
CVM_DG[] or VG[] parameters for VxVM disk groups without CVM.
Also, do not specify an activation command.
CFS-based disk groups should not be included in the package control
script; on systems that support CFS and CVM, they are activated by
the CFS multi-node packages before standard packages are started.
• If you are using mirrored VxVM disks, specify the mirror recovery
option VXVOL.
• Add the names of logical volumes and the file system that will be
mounted on them.
• Select the appropriate options for the storage activation command
(not applicable for basic VxVM disk groups), and also include options
for mounting filesystems, if desired.