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

control script.
The scripts used in legacy packages are:
User Configuration file (hatomcat.conf)
This script contains a list of pre-defined variables that may be
customized for the user's environment. This script provides the user
a simple format of the user configuration data. This file will be
included (that is, sourced) by the toolkit main script hatomcat.sh.
Main Script (hatomcat.sh)
This script contains a list of internal-use variables and functions
that support the start and stop of a Tomcat instance. This script
will be called by the Toolkit Interface Script to do the following:
- On package start, it starts the Tomcat server instance
- On package stop, it stops the Tomcat server instance
Monitor Script (hatomcat.mon)
This script contains a list of internal variables and functions that
supports monitoring of a Tomcat instance. Monitoring functionality
will be initiated by calling the toolkit interface script with the
"monitor" parameter.
Interface Script (toolkit.sh)
This script is an interface between the Serviceguard package control
script and the toolkit main script (hatomcat.sh).
D.2 Toolkit User Configuration
All the user configuration variables are kept in a single file
hatomcat.conf in shell script format. The variable names and their
sample values are as follows:
CATALINA_HOME ( For example: CATALINA_HOME="/opt/hpws22/tomcat")
This is the base directory where HP Tomcat web server is installed.
By default HP Tomcat is installed in the directory
/opt/hpws22/tomcat
and hence this is also the default value.
CATALINA_BASE (For example: CATALINA_BASE="/opt/hpws22/tomcat")
This variable holds the specific configuration file path of a Tomcat
server instance. Each Tomcat instance must have its own configuration