HP Serviceguard Enterprise Cluster Master Toolkit User Guide, June 2014
7 Using Tomcat Toolkit in a HP Serviceguard Cluster
This chapter describes the toolkit that integrates and runs HP Tomcat in the HP Serviceguard
environment. It is intended for users who want to install, configure, and execute the Tomcat servlet
engine application in a Serviceguard clustered environment. To use this document, you must be
familiar with Serviceguard and the Tomcat Servlet engine, including installation, configuration,
and execution.
This toolkit supports:
HP Serviceguard versions:
• A.11.19
• A.11.20
Tomcat version that is available with HP Web Server Suite (WSS)
• 2.X and 3.X
HP-UX 11i v2 and HP-UX 11i v3
This version supports A.11.19 and A.11.20 versions SG, application, and HPUX versions. More
recent versions of these products are certified with B.06.00. For the latest information, see the
compatibility matrix available at: http://www.hp.com/go/hpux-serviceguard-docs —>HP
Serviceguard .
NOTE: This version of the toolkit supports both legacy and modular style packages.
The Tomcat toolkit supports all filesystems, storage, and volume managers that Serviceguard
supports other than CFS.
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 for legacy packages or the Serviceguard master control script for
modular packages. Each Tomcat instance is configured in its own Serviceguard package.You must
be familiar with swinstall to properly install both Serviceguard and the ECMT which includes the
scripts for Tomcat.
During installation, you can use the files, listed in Table 26 (page 110). They are located in: /opt/
cmcluster/toolkit/tomcat
Table 26 Files in Tomcat Toolkit
DescriptionFile Name
User defined variables for customizing this toolkit for your environment.hatomcat.conf
The script that monitors the health of the Server application.hatomcat.mon
The interface between the package control script and the Tomcat Toolkit main
shell script.
toolkit.sh
This script generates Alert mails in case of package failure.SGAlert.sh
The three files listed in Table 27 (page 111) and Table 28 (page 111) are also installed and are
used only for the modular method of packaging.
The following Attribute Definition File (ADF) is installed in /etc/cmcluster/modules/ecmt/
tomcat.
110 Using Tomcat Toolkit in a HP Serviceguard Cluster