Using MySQL Toolkit in a HP Serviceguard Cluster Revision README: B.06.00

Control Script to start, stop, and monitor the MySQL Database Server.
The toolkit works with the Serviceguard package control script,
managed by Serviceguard in case of legacy packages and Serviceguard
master control script in case of modular packages. Each MySQL Database
server instance is configured in its own Serviceguard package. This
README file assumes that users have used swinstall to properly install
both Serviceguard and the Enterprise Cluster Master Toolkit (referred
to as the ECMT), which includes the scripts for MySQL.
For legacy packages, there will be one user configuration script
(hamysql.conf) and three functional scripts (toolkit.sh, hamysql.sh,
hamysql.mon) which work with each other to integrate MySQL with the
Serviceguard package control scripts.
For modular packages, there is an Attribute Definition File(ADF),
a Toolkit Module Script (tkit_module.sh) and a Toolkit Configuration
File Generator Script (tkit_gen.sh) which work with the four scripts
mentioned above for legacy packages to integrate MySQL with the
Serviceguard Master Control Script.
When ECMT is installed the following files are located in
/opt/cmcluster/toolkit/mysql
File Name Description
----------------------------------------------------------------------
README -- This file
hamysql.conf -- User defined variables for configuring MySQL in a
specific environment
hamysql.sh -- The main shell script
hamysql.mon -- Script to monitor MySQL to ensure it is running
toolkit.sh -- Interface between the Serviceguard package control
script and hamysql.sh in case of legacy packages and
interface between the Serviceguard master control
script and hamysql.sh in case of modular packages.
----------------------------------------------------------------------
Following three files are also installed and they are used only for the
modular method of packaging.
The following Attribute Definition File (ADF) is installed in
/etc/cmcluster/modules/ecmt/mysql.
File Name Description
------------ ---------------------------------------------------------
mysql For every parameter in the legacy toolkit user
configuration file, there is an attribute in the ADF. It
also has an additional attribute TKIT_DIR which is
analogous to the package directory in the legacy method
of packaging. The ADF is used to generate a modular
package ASCII template file.