HP Serviceguard Linux Contributed Toolkit Suite A.04.02.01 User Guide (696979-001, June 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.
Installing and uninstalling Tomcat toolkit
The Tomcat toolkit is bundled within the Serviceguard on Linux Contributed toolkit suite. The Tomcat
toolkit must be installed on all the nodes of the cluster that are configured to run the Tomcat web
server package.
NOTE: Before installing this version of the toolkit, you must verify and remove any earlier version
of this toolkit that might be installed on the system.
To check for a earlier version of Tomcat toolkit, run # rpm qa | grep tomcat-tookit.
To remove the earlier version, run:
# rpm e <toolkit name retrieved after executing # rpm qa | grep
tomcat-tookit>
To ensure that the earlier version of the Tomcat toolkit is removed from all the configured nodes of
the cluster, run the # rpm qa command on all the nodes configured to run the Tomcat web server
package.
To install the Tomcat toolkit on Red Hat, run the command:
# rpm ivh
serviceguard-tomcat-toolkit-<release_version>.redhat.noarch.rpm
The Tomcat toolkit directory is installed in the following directory:
${SGCONF}/tomcattoolkit
NOTE: To verify the Tomcat toolkit installation, you can run the # rpm qa | grep
tomcat-tookit command, or you can verify whether all the toolkit scripts are present in the
toolkit installation directory ${SGCONF}/tomcattoolkit.
52 Tomcat Toolkit