HP Enterprise Cluster Master Toolkit User Guide (5900-2131, December 2011)

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. It is assumed that users of this document
are 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
At time of publication, this version supports the above mentioned SG, application and HPUX
versions. More recent versions of these products may be 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.
NOTE: Unless otherwise stated, this 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 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 chapter 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.
During installation, you can use these files, listed in Table 27 (page 110). They are located in:
/opt/cmcluster/toolkit/tomcat
Table 27 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 following three files in Table 28 (page 111) and Table 29 (page 111) 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.
110 Using Tomcat Toolkit in a HP Serviceguard Cluster