Using Tomcat Toolkit in a HP Serviceguard Cluster README Revision: B.06.00
This toolkit consists of a set of shell scripts for configuring,
starting, monitoring, and stopping the Tomcat Servlet engine
application. The toolkit works with the Serviceguard package control
script, managed by Serviceguard in case of legacy packages or the
Serviceguard master control script in case of modular packages. Each
Tomcat 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 Tomcat.
When installed the following files are located in
/opt/cmcluster/toolkit/tomcat
File Name Description
------------ --------------------------------------------------------
README This file.
hatomcat.conf User defined variables for customizing this toolkit for
your environment.
hatomcat.sh The main shell script.
hatomcat.mon Script that monitors the health of the Server
application.
toolkit.sh Interface between the package control script and the
Tomcat Toolkit main shell script.
SGAlert.sh This script generates Alert mails in case of package
failure
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/tomcat.
File Name Description
------------ ---------------------------------------------------------
tomcat 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.
The following files are located in /etc/cmcluster/scripts/ecmt/tomcat
after installation.
File Name Description
----------- ------------------------------------------------------
----
tkit_module.sh This script is called by the Master Control Script
and