HP Serviceguard Linux Contributed Toolkit Suite A.04.02.01 User Guide (696979-001, June 2012)

Files and directories created for Tomcat toolkit after installation
The following table describes the scripts installed and as part of the Tomcat installation.
Table 11 Files created after Tomcat toolkit is installed
Available in directoryDescriptionFile name
Red Hat: ${SGCONF}/
tomcattoolkit
This is the toolkit configuration file. It
contains a list of pre-defined variables
that needs to be set to run the Tomcat
toolkit package.
hatomcat.conf
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
Table 12 Files for creating modular packages
Available in directoryDescriptionFile name
Red Hat: ${SGCONF}/modules/
tkit/tomcat
This is an attribute definition file, used
to generate a package ASCII template
in modular style of packaging.
tomcat.1
Red Hat: ${SGCONF}/scripts/
tkit/tomcat
This is the module script. This script is
called by the master control script and
acts as an interface between the
tkit_module.sh
tkit_module.sh master control
script and the toolkit interface script
(toolkit.sh). It is also responsible
for calling the toolkit configuration file
generator script.
NOTE: This file is used only for
creating modular packages.
Red Hat: ${SGCONF}/scripts/
tkit/tomcat
This is the toolkit configuration file
generator script. This script is called
by the module script when the
tkit_gen.sh
package configuration is applied
using cmapplyconf to generate the
user configuration file in the package
directory, TKIT_DIR.
NOTE: This file is used only for
creating modular packages.
Setting up the Tomcat server in SG/LX environment
Before creating and configuring Serviceguard packages, you must complete the following steps:
1. Disable the automatic start of the standard Tomcat default installation if Tomcat is run from
Serviceguard so that nothing is running on the server at the system startup time. When the
Tomcat server is installed, the default instance may be automatically configured to be started
during system startup via the runlevel (rc) script in the /etc/rc.d directory.
2. Modify the port attribute present in the connector component. It must be unique for each Tomcat
instance. Connector component is defined as an element in the Tomcat server configuration
server.xml file.
Setting up the Tomcat server in SG/LX environment 53