HP Serviceguard Contributed Toolkit Suite Version A.04.02.02 on Linux User Guide (December, 2012)

7 Tomcat Toolkit
Overview
HP Serviceguard toolkit for Tomcat on Linux (Tomcat toolkit) enables you to configure Tomcat server
in an SG/LX cluster environment. The Tomcat toolkit consists of a set of shell scripts that are used
by the package control script to start, stop, and monitor the Tomcat database server. The toolkit
simplifies the task of integrating Tomcat with SG/LX.
Advantages
When Tomcat toolkit is deployed in an SG/LX environment, following are the advantages:
Provides monitoring for Tomcat daemons.
Enables easy integration of Tomcat server in an SG/LX environment.
Provides high availability for the Tomcat server.
Prerequisites
Tomcat toolkit package requires the following to function:
HP Serviceguard on Linux must be installed on all the nodes that must be configured in the
cluster.
The toolkit must be installed on all the target nodes, where the package is configured to run.
Tomcat server must be installed and configured on all the target nodes.
Files and directories created for Tomcat toolkit after installation
The following table describes the scripts installed and as part of the Tomcat installation.
Table 23 Files created after Tomcat toolkit is installed
Available in directoryDescriptionFile name
$SGROOT/tomcattoolkitThis is the toolkit configuration file. It
contains a list of pre-defined variables
hatomcat.conf
that needs to be set to run the Tomcat
toolkit package.
This is the toolkit main script that
contains internal functions that start or
stop an Tomcat instance.
hatomcat.sh
This monitors the health of the running
Tomcat server application.
hatomcat.mon
This is interface between the package
control script and the Tomcat toolkit
main shell script, hatomcat.sh.
toolkit.sh
Overview 53