Using the DB2 database Toolkit in a Serviceguard Cluster in HP-UX Release README: B.06.00
Repeat this step on all other clustered nodes to be configured to
run the
package to ensure DB2 can be brought up and down successfully.
NOTE: Following steps in this section describe the method for
creating
Serviceguard package using the legacy method. For
information on
creating Serviceguard package using modular method,
please refer
to white paper "Modular package support in Serviceguard for
Linux and
ECM Toolkits" located at
http://docs.hp.com/en/ha.html
4. Create the Serviceguard package using legacy method
mkdir /etc/cmcluster/pkg/db2_pkg/
Copy the toolkit files from db2
cd /etc/cmcluster/pkg/db2_pkg/
cp /opt/cmcluster/toolkit/db2/* ./
Create a configuration file (pkg.conf) and package control
script
(pkg.cntl) as follows:
cmmakepkg -p pkg.conf
cmmakepkg -s pkg.cntl
NOTE : There should be one set of configuration and control
script files
for each DB2 instance.
- The Serviceguard package control script (pkg.cntl).
Below are some examples of modifications to the Serviceguard
package
control script you need to make to customize to your environment.
VOLUME GROUPS
Define the volume groups that are used by the DB2 instance. File
systems
associated with these volume groups are defined as follows:
VG[0]=/dev/vg0_payroll
EXAMPLE:
VG[0]=/dev/vg0_payroll
Define the file systems which are used by the DB2 instance.