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

Installing and uninstalling the Apache toolkit
The Apache toolkit is bundled within the SG/LX Contributed toolkit suite. The Apache toolkit must
be installed on all the nodes of the cluster that are configured to run the Apache 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 search for any earlier version of Apache toolkit, run:
# rpm qa | grep apache-toolkit
To remove the earlier version, run:
# rpm e <toolkit name retrieved after executing the # rpm qa | grep
apache-toolkit>
To ensure that the earlier version of the Apache toolkit is removed from all the configured nodes
of the cluster, run the # rpm qa command on all the nodes configured to run the Apache web
server package.
To install the Apache toolkit on Red Hat, run the command:
# rpm ivh
serviceguard-apache-toolkit-<release_version>.redhat.noarch.rpm
The Apache toolkit directory is installed under following directory:
${SGCONF}/apachetoolkit
NOTE: To verify the Apache toolkit installation, you can either run the # rpm qa | grep
apache-toolkit command, or you can check whether all the toolkit scripts are present in the
toolkit installation directory ${SGCONF}/apachetoolkit.
Files and directories created for Apache toolkit after installation
The following table describes the scripts installed as part of the Apache toolkit installation.
Table 1 Files created after Apache toolkit is installed
Available in directoryDescriptionFile name
Red Hat: ${SGCONF}/
apachetoolkit
This is the toolkit configuration file. It
contains a list of pre-defined variables
that must be set for your unique
environment.
hahttp.conf
This is the toolkit main script that
contains internal functions that start or
stop an Apache instance.
hahttp.sh
This is the toolkit monitor script that
contains internal functions for
monitoring an Apache server instance.
hahttp.mon
This is the toolkit interface script that
acts as an interface between the
toolkit.sh
package toolkit.sh control script
and the toolkit main script,
hahttp.sh.
8 Apache Toolkit